瀏覽代碼

[utest][stm32f412][gcc] add __rt_utest_tc_tab_start to support utest

Meco Man 8 月之前
父節點
當前提交
491f13e289
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      bsp/stm32/stm32f412-st-nucleo/board/linker_scripts/link.lds

+ 6 - 0
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 = .;