summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorguozhanxin <[email protected]>2026-05-22 14:29:58 +0800
committerRbb666 <[email protected]>2026-05-24 10:35:56 +0800
commit047ab1eca44e88200de407ddf4347bf0ce175106 (patch)
treeac0d7f231b29dd1251bbc4b2508379f602712e79 /bsp
parentffb509a42428751c9ab8b07fdb3242ea587cd9a9 (diff)
[bsp][stm32]完善星火1号链接脚本
Diffstat (limited to 'bsp')
-rw-r--r--bsp/stm32/stm32f407-rt-spark/board/linker_scripts/link.lds5
1 files changed, 3 insertions, 2 deletions
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 */