diff options
| author | Meco Man <[email protected]> | 2024-11-17 13:09:12 -0500 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2024-11-18 09:57:46 +0800 |
| commit | 491f13e289697703ef5fa4b8100ddc9b4f20b53e (patch) | |
| tree | ad51237916c4da13d2f4d201599956422c0f92cd | |
| parent | d9c16efe8faaff7a179129c2c3143a9def50cf41 (diff) | |
[utest][stm32f412][gcc] add __rt_utest_tc_tab_start to support utest
| -rw-r--r-- | bsp/stm32/stm32f412-st-nucleo/board/linker_scripts/link.lds | 6 |
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 = .; |
