diff options
| author | wangyuqiang <[email protected]> | 2023-09-25 16:25:23 +0800 |
|---|---|---|
| committer | guo <[email protected]> | 2023-09-25 16:44:40 +0800 |
| commit | c8790c72e4f241b46547e9fba93286e6c43f5ef4 (patch) | |
| tree | 56f8f0de1bae01f664b37b806219cbd6e9ae7f2c /bsp | |
| parent | 3592bdea0d89c4cd97c4c08763788640ad6eb10d (diff) | |
[bsp][utest] 添加 rt-spark 在 gcc 下运行 utest 链接代码段
Diffstat (limited to 'bsp')
| -rw-r--r-- | bsp/stm32/stm32f407-rt-spark/board/linker_scripts/link.lds | 6 |
1 files changed, 6 insertions, 0 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 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 = .; |
