I am looking to write my own IRQ handler for the UART. I read the post https://devzone.nordicsemi.com/f/nordic-q-a/46822/nvic-table/184731#184731
and added my own definition of UARTE0_UART0_IRQHandler in main.c (my version of the NUS example program), the compiler aborts with a duplicate function definition error. Then I commented-out the call to uart_init() just to prove that nothing will change until I prevent inclusion of the “other” driver.
I edited sdk_config.h (in my NUS example tree) and disabled the UART0 driver inclusion (NRFX_UARTE_ENABLED, NRFX_UART_ENABLED, UART_ENABLED, UART_EASY_DMA_SUPPORT, UART_LEGACY_SUPPORT, UART0_ENABLED, UART0_CONFIG_USE_EASY_DMA, and APP_UART_ENABLED.) similar to the
https://devzone.nordicsemi.com/f/nordic-q-a/55810/low-level-uart-using-the-registers
I built it again, and this time the error is more subtle – in nrf_drv_uart.h it complains about the typedef on line 122 (“unknown type name”)
How do i write my own IRQ handler?