소스 검색

[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 = .;