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

Incompatible redefinition of macro

Hello,

I set up a project on the base of "BLE_APP_UART" to which I added header files and configured the sdk_config.h

Now I get these warnings during compilaiton:

.\RTE\nRF_Drivers\nRF52832_xxAA\nrf_drv_config.h(30): warning: #47-D: incompatible redefinition of macro "CLOCK_ENABLED" (declared at line 347 of "..\config\sdk_config.h")

I'm totally confused now, about the usage of the sdk_config.h with the configuration wizard and additional header files. Because "CLOCK_ENABLED" is also set as checked in the configuration wizard and defined in the nrf_drv_config.h

Is there a guideline to follow, when adding stuff to a project?

Thanks

Parents Reply Children
No Data
Related