STM32G431 - how to use interrupts within library
Hi,
I'd like to create a library for fast handling the USART2 and TIMER. Unfortunately, when I move the USART2_IRQHandler() to the library, the linker do not include this function in a final application, and the program crashes by ending up in the endless loop of the Default_Handler. When I move the function back to main.c or other file within a target project - it works. How to update the interrupt vector table for external function?
Cheers,
Mike
