replace hard-coded vector size with macro in linker scripts

pull/7805/head
Qinghao Shi 2018-08-17 17:59:17 +01:00
parent 3c302d9d9b
commit f612ea0b47
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ ENTRY(Reset_Handler)
STACK_SIZE = 0x400;
/* Size of the vector table in SRAM */
M_VECTOR_RAM_SIZE = 0x100;
M_VECTOR_RAM_SIZE = NVIC_VECTORS_SIZE;
SECTIONS
{