1Import('RTT_ROOT') 2Import('rtconfig') 3from building import * 4 5cwd = GetCurrentDir() 6src = Glob('*.c') 7CPPPATH = [cwd] 8 9#remove other no use files 10#SrcRemove(src, '*.c') 11 12# You can select chips from the list above 13CPPDEFINES = ['SAMD51xxx'] 14 15group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES) 16 17Return('group') 18