2020-06-17 16:30:11 +08:00
|
|
|
|
# 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']
|
|
|
|
|
|
2020-12-19 16:49:11 +08:00
|
|
|
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
2020-06-17 16:30:11 +08:00
|
|
|
|
|
|
|
|
|
Return('group')
|