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

Timer Driver Config Issue

Hi everyone, quick question.

I'm using the nrf_drv_timer library (from SDK 15.0.0_a53641a) to count the RTT between connection events packet Tx/Rx, however, I get this undeclared error:

nrfx_timer.h:74:39: error: 'NRFX_TIMER1_INST_IDX' undeclared here (not in a function)

And indeed, in nfrx_timer, the IDE does not recognize it has declared:

However, it is enabled in the sdk_config:

When I navigate to the variables definition the IDE send me to: apply_old_config.h

I'm pretty confused, am I doing anything wrong?

Related