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

SDK_config.h inconsistencies

I just replaced SDK 14.0 with the shiny new SDK 14.1 in my project. My project uses components from the SDK, but I don't use the exact same structure. Once again, it won't compile out of the box. sigh

Okay, here's the question. I assumed ~\nRF5_SDK_14.1.0_1dda907\config\sdk_config.h to be a typical "master" from which the sdk_config.h files used in the examples are derived. No such luck. I expected this master not to be that different from, for example, from ~\nRF5_SDK_14.1.0_1dda907\examples\peripheral\blinky\pca10040\blank\config\sdk_config.h.

Wrong. It is next to impossible to compare the differences in these two using an automated tool.

Is there another "master" that is being used for creation of the examples?

How can I compare the sdk_config.h from my project (that started life using SDK 13) with the changes required in SDK 14.1?

Parents
  • Hi,

    Are there any defines and settings you are missing in the sdk_config.h in sdk_folder\config\sdk_config.h ? This should be a master sdk_config.h, and have most defines.

    Please note the release notes from SDK 14.1 about sdk_config.h:

    • The order of some module BLE event handlers has been changed. This means that compiling new sdk_config.h files with old modules might lead to crashes
    • A new priority has been added, and all BLE applications have been changed to have the new priority (NRF_SDH_BLE_OBSERVER_PRIO_LEVELS has been changed from 3 to 4). This means that compiling new main files with old sdk_config.h files will not work unless NRF_SDH_BLE_OBSERVER_PRIO_LEVELS is set to 4 or more.
Reply
  • Hi,

    Are there any defines and settings you are missing in the sdk_config.h in sdk_folder\config\sdk_config.h ? This should be a master sdk_config.h, and have most defines.

    Please note the release notes from SDK 14.1 about sdk_config.h:

    • The order of some module BLE event handlers has been changed. This means that compiling new sdk_config.h files with old modules might lead to crashes
    • A new priority has been added, and all BLE applications have been changed to have the new priority (NRF_SDH_BLE_OBSERVER_PRIO_LEVELS has been changed from 3 to 4). This means that compiling new main files with old sdk_config.h files will not work unless NRF_SDH_BLE_OBSERVER_PRIO_LEVELS is set to 4 or more.
Children
No Data
Related