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.
21 lines
399 B
21 lines
399 B
5 months ago
|
# RT-Thread building script for component
|
||
|
|
||
|
from building import *
|
||
|
|
||
|
|
||
|
Import('RTT_ROOT')
|
||
|
from building import *
|
||
|
|
||
|
cwd = GetCurrentDir()
|
||
|
src = Split("""
|
||
|
NuClockConfig/nutool_modclkcfg.c
|
||
|
NuPinConfig/nutool_pincfg.c
|
||
|
""")
|
||
|
|
||
|
src += Glob('*.c') + Glob('*.cpp')
|
||
|
CPPPATH = [cwd, cwd + '/NuClockConfig', cwd + '/NuPinConfig']
|
||
|
|
||
|
group = DefineGroup('board', src, depend = [''], CPPPATH = CPPPATH)
|
||
|
|
||
|
Return('group')
|