summaryrefslogtreecommitdiff
path: root/bsp/microchip/samd51-seeed-wio-terminal/board/SConscript
blob: 0ec3b893b59123ceed9ee21abc1960a612e2ae09 (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 = ['SAMD51xxx']

group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)

Return('group')