Skip to content
Snippets Groups Projects
Commit e75fd3a8 authored by Damien George's avatar Damien George
Browse files

minimal/main: Make Cortex-M vector table constant.

parent 57b5ee2f
Branches
No related tags found
No related merge requests found
...@@ -125,7 +125,7 @@ void Default_Handler(void) { ...@@ -125,7 +125,7 @@ void Default_Handler(void) {
} }
} }
uint32_t isr_vector[] __attribute__((section(".isr_vector"))) = { const uint32_t isr_vector[] __attribute__((section(".isr_vector"))) = {
(uint32_t)&_estack, (uint32_t)&_estack,
(uint32_t)&Reset_Handler, (uint32_t)&Reset_Handler,
(uint32_t)&Default_Handler, // NMI_Handler (uint32_t)&Default_Handler, // NMI_Handler
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment