This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Problem with nrf_error.h with and without SD

Hello,

I am trying to add SoftDevice to our project which was non-SD for a year now, but I'm stuck with a problem.

I know that there are separate files for nrf_error.h when the program is with or without SD.

I am using IAR and I removed the old included directories: from drivers_nrf/nrf_soc_nosd, and I included the new files from s140/headers.

I am receiving this error:  Error[Pe020]: identifier "NRF_SUCCESS" is undefined in the file nrf_nvic.c .  When I go to the definition of the NRF_SUCCESS it takes me to the file from the softdevice headers, but when I select the nrf_error.h and open the file, it opens the file from the nrf_soc_nosd directory. What can be the problem and how should I solve it?

Thanks in advance.

Parents Reply Children
No Data
Related