4 ms·
FWIW, this is a pretty unusual way of setting up vectors. A more typical approach in C is to declare the vector table entirely in C or assembly, and only use th
by duskwuff 7y ago
FWIW, this is a pretty unusual way of setting up vectors. A more typical approach in C is to declare the vector table entirely in C or assembly, and only use the linker script to position it:
https://github.com/duskwuff/stm32f103-example/blob/master/ldscript.ld#L26 https://github.com/duskwuff/stm32f103-example/blob/master/ld...
- TickleSteve 7y ago...and what you're seeing is after the linker has positioned it. that is the defined format of the ARM vector table as it is laid out in memory.
- duskwuff 7y agoI'm referring to the linker script in kimixa's comment. Explicitly placing each vector table entry in the linker script, as this one does, is unusual.