This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Confusion between nrf_ and nrfx_

Hello,

I'm doing some clean up in my code and i wanted to use only nrfx library as it advised to do. Regarding the watchdog i have set in my app_config.g file (used by my sdk_config.h) the following flags : 

#define NRFX_WDT_ENABLED                      1
#define NRFX_WDT_CONFIG_BEHAVIOUR             0 // Watchdog will be paused in SLEEP and HALT 
#define NRFX_WDT_CONFIG_RELOAD_VALUE          5000

But if i don't add the following line : 

#define WDT_ENABLED                           1

It won't compile, is ti normal ?

Regards,

Aurélien 

Related