Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project i2c_master #29

Open
SoniaZotz opened this issue Sep 2, 2022 · 0 comments
Open

Project i2c_master #29

SoniaZotz opened this issue Sep 2, 2022 · 0 comments

Comments

@SoniaZotz
Copy link

with nrf51822

Build started: Project: i2s_master
*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'Target 1'
assembling arm_startup_nrf51.s...
compiling main.c...
..\main.c(10): error: #20: identifier "NRF_TWIM0" is undefined
NRF_TWIM0->SHORTS = TWIM_SHORTS_LASTTX_STOP_Msk;
..\main.c(10): error: #20: identifier "TWIM_SHORTS_LASTTX_STOP_Msk" is undefined
NRF_TWIM0->SHORTS = TWIM_SHORTS_LASTTX_STOP_Msk;
..\main.c(26): error: #20: identifier "NRF_TWIM0" is undefined
NRF_TWIM0->SHORTS = TWIM_SHORTS_LASTTX_STARTRX_Msk | TWIM_SHORTS_LASTRX_STOP_Msk;
..\main.c(26): error: #20: identifier "TWIM_SHORTS_LASTTX_STARTRX_Msk" is undefined
NRF_TWIM0->SHORTS = TWIM_SHORTS_LASTTX_STARTRX_Msk | TWIM_SHORTS_LASTRX_STOP_Msk;
..\main.c(26): error: #20: identifier "TWIM_SHORTS_LASTRX_STOP_Msk" is undefined
NRF_TWIM0->SHORTS = TWIM_SHORTS_LASTTX_STARTRX_Msk | TWIM_SHORTS_LASTRX_STOP_Msk;
..\main.c(46): error: #20: identifier "NRF_TWIM0" is undefined
NRF_TWIM0->PSEL.SCL = PIN_SCL;
..\main.c(50): error: #20: identifier "TWIM_FREQUENCY_FREQUENCY_K400" is undefined
NRF_TWIM0->FREQUENCY = TWIM_FREQUENCY_FREQUENCY_K400 << TWIM_FREQUENCY_FREQUENCY_Pos;
..\main.c(50): error: #20: identifier "TWIM_FREQUENCY_FREQUENCY_Pos" is undefined
NRF_TWIM0->FREQUENCY = TWIM_FREQUENCY_FREQUENCY_K400 << TWIM_FREQUENCY_FREQUENCY_Pos;
..\main.c(53): error: #20: identifier "TWIM_ENABLE_ENABLE_Enabled" is undefined
NRF_TWIM0->ENABLE = TWIM_ENABLE_ENABLE_Enabled << TWIM_ENABLE_ENABLE_Pos;
..\main.c(53): error: #20: identifier "TWIM_ENABLE_ENABLE_Pos" is undefined
NRF_TWIM0->ENABLE = TWIM_ENABLE_ENABLE_Enabled << TWIM_ENABLE_ENABLE_Pos;
..\main.c: 0 warnings, 10 errors
compiling system_nrf51.c...
".\Objects\example.axf" - 10 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:00

with nrf52832
Build started: Project: i2s_master
*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'Target 1'
assembling arm_startup_nrf52.s...
compiling main.c...
compiling system_nrf52.c...
C:\Users\walter\AppData\Local\Arm\Packs\NordicSemiconductor\nRF_DeviceFamilyPack\8.44.1\Device\Include\system_nrf52_approtect.h(41): error: #65: expected a ";"
static inline void nrf52_handle_approtect(void)
RTE/Device/nRF52832_xxAB/system_nrf52.c: 0 warnings, 1 error
".\Objects\example.axf" - 1 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:01

@SoniaZotz SoniaZotz changed the title Project i2s_master Project i2c_master Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant