Skip to content

Commit

Permalink
Prevent LTO from omitting the ISR vector table for SAMD21 too
Browse files Browse the repository at this point in the history
  • Loading branch information
rlcamp committed Nov 14, 2022
1 parent 88bafcc commit 7ca484a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cores/arduino/cortex_handlers.c
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,7 @@ extern uint32_t __bss_end__;
extern uint32_t __StackTop;

/* Exception Table */
__attribute__ ((used))
__attribute__ ((section(".isr_vector"))) const DeviceVectors exception_table =
{
/* Configure Initial Stack Pointer, using linker-generated symbols */
Expand Down

0 comments on commit 7ca484a

Please sign in to comment.