summaryrefslogtreecommitdiff
path: root/bsp/microchip/samc21/board/SConscript
blob: aec2827e1155cc30ed9ea60e6a34dcebfad22933 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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')