Hello Keil,
I found that stm32f4xx_hal_mmc.c is not included in my project for some reason (but stm32f4xx_hal_sd.c and stm32f4xx_ll_sdmmc.c are included).
I think, that this line is missing in the Keil.STM32F4xx_DFP.pdsc file:
- <component Cclass="Device" Cgroup="STM32Cube HAL" Csub="SD" Cversion="1.7.3" condition="STM32F4x1_40_41_412_42_43_44_46_47x_4x3 HAL DMA"> <description>Secure digital (SD) interface HAL driver</description> <RTE_Components_h>#define RTE_DEVICE_HAL_SD</RTE_Components_h> - <files> <file category="source" name="Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_sd.c" /> <file category="source" name="Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_mmc.c" /> <file category="source" name="Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_sdmmc.c" /> </files> </component>
Best regards, Eugene.
Thanks, David. The problem solved.