summaryrefslogtreecommitdiff
path: root/bsp/stm32/libraries
diff options
context:
space:
mode:
authorthread-liu <[email protected]>2020-11-23 09:56:49 +0800
committerthread-liu <[email protected]>2020-11-23 09:57:11 +0800
commit2f5bfddde34c7092ed889bddc3bc1ac51ee440ad (patch)
treef4cc4a9b7691df064abe1a6aa83050a5596137db /bsp/stm32/libraries
parenta0f6579167368a9460f4ceb92f8db1b5aa070425 (diff)
[add] sdio driver for stm32mp1-dk1.
Diffstat (limited to 'bsp/stm32/libraries')
-rw-r--r--bsp/stm32/libraries/STM32MPxx_HAL/SConscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/bsp/stm32/libraries/STM32MPxx_HAL/SConscript b/bsp/stm32/libraries/STM32MPxx_HAL/SConscript
index b61edbb69c..469909ae6e 100644
--- a/bsp/stm32/libraries/STM32MPxx_HAL/SConscript
+++ b/bsp/stm32/libraries/STM32MPxx_HAL/SConscript
@@ -102,6 +102,10 @@ if GetDepend(['BSP_USING_LTDC']):
src += ['STM32MP1xx_HAL_Driver/Src/stm32mp1xx_ll_dma2d.c']
src += ['STM32MP1xx_HAL_Driver/Src/stm32mp1xx_hal_dsi.c']
+if GetDepend(['BSP_USING_SDMMC']):
+ src += ['STM32MP1xx_HAL_Driver/Src/stm32mp1xx_ll_sdmmc.c']
+ src += ['STM32MP1xx_HAL_Driver/Src/stm32mp1xx_hal_sd.c']
+
path = [cwd + '/STM32MP1xx_HAL_Driver/Inc',
cwd + '/CMSIS/Device/ST/STM32MP1xx/Include',
cwd + '/CMSIS/Core/Include',