summaryrefslogtreecommitdiff
path: root/bsp/microchip/samc21/board/SConscript
blob: 1b4455424f46fc3dc66bfc205883d4e6124db926 (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')