Browse Source

[bsp][stm32]Fixed error stm32f1xx_hal library reference when using sdio.

Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
Willian Chan 6 years ago
parent
commit
4f631d780e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bsp/stm32/libraries/STM32F1xx_HAL/SConscript

+ 1 - 1
bsp/stm32/libraries/STM32F1xx_HAL/SConscript

@@ -64,7 +64,7 @@ if GetDepend(['RT_USING_WDT']):
     src += ['STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_wwdg.c']
 
 if GetDepend(['RT_USING_SDIO']):
-    src += ['STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_mmc.c']
+    src += ['STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_sdmmc.c']
     src += ['STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sd.c']
 
 if GetDepend(['RT_USING_AUDIO']):