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

multiple definition of `UARTE0_UART0_IRQHandler'

I have a bunch of nRF52810 kit. I am creating a BLE central device which would dicover and conenct to one or more BLE peripherals. I am using nRF SDK 15.3.0 and it has an example for BLE peripheral device for nRF52810 which uses S112. However, It doesn't really has an example code for BLE central device meant for nRF52810 using S112. I am trying to port/modify an existing BLE central example (nRF5_SDK_15.3.0_59ac345\examples\ble_central\ble_app_uart_c\pca10040\s132\ses) which originally was written for nRF52832 and uses S132 to nRF52810 using S112. I have made the necessary changes in the project configuration but I see the following error whenever I try to build the code:

1> C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.16/gcc/arm-none-eabi/bin/ld: Output/ble_app_uart_c_pca10040_s112 Release/Obj/nrfx_uarte.o: in function `UARTE0_UART0_IRQHandler':
1> C:\Users\Ravi\nordic\nRF5_SDK_15.3.0_59ac345\modules\nrfx\drivers\src/nrfx_uarte.c:606: multiple definition of `UARTE0_UART0_IRQHandler'; Output/ble_app_uart_c_pca10040_s112 Release/Obj/nrfx_uart.o:C:\Users\Ravi\nordic\nRF5_SDK_15.3.0_59ac345\modules\nrfx\drivers\src/nrfx_uart.c:644: first defined here
Build failed

I am attaching the project configuration file for your refrence. 

Related