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

RTC and TWI instances not compiling correctly

I am having trouble with nRF5 SDKv15. I am using the nRF52840 SoC. I have been looking at the example projects for both the RTC and TWI implementations for reference and cannot get my instances to compile in correctly. I am returned the errors of "'NRFX_RTC2_INST_IDX' undeclared here (not in a function)" and "'NRF_DRV_TWI_INSTANCE_0' undeclared here (not in a function)". I am using FreeRTOS in my code baseline. Would using FreeRTOS affect the instantiation of these peripherals? My defines for both peripherals in the sdk_config.h file are the same as the defines in each example project. Any help would be appreciated.

Thanks

Parents Reply Children
No Data
Related