summaryrefslogtreecommitdiff
path: root/bsp/stm32/libraries/templates/stm32f2xx/board/SConscript
blob: 4bd321bfefad6a559ffdcdf9826bdba97b6625c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import os
from building import *

cwd = GetCurrentDir()

# add general drivers
src = Split('''
board.c
CubeMX_Config/Src/stm32f2xx_hal_msp.c
''')

path =  [cwd]
path += [cwd + '/CubeMX_Config/Inc']

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