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

Missing defines in generic sdk_config.h

Hi,

I'm migrating a project from SDK 14.2 to 15.3 and I wanted to use the generic and "full" sdk_config.h located in config/nrf52840/config/.

The documentation says that this file is a "full" config file where there is all the available #define.

But I couldn't find the defines related to log backend (for example NRF_LOG_BACKEND_RTT_ENABLED).

There is 11473 lines in this file, but in the sdk_config.h in the ble_app_template project, there is 11861 lines (and NRF_LOG_BACKEND_RTT_ENABLED is defined).

So is it normal that the "full" generic config file does not contain all the defines ?

Is there any real "full" config file ? The problem with the one from ble_app_template is that there is a lot of modules that I don't need.

Thanks

Parents
  • Yes exactly the "full" file is not full.

    Moreover, the documentation specify that "All examples contain a full configuration header file in which only the used modules are enabled" but in fact these config file are not full at all wich make it difficult to compare to "generic" config file.

    For example the blinky example config file has only 3300 lines.

    If all config file were full, it would be easy to compare these files with a simple diff and output the result to an app_config.h file for example.

Reply
  • Yes exactly the "full" file is not full.

    Moreover, the documentation specify that "All examples contain a full configuration header file in which only the used modules are enabled" but in fact these config file are not full at all wich make it difficult to compare to "generic" config file.

    For example the blinky example config file has only 3300 lines.

    If all config file were full, it would be easy to compare these files with a simple diff and output the result to an app_config.h file for example.

Children
Related