Browse Source

Merge pull request #2623 from willianchanlovegithub/stm32fxxx_hal

[bsp][stm32]Fixed error stm32f1xx_hal library reference when using sdio.
Bernard Xiong 6 years ago
parent
commit
8684f1662b
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']):