未验证 提交 74064e8c 编写于 作者: mysterywolf's avatar mysterywolf 提交者: GitHub

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

上级 484cda4d
......@@ -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')
\ No newline at end of file
Return('group')
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册