From a92752529cb02a3327a1919e0ff130e4e0a0e630 Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Wed, 15 Jun 2022 07:14:44 -0400 Subject: [PATCH] support rt_kprintf --- SConscript | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SConscript b/SConscript index 1d11146..10ec2fa 100644 --- a/SConscript +++ b/SConscript @@ -21,6 +21,8 @@ try: except: pass -group = DefineGroup('perf_counter', src, depend = ['PKG_USING_PERF_COUNTER'], CPPDEFINES = ['__PERF_CNT_USE_RTOS__'], CPPPATH = path) +group = DefineGroup('perf_counter', src, depend = ['PKG_USING_PERF_COUNTER'], + CPPDEFINES = ['__PERF_CNT_USE_RTOS__', '__PERF_COUNT_PLATFORM_SPECIFIC_HEADER__=', '__perf_counter_printf__=rt_kprintf'], + CPPPATH = path) Return('group')