You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
353 B
18 lines
353 B
5 months ago
|
Import('RTT_ROOT')
|
||
|
Import('rtconfig')
|
||
|
from building import *
|
||
|
|
||
|
cwd = GetCurrentDir()
|
||
|
src = Glob('*.c')
|
||
|
CPPPATH = [cwd]
|
||
|
|
||
|
#remove other no use files
|
||
|
#SrcRemove(src, '*.c')
|
||
|
|
||
|
# You can select chips from the list above
|
||
|
CPPDEFINES = ['SAMC21xxx']
|
||
|
|
||
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
|
||
|
|
||
|
Return('group')
|