STM32F0_minimal_C icon indicating copy to clipboard operation
STM32F0_minimal_C copied to clipboard

tag default_interrupt_handler as function

Open nerdralph opened this issue 4 years ago • 0 comments

The vector table entries need the low bit set for Thumb-2 code. Section 2.3.4 of the Programming Manual states: "The least-sigificant bit of each vector must be 1, indicating that the exception handler is Thumb code." The fix is to add: .type default_interrupt_handler, %function so the assembler/linker knows to set the low bit.

nerdralph avatar Dec 02 '20 16:12 nerdralph