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

Using NRFX_TIMER4_ENABLED in

Hello,

I am updating my application from older SDK 15.0 to use SDK 17.0.

In a newly added file in the SDK: nrfx_nfct.c - there is a definition of:

#define NRFX_NFCT_TIMER_INSTANCE 4 /**< Timer instance used for various workarounds for the NFCT HW issues.*/

However, NRFX_TIMER4_ENABLED is not active in sdk_config (only 0-3 are active). What is the desired action so that my code will compile and will work properly on my nrf52840?

Please see below relevant section from sdk_config.h.

Thanks,

Alon

// <q> TIMER1_ENABLED - Enable TIMER1 instance

#ifndef TIMER1_ENABLED
#define TIMER1_ENABLED 1
#endif

// <q> TIMER2_ENABLED - Enable TIMER2 instance

#ifndef TIMER2_ENABLED
#define TIMER2_ENABLED 1
#endif

// <q> TIMER3_ENABLED - Enable TIMER3 instance

#ifndef TIMER3_ENABLED
#define TIMER3_ENABLED 1
#endif

// <q> TIMER4_ENABLED - Enable TIMER4 instance

#ifndef TIMER4_ENABLED
#define TIMER4_ENABLED 0
#endif

Parents Reply Children
Related