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

multiple definition of `RTC1_IRQHandler'

C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.18/gcc/arm-none-eabi/bin/ld: Output/Debug/Obj/port_cmsis_systick.o: in function `RTC1_IRQHandler':

1> .....\nRF5_SDK_for_Thread_and_Zigbee_v3.1.0_c7c4730\external\freertos\portable\CMSIS\nrf52/port_cmsis_systick.c:115: multiple definition of `RTC1_IRQHandler'; Output/Debug/Obj/app_timer.o:.....\nRF5_SDK_for_Thread_and_Zigbee_v3.1.0_c7c4730-1\components\libraries\timer/app_timer.c:907: first defined here

I am using nrf52840. 

I am trying to add UART service with RTOS to process read/write buffer via tasks. Without the RTOS support added the code compiles fine. When I add RTOS I get error - "multiple definition of `RTC1_IRQHandler". Is there any way to resolve this ? Or, any sample available that implements UART + RTOS ?

Thanks.

Related