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