# RT-Thread building script for component from building import * cwd = GetCurrentDir() src = Glob('*src/*.c') + Glob('src/*.cpp') CPPPATH = [cwd + '/inc'] group = DefineGroup('NUC472_StdPeriph', src, depend = [''], CPPPATH = CPPPATH) Return('group')