4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-19 10:53:31 +08:00
2024-05-06 21:42:10 +08:00

20 lines
329 B
Python

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']
CPPDEFINES = ['STM32L496xx']
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
Return('group')