From 5183697fd43052bf2fa7bf94d2ec19a1a8185a2a Mon Sep 17 00:00:00 2001 From: aozima Date: Fri, 12 Jul 2013 22:50:50 +0800 Subject: [PATCH] update linker script for components auto initial. --- bsp/stm32f10x/stm32f10x_flash.icf | 1 + 1 file changed, 1 insertion(+) diff --git a/bsp/stm32f10x/stm32f10x_flash.icf b/bsp/stm32f10x/stm32f10x_flash.icf index f98793b6ef..0380cc7620 100644 --- a/bsp/stm32f10x/stm32f10x_flash.icf +++ b/bsp/stm32f10x/stm32f10x_flash.icf @@ -26,6 +26,7 @@ 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 }; -- GitLab