From 41779317746c56cc7699f9dab5ddf4159e9c33a2 Mon Sep 17 00:00:00 2001 From: fef Date: Mon, 26 Sep 2022 15:36:59 +0200 Subject: [PATCH] arch/at91sam3x8e: fix vector_table const decl --- arch/at91sam3x8e/vector_table.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/at91sam3x8e/vector_table.c b/arch/at91sam3x8e/vector_table.c index 3ac493c..e5db6e0 100644 --- a/arch/at91sam3x8e/vector_table.c +++ b/arch/at91sam3x8e/vector_table.c @@ -67,7 +67,8 @@ void irq_can1(void) __weak __alias(_stub_handler); extern uint32_t _estack; -__section(.vectors) const void *exception_table[] = { +__section(.vectors) +void *const exception_table[] = { &_estack, /* initial SP value (stack grows down) */ handle_reset, /* reset vector */ NULL, /* reserved */