2019-06-08 13:12:34 +08:00
|
|
|
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']
|
2019-08-21 18:39:14 +08:00
|
|
|
path += [cwd + '/ports']
|
2019-06-08 13:12:34 +08:00
|
|
|
|
|
|
|
CPPDEFINES = ['STM32L452xx']
|
2024-05-06 13:09:15 +08:00
|
|
|
|
2019-06-08 13:12:34 +08:00
|
|
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
|
|
|
|
|
|
|
Return('group')
|
|
|
|
|