mirror of
https://github.com/GorgonMeducer/perf_counter.git
synced 2025-01-17 19:13:03 +08:00
support rt_kprintf
This commit is contained in:
parent
2e5402f613
commit
a92752529c
@ -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__=<rtthread.h>', '__perf_counter_printf__=rt_kprintf'],
|
||||
CPPPATH = path)
|
||||
|
||||
Return('group')
|
||||
|
Loading…
x
Reference in New Issue
Block a user