2023-01-09 10:14:23 +08:00
|
|
|
# RT-Thread building script for component
|
2022-10-03 15:07:07 +08:00
|
|
|
|
|
|
|
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')
|
2023-01-09 10:14:23 +08:00
|
|
|
')
|