summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorWind <[email protected]>2024-03-05 10:25:28 +0800
committerGitHub <[email protected]>2024-03-05 10:25:28 +0800
commit859781232c1001c28c419e713c301d9eadc0cfe2 (patch)
treeb2ee1668d412db9f0923f2deecd8ee82bf0c6064 /bsp
parent1919ad0748601d8898f80b87c4d4ff82f1d33e0a (diff)
Bug fixed while using UTEST framework (#8577)
Diffstat (limited to 'bsp')
-rw-r--r--bsp/raspberry-pico/link.ld6
1 files changed, 6 insertions, 0 deletions
diff --git a/bsp/raspberry-pico/link.ld b/bsp/raspberry-pico/link.ld
index d997d973d5..b3b7d3c12a 100644
--- a/bsp/raspberry-pico/link.ld
+++ b/bsp/raspberry-pico/link.ld
@@ -71,6 +71,12 @@ SECTIONS
*(EXCLUDE_FILE(*libgcc.a: *libc.a:*lib_a-mem*.o *libm.a:) .text*)
*(.fini)
+ /* section information for utest */
+ . = ALIGN(4);
+ __rt_utest_tc_tab_start = .;
+ KEEP(*(UtestTcTab))
+ __rt_utest_tc_tab_end = .;
+
/* section information for finsh shell */
. = ALIGN(4);
__fsymtab_start = .;