summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2024-11-17 13:09:12 -0500
committerRbb666 <[email protected]>2024-11-18 09:57:46 +0800
commit491f13e289697703ef5fa4b8100ddc9b4f20b53e (patch)
treead51237916c4da13d2f4d201599956422c0f92cd /bsp
parentd9c16efe8faaff7a179129c2c3143a9def50cf41 (diff)
[utest][stm32f412][gcc] add __rt_utest_tc_tab_start to support utest
Diffstat (limited to 'bsp')
-rw-r--r--bsp/stm32/stm32f412-st-nucleo/board/linker_scripts/link.lds6
1 files changed, 6 insertions, 0 deletions
diff --git a/bsp/stm32/stm32f412-st-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32f412-st-nucleo/board/linker_scripts/link.lds
index 1da876e360..0e417f2a80 100644
--- a/bsp/stm32/stm32f412-st-nucleo/board/linker_scripts/link.lds
+++ b/bsp/stm32/stm32f412-st-nucleo/board/linker_scripts/link.lds
@@ -40,6 +40,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 = .;