Skip to content

Commit 5aefba2

Browse files
committed
bsp: k230: add console command usage
This command is used to change the period of runtime statistics for top command. Signed-off-by: Wang Chen <[email protected]>
1 parent b91c69e commit 5aefba2

File tree

3 files changed

+545
-0
lines changed

3 files changed

+545
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# RT-Thread building script for component
2+
3+
from building import *
4+
5+
cwd = GetCurrentDir()
6+
src = Glob('*.c')
7+
CPPPATH = [cwd]
8+
9+
group = DefineGroup('Usage', src, depend = ['RT_USING_USAGE'], CPPPATH = CPPPATH)
10+
11+
objs = [group]
12+
13+
list = os.listdir(cwd)
14+
15+
for item in list:
16+
if os.path.isfile(os.path.join(cwd, item, 'SConscript')):
17+
objs = objs + SConscript(os.path.join(item, 'SConscript'))
18+
19+
Return('objs')

0 commit comments

Comments
 (0)