minimal/main: Make Cortex-M vector table constant.
This commit is contained in:
parent
57b5ee2fcf
commit
e75fd3a8e9
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user