mirror of https://github.com/ARMmbed/mbed-os.git
replace hard-coded vector size with macro in linker scripts
parent
3c302d9d9b
commit
f612ea0b47
|
@ -69,7 +69,7 @@ ENTRY(Reset_Handler)
|
||||||
STACK_SIZE = 0x400;
|
STACK_SIZE = 0x400;
|
||||||
|
|
||||||
/* Size of the vector table in SRAM */
|
/* Size of the vector table in SRAM */
|
||||||
M_VECTOR_RAM_SIZE = 0x100;
|
M_VECTOR_RAM_SIZE = NVIC_VECTORS_SIZE;
|
||||||
|
|
||||||
SECTIONS
|
SECTIONS
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue