fix(firmware): prevent LTO from eliminating the ISR vector table (#7369)

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Peter Feerick
2026-06-03 13:36:02 +10:00
committed by GitHub
co-authored by Claude Sonnet 4.6
parent 87f4db7867
commit 986926765c
@@ -20,7 +20,7 @@
*/
#define WEAK_DEFAULT __attribute__((weak,alias("Default_Handler")))
#define ISR_VECTOR __attribute__((section(".isr_vector")))
#define ISR_VECTOR __attribute__((section(".isr_vector"), used))
typedef void (*isr_t)(void);
extern void* _estack;