Skip to content

Commit 7ca484a

Browse files
committed
Prevent LTO from omitting the ISR vector table for SAMD21 too
1 parent 88bafcc commit 7ca484a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cores/arduino/cortex_handlers.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,7 @@ extern uint32_t __bss_end__;
408408
extern uint32_t __StackTop;
409409

410410
/* Exception Table */
411+
__attribute__ ((used))
411412
__attribute__ ((section(".isr_vector"))) const DeviceVectors exception_table =
412413
{
413414
/* Configure Initial Stack Pointer, using linker-generated symbols */

0 commit comments

Comments
 (0)