sdk_config.h versus .config

I am trying to develop an environment based on the prx ESB sample and add  nrfx_timer.h dependencies. This is not necessarily a question specific to this setup but a more general question. I see the documentation points out a sdk_config.h file but I do not see that anywhere. My samples do that contain that file. But there is a .config file that can be configured witha GUI. However the changes I make never seem to get saved. I used nRF Connect and Toolchain Manager to setup the environment for VS Code. The .config is contained here: C:\nordic\myapps\prx\build\zephyr and my SDK directory does not contain examples. But the examples do work, Please let me know where i went wrong. 

Parents
  • Hi,

    The file sdk_config.h is a config file used in nRF5 SDK, so I assume you are looking at documentation for the wrong SDK. For nRF Connect SDK, which is the SDK installed with Toolchain Manager, you can read about ESB here: Enhanced ShockBurst (ESB).

    The files inside your build folder are generated when the application is configured and built, and will be overwritten the next time you build your application. Therefore, you cannot use these files to set any configurations or make changes, as these changes will be overwritten. The application's configuration file in nRF Connect SDK is prj.conf.

    Best regards,

    Marte

Reply
  • Hi,

    The file sdk_config.h is a config file used in nRF5 SDK, so I assume you are looking at documentation for the wrong SDK. For nRF Connect SDK, which is the SDK installed with Toolchain Manager, you can read about ESB here: Enhanced ShockBurst (ESB).

    The files inside your build folder are generated when the application is configured and built, and will be overwritten the next time you build your application. Therefore, you cannot use these files to set any configurations or make changes, as these changes will be overwritten. The application's configuration file in nRF Connect SDK is prj.conf.

    Best regards,

    Marte

Children
No Data
Related