Skip to content

Remove legacy macros from sdk_config.h #99

@mrquincle

Description

@mrquincle

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    clean upLegacy code, unused code, outdated info

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions