mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-20 00:45:22 +08:00
[simulator] 模拟器可以使用 utest 测试框架 (#7644)
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
This commit is contained in:
co-authored by
Man, Jianting (Meco) <920369182@qq.com>
parent
d0c6d6f4a4
commit
0f998f6b05
@@ -77,7 +77,7 @@ CONFIG_RT_USING_DEVICE=y
|
||||
# CONFIG_RT_USING_DM is not set
|
||||
# CONFIG_RT_USING_INTERRUPT_INFO is not set
|
||||
CONFIG_RT_USING_CONSOLE=y
|
||||
CONFIG_RT_CONSOLEBUF_SIZE=128
|
||||
CONFIG_RT_CONSOLEBUF_SIZE=256
|
||||
CONFIG_RT_CONSOLE_DEVICE_NAME="console"
|
||||
CONFIG_RT_VER_NUM=0x50001
|
||||
# CONFIG_RT_USING_STDC_ATOMIC is not set
|
||||
|
||||
@@ -66,6 +66,12 @@ SECTIONS
|
||||
|
||||
/* setction information for finsh shell begin */
|
||||
. = ALIGN(8);
|
||||
UtestTcTab : {
|
||||
__rt_utest_tc_tab_start = .;
|
||||
KEEP(*(UtestTcTab))
|
||||
__rt_utest_tc_tab_end = .;
|
||||
}
|
||||
. = ALIGN(8);
|
||||
FSymTab : {
|
||||
__fsymtab_start = .;
|
||||
KEEP(*(FSymTab))
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
#define RT_USING_DEVICE
|
||||
#define RT_USING_CONSOLE
|
||||
#define RT_CONSOLEBUF_SIZE 128
|
||||
#define RT_CONSOLEBUF_SIZE 256
|
||||
#define RT_CONSOLE_DEVICE_NAME "console"
|
||||
#define RT_VER_NUM 0x50001
|
||||
|
||||
|
||||
Reference in New Issue
Block a user