1from building import * 2 3cwd = GetCurrentDir() 4 5# add general drivers 6src = Split(''' 7board.c 8CubeMX_Config/Src/stm32l4xx_hal_msp.c 9''') 10 11path = [cwd] 12path += [cwd + '/CubeMX_Config/Inc'] 13 14 15group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path) 16 17Return('group') 18 19