How to get interrupts work when compiling from command-line?
I set up a project that generates the makefiles for the STM8 target. It almost works, just the interrupt vector table is not updated with the definitions in the code.
The interrupts are set up and work. I can see that from the button press on the discovery board, which causes a reset due to a missing interrupt vector (executing abort() instead).
The map-file also does not show the functions called by the interrupt request handler being linked.
In the makefiles I can find that the linker is called with the interrupt definition file in the list of files to link.
What am I missing?
Thanks in advance.
