Skip to content

Commit 491f13e

Browse files
mysterywolfRbb666
authored andcommitted
[utest][stm32f412][gcc] add __rt_utest_tc_tab_start to support utest
1 parent d9c16ef commit 491f13e

File tree

1 file changed

+6
-0
lines changed
  • bsp/stm32/stm32f412-st-nucleo/board/linker_scripts

1 file changed

+6
-0
lines changed

bsp/stm32/stm32f412-st-nucleo/board/linker_scripts/link.lds

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ SECTIONS
4040
KEEP(*(VSymTab))
4141
__vsymtab_end = .;
4242

43+
/* section information for utest */
44+
. = ALIGN(4);
45+
__rt_utest_tc_tab_start = .;
46+
KEEP(*(UtestTcTab))
47+
__rt_utest_tc_tab_end = .;
48+
4349
/* section information for initial. */
4450
. = ALIGN(4);
4551
__rt_init_start = .;

0 commit comments

Comments
 (0)