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

This commit is contained in:
Damien George 2017-04-18 10:17:24 +10:00
parent 57b5ee2fcf
commit e75fd3a8e9

View File

@ -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)&Reset_Handler,
(uint32_t)&Default_Handler, // NMI_Handler