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

cwd = GetCurrentDir()

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

path =  [cwd]
path += [os.path.join(cwd, 'CubeMX_Config', 'Inc')]

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

Return('group')