|
@@ -7,8 +7,10 @@ Import('SDK_LIB')
|
|
cwd = GetCurrentDir()
|
|
cwd = GetCurrentDir()
|
|
|
|
|
|
# add general drivers
|
|
# 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
|
|
|
|
+''')
|
|
|
|
|
|
if GetDepend(['BSP_USING_SPI_FLASH']):
|
|
if GetDepend(['BSP_USING_SPI_FLASH']):
|
|
src += Glob('ports/spi_flash_init.c')
|
|
src += Glob('ports/spi_flash_init.c')
|