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