You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
359 B
19 lines
359 B
5 months ago
|
# RT-Thread building script for component
|
||
|
|
||
|
from building import *
|
||
|
|
||
|
|
||
|
Import('RTT_ROOT')
|
||
|
from building import *
|
||
|
|
||
|
cwd = GetCurrentDir()
|
||
|
src = Split("""
|
||
|
nutool_pincfg/nutool_pincfg.c
|
||
|
""")
|
||
|
src += Glob('*.c') + Glob('*.cpp') + Glob('*.S')
|
||
|
CPPPATH = [cwd, cwd + '/nutool_pincfg']
|
||
|
|
||
|
group = DefineGroup('board', src, depend = [''], CPPPATH = CPPPATH)
|
||
|
|
||
|
Return('group')
|