Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

apply_old_config.h issue

Hi,

In apply_old_config.h ,here is the code:

for example:

#if defined(SYSTICK_ENABLED)

#undef NRFX_SYSTICK_ENABLED
#define NRFX_SYSTICK_ENABLED  SYSTICK_ENABLED

#endif // defined(SYSTICK_ENABLED)

If I set SYSTICK_ENABLED =0 in sdk_config,here will overwrite the macro define because #if defined(SYSTICK_ENABLED) is true.

This makes me very confused,maybe here can change to #if defined(SYSTICK_ENABLED ) && SYSTICK_ENABLED  ?

Related