From c8790c72e4f241b46547e9fba93286e6c43f5ef4 Mon Sep 17 00:00:00 2001 From: wangyuqiang <2053731441@qq.com> Date: Mon, 25 Sep 2023 16:25:23 +0800 Subject: [PATCH] =?UTF-8?q?[bsp][utest]=20=E6=B7=BB=E5=8A=A0=20rt-spark=20?= =?UTF-8?q?=E5=9C=A8=20gcc=20=E4=B8=8B=E8=BF=90=E8=A1=8C=20utest=20?= =?UTF-8?q?=E9=93=BE=E6=8E=A5=E4=BB=A3=E7=A0=81=E6=AE=B5?= 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 | 6 ++++++ 1 file changed, 6 insertions(+) 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 d640603da2..bb5b18bfb6 100644 --- a/bsp/stm32/stm32f407-rt-spark/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f407-rt-spark/board/linker_scripts/link.lds @@ -43,6 +43,12 @@ SECTIONS KEEP(*(VSymTab)) __vsymtab_end = .; + /* section information for utest */ + . = ALIGN(4); + __rt_utest_tc_tab_start = .; + KEEP(*(UtestTcTab)) + __rt_utest_tc_tab_end = .; + /* section information for initial. */ . = ALIGN(4); __rt_init_start = .;