[bug][bsp][stm32f407-explorer] 修复sdcard驱动没有加入工程的问题

This commit is contained in:
Meco Jianting Man 2021-05-14 10:03:38 +08:00 committed by GitHub
parent 484cda4d92
commit 74064e8cc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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')