From 959b97aa34440e63addf461d1d7f25c661788389 Mon Sep 17 00:00:00 2001 From: aozima Date: Wed, 9 Aug 2017 09:50:45 +0800 Subject: [PATCH] update stm32f20x linker script: ensure last block HEAP. --- bsp/stm32f20x/stm32_rom.icf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bsp/stm32f20x/stm32_rom.icf b/bsp/stm32f20x/stm32_rom.icf index 293cd6ab0..95cc8d50c 100644 --- a/bsp/stm32f20x/stm32_rom.icf +++ b/bsp/stm32f20x/stm32_rom.icf @@ -28,8 +28,8 @@ do not initialize { section .noinit }; keep { section FSymTab }; keep { section VSymTab }; +keep { section .rti_fn* }; place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; place in ROM_region { readonly, block RTT_INIT_FUNC }; -place in RAM_region { readwrite, - block CSTACK, block HEAP }; \ No newline at end of file +place in RAM_region { readwrite, block CSTACK, last block HEAP}; -- GitLab