[bug][bsp][stm32f407-explorer] 修复sdcard驱动没有加入工程的问题
This commit is contained in:
parent
484cda4d92
commit
74064e8cc7
|
@ -19,7 +19,7 @@ if GetDepend(['BSP_USING_SPI_FLASH']):
|
|||
src += Glob('ports/spi_flash_init.c')
|
||||
|
||||
if GetDepend(['BSP_USING_SDCARD']):
|
||||
src += Glob('ports/sdcard_port.c')
|
||||
src += Glob('ports/drv_sdcard.c')
|
||||
|
||||
if GetDepend(['BSP_USING_SRAM']):
|
||||
src += Glob('ports/drv_sram.c')
|
||||
|
@ -40,4 +40,4 @@ elif rtconfig.CROSS_TOOL == 'iar':
|
|||
CPPDEFINES = ['STM32F407xx']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
|
||||
Return('group')
|
||||
Return('group')
|
||||
|
|
Loading…
Reference in New Issue