Hi everyone,
could you please tell me what is the difference between nrfx_config.h and sdk_config.h?
Thank you for your time
Hi everyone,
could you please tell me what is the difference between nrfx_config.h and sdk_config.h?
Thank you for your time
Hi,
The short answer is that you for the most part only need to think of sdk_config.h.
The long answer is that sdk_config.h is a header file which is used to configure most SDK libraries and drivers and have been for quite a few releases. With SDK 15 the low-level drivers were separated from the SDK (so that they could more easily be used in other contexts) and called nrfx. nrfx has its own configuration file, which is nrfx_config.h. This is similar to sdk_config.h in many ways, but only configues the nrfx drivers. The legacy driver API is still present in SDK 15.x for backwards compatibility (and in some cases SoftDevice support), and the configuration is still handled by sdk_configh. There is a third header file, apply_old_config.h, which translates configuration from sdk_config.h to nrfx_config.h. So if a configuration exists both in sdk_config.h and nrfx_config.h, the configuration in sdk_config.h will be used.
Hi,
The short answer is that you for the most part only need to think of sdk_config.h.
The long answer is that sdk_config.h is a header file which is used to configure most SDK libraries and drivers and have been for quite a few releases. With SDK 15 the low-level drivers were separated from the SDK (so that they could more easily be used in other contexts) and called nrfx. nrfx has its own configuration file, which is nrfx_config.h. This is similar to sdk_config.h in many ways, but only configues the nrfx drivers. The legacy driver API is still present in SDK 15.x for backwards compatibility (and in some cases SoftDevice support), and the configuration is still handled by sdk_configh. There is a third header file, apply_old_config.h, which translates configuration from sdk_config.h to nrfx_config.h. So if a configuration exists both in sdk_config.h and nrfx_config.h, the configuration in sdk_config.h will be used.
Thank you!