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

cwd = GetCurrentDir()

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

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

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

Return('group')