-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Labels
clean upLegacy code, unused code, outdated infoLegacy code, unused code, outdated info
Description
Remove all older NRF macros in the sdk_config.h file. As described at https://devzone.nordicsemi.com/f/nordic-q-a/60127/compare-sdk_config-files there are issues caused by the existence of the older macros. As soon as such a macro exists the file apply_old_config.h will undef all corresponding NRFX macros.
The problem is that sdk_config.h actually defines those macros even if you don't do this yourself in sdk_config.h or app_config.h. So you will see statements like:
#ifndef TIMER_ENABLED
#define TIMER_ENABLED 0
#endif
Suddenly an old macro is defined and next the corresponding NRFX macros will be undefined by apply_old_config.h. Hence, remove all legacy macro ifndef define endif statements in sdk_config.h to fix this.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
clean upLegacy code, unused code, outdated infoLegacy code, unused code, outdated info