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 <shlomi.39sd@gmail.com>
This commit is contained in:
parent
c70fc85909
commit
e61834c9ed
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue