Fork自 RT-Thread / rt-thread
体验新版 GitCode,发现更多精彩内容 >>
from building import * cwd = GetCurrentDir() src = [] CPPPATH = [cwd + '/../include'] group = [] if GetDepend(['RT_USING_PIN']): src = src + ['pin.c'] if len(src): group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH) Return('group')