From e61834c9ed312aaa12b32fcd3a2134513acf60ed Mon Sep 17 00:00:00 2001 From: Shlomi Vaknin Date: Mon, 15 Feb 2021 19:58:01 +0200 Subject: [PATCH] disk: stm32: Select `USE_STM32_HAL_SD_EX` on stm32l4 This commit prepares supporting sdmmc on stm32l4+ devices. When trying to compile the sdmmc driver there is a compilation error because `HAL_SDEx_DriveTransceiver_1_8V_Callback` is not implemented. We solve this by compiling also `sd_ex` in cube as this function is implemented there as weak. Signed-off-by: Shlomi Vaknin --- subsys/disk/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/subsys/disk/Kconfig b/subsys/disk/Kconfig index 6865121c7ea..a84afa8e39a 100644 --- a/subsys/disk/Kconfig +++ b/subsys/disk/Kconfig @@ -144,6 +144,7 @@ config DISK_ACCESS_STM32_SDMMC bool "STM32 SDMMC driver" depends on HAS_STM32CUBE select USE_STM32_HAL_SD + select USE_STM32_HAL_SD_EX if SOC_SERIES_STM32L4X select USE_STM32_LL_SDMMC default $(dt_compat_enabled,$(DT_COMPAT_ST_STM32_SDMMC)) help