@@ -7,8 +7,10 @@ Import('SDK_LIB')
cwd = GetCurrentDir()
# add general drivers
-src = Glob('board.c')
-src += Glob('CubeMX_Config/Src/stm32f1xx_hal_msp.c')
+src = Split('''
+board.c
+CubeMX_Config/Src/stm32f1xx_hal_msp.c
+''')
path = [cwd]
path += [cwd + '/CubeMX_Config/Inc']
-src += Glob('CubeMX_Config/Src/stm32f4xx_hal_msp.c')
+CubeMX_Config/Src/stm32f4xx_hal_msp.c
-src += Glob('CubeMX_Config/Src/stm32l4xx_hal_msp.c')
+CubeMX_Config/Src/stm32l4xx_hal_msp.c
if GetDepend(['BSP_USING_SPI_FLASH']):
src += Glob('ports/spi_flash_init.c')
if GetDepend(['BSP_USING_ETH']):
src += Glob('ports/w5500_device.c')
src += Glob('ports/phy_reset.c')