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

sdk 8.1.0 compilation fails due to redefinition

Hey Nordic--

I updated my Keil project from SDK v8.0.0 to v8.1.0 and immediately get some compilation errors due to redefinition of symbols.

In nrf_sd_def.h, I think you meant for:

#define NRF_PPI_RESTRICTED              0                        /**< 1 if PPI peripheral is restricted, 0 otherwise. */

to be:

#define SD_PPI_RESTRICTED              0                        /**< 1 if PPI peripheral is restricted, 0 otherwise. */

and similarly for the rest of the #defines in that file.

Then I run into another error about SD_PPI_CHANNELS_USED not being defined anywhere, and it's not, since in my project SOFTDEVICE_PRESENT is switched on and nrf_sd_def.h doesn't contain that symbol.

So what gives? Where should I put the missing SD_PPI_CHANNELS_USED definition? Why wasn't it included in the SDK release?

Related