1 2 3 4 5 6 7 8 9 10 11 12 13
from building import * group = [] src = [] cwd = GetCurrentDir() CPPPATH = [cwd + '/../include', cwd + '/../../../../components/drivers/pin'] if GetDepend(['RT_PIN_K1X']): src += ['pin-k1x.c'] group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH) Return('group')