2023-01-09 10:14:23 +08:00
|
|
|
# RT-Thread building script for component
|
2022-09-12 19:36:11 +08:00
|
|
|
|
|
|
|
from building import *
|
|
|
|
|
|
|
|
|
|
|
|
Import('RTT_ROOT')
|
|
|
|
from building import *
|
|
|
|
|
|
|
|
cwd = GetCurrentDir()
|
|
|
|
src = Split("""
|
|
|
|
NuPinConfig/nutool_pincfg.c
|
|
|
|
""")
|
|
|
|
|
|
|
|
src += Glob('*.c') + Glob('*.cpp')
|
|
|
|
CPPPATH = [cwd, cwd + '/NuPinConfig']
|
|
|
|
|
|
|
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
|
|
|
|
Return('group')
|