This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

"twi + softdevice" not working !!! makefile build fails

hello,

my makefile use to work before i add the twi nrf_drv_twi.c file and included the directory INC_PATHS += -I$(abspath ../../../../../../components/drivers_nrf/nrf_soc_nosd)

i get the error below when building at app_util_platform.c:

 app_util_platform.c: In function 'app_util_critical_region_enter':
/Users/brookgebremedhin/nordicSDK11/components/libraries/util/app_util_platform.c:36:3: error: implicit declaration of function 'sd_nvic_critical_region_enter' [-Werror=implicit-function-declaration]
   (void)sd_nvic_critical_region_enter(p_nested);
   ^
/Users/brookgebremedhin/nordicSDK11/components/libraries/util/app_util_platform.c: In function 'app_util_critical_region_exit':
/Users/brookgebremedhin/nordicSDK11/components/libraries/util/app_util_platform.c:49:3: error: implicit declaration of function 'sd_nvic_critical_region_exit' [-Werror=implicit-function-declaration]

if i tell the makefile that i am not using the soft device then it can build. cam anyone show me a working makefile that uses twi and soft device together ?

my makefile is attached below

thanks

Makefile

Parents Reply Children
No Data
Related