[kservice] MT-safe output support (kprintf/kputs)

Signed-off-by: Shell <smokewood@qq.com>
This commit is contained in:
Shell
2024-01-16 00:59:18 +08:00
committed by Meco Man
parent 447a22a21d
commit f6fce5f8d7
9 changed files with 189 additions and 41 deletions
@@ -47,6 +47,9 @@ if GetDepend(['UTEST_ATOMIC_TC']):
if GetDepend(['UTEST_HOOKLIST_TC']):
src += ['hooklist_tc.c']
if GetDepend(['UTEST_MTSAFE_KPRINT_TC']):
src += ['mtsafe_kprint_tc.c']
group = DefineGroup('utestcases', src, depend = ['RT_USING_UTESTCASES'], CPPPATH = CPPPATH)
Return('group')