Skip to content

Commit f612ea0

Browse files
Qinghao ShiQinghao Shi
authored andcommitted
replace hard-coded vector size with macro in linker scripts
1 parent 3c302d9 commit f612ea0

File tree

1 file changed

+1
-1
lines changed
  • targets/TARGET_ARM_FM/TARGET_FVP_MPS2/TARGET_FVP_MPS2_M0/device/TOOLCHAIN_GCC_ARM

1 file changed

+1
-1
lines changed

targets/TARGET_ARM_FM/TARGET_FVP_MPS2/TARGET_FVP_MPS2_M0/device/TOOLCHAIN_GCC_ARM/MPS2.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ ENTRY(Reset_Handler)
6969
STACK_SIZE = 0x400;
7070

7171
/* Size of the vector table in SRAM */
72-
M_VECTOR_RAM_SIZE = 0x100;
72+
M_VECTOR_RAM_SIZE = NVIC_VECTORS_SIZE;
7373

7474
SECTIONS
7575
{

0 commit comments

Comments
 (0)