arch/at91sam3x8e: fix vector_table const decl

This commit is contained in:
anna 2022-09-26 15:36:59 +02:00
parent e80a6cb630
commit 4177931774
Signed by: fef
GPG key ID: EC22E476DC2D3D84

View file

@ -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 */