Hi,
I'm merging two examples together; nfc_text_record and ble_app_proximity. After tediously managing the include files, the c files and configuring sdk_config.h while (seemingly) successfully clearing all build errors step by step, I've ran into a problem I have no idea how to solve.
The build error is: 'NRFX_TIMER4_INST_IDX' undeclared here (not in a function); did you mean 'NRFX_TIMER_INSTANCE'?
And I think I found the (or a?) reason why it is undeclared. SEGGER Embedded Studio is conveniently greying out the code parts that are not included because of an #if-Statement. This seems to be the case in the file "nrfx_timer.c", as shown in the image below.
Then I checked if NRFX_TIMER_ENABLED is not defined. But here is the issue: when I checked that I saw that NRFX_TIMER_ENABLED (and also NRFX_TIMER4_ENABLED) is indeed defined in my sdk_config.h file, see the below image.
I also cleaned and rebuild the project, with the same outcome.
Thank you in advance for any hints.
Regards,
AHass