Hello Experts,
I my main.c, I have defined my own TIMER1_IRQHandler() and when I build the code I get the error
Rebuilding 'timer_pca10100' from solution 'timer_pca10100' in configuration 'Debug'
Linking 'timer_pca10100.elf'
in function `TIMER1_IRQHandler':
/home/lenovo/projects/nordic/SDK/nRF5SDK160098a08e2/examples/peripheral/timer_running/main.c:13: multiple definition of `TIMER1_IRQHandler'; Output/Debug/Obj/timer_pca10100/nrfx_timer.o:/home/lenovo/projects/nordic/SDK/nRF5SDK160098a08e2/modules/nrfx/drivers/src/nrfx_timer.c:300: first defined here
Build failed, exit status 0x1
Build failed
In the file nrfx_timer.c there is definition of nrfx_timer_1_irq_handler() that is defined to TIMER1_IRQHandler in nrfx_irqs_nrf52833.h
modules/nrfx/soc/nrfx_irqs_nrf52833.h:99:#define nrfx_timer_1_irq_handler TIMER1_IRQHandler
Do not understand how exactly to resolve this issue ?
Thanks,
Best Regards
AbhiAsh