From 047ab1eca44e88200de407ddf4347bf0ce175106 Mon Sep 17 00:00:00 2001 From: guozhanxin Date: Fri, 22 May 2026 14:29:58 +0800 Subject: [bsp][stm32]完善星火1号链接脚本 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/stm32/stm32f407-rt-spark/board/linker_scripts/link.lds | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bsp') diff --git a/bsp/stm32/stm32f407-rt-spark/board/linker_scripts/link.lds b/bsp/stm32/stm32f407-rt-spark/board/linker_scripts/link.lds index 2d48a9e347..db56fb32d6 100644 --- a/bsp/stm32/stm32f407-rt-spark/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f407-rt-spark/board/linker_scripts/link.lds @@ -70,6 +70,7 @@ SECTIONS } > CODE = 0 /* .ARM.exidx is sorted, so has to go in its own output section. */ + .ARM.extab : { *(.ARM.extab* .gnu.linkonce.armextab.*) } > CODE __exidx_start = .; .ARM.exidx : { @@ -102,7 +103,7 @@ SECTIONS _edata = . ; } >RAM1 - .stack : + .stack (NOLOAD): { . = ALIGN(4); _sstack = .; @@ -112,7 +113,7 @@ SECTIONS } >RAM1 __bss_start = .; - .bss : + .bss (NOLOAD): { . = ALIGN(4); /* This is used by the startup in order to initialize the .bss secion */ -- cgit v1.3.1