2019-07-18 07:09 AM
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.
2019-07-18 11:28 PM
To avoid misconceptions I would like to add that my interrupt file does contain the "#pragma vector .." lines to define the interrupts. It still does not get put in the code. I was wondering if there is some additional line to put in the makefiles to actually get the interrupt function pointer into the vector table.