SD card not working

Hi
I am building a new board and using STM32H743 and STM32F103.
I have defined SD card but my board is not interfacing SD card at all.
hwdef.txt (5.1 KB)

This is hwdef file of my board.
Is there anything else I need to define to use SD card?

I think you didn’t provide that much info(bus/port… ) to let us help.

Hope it helps!

– EDIT: I think you are using SDIO, so something like that. Check your pin number, I just copied from Pixhawk6C. (We have an FC to design, use SDIO also, I hope I didn’t miss any macros)

# microSD support
PD6  SDMMC2_CK SDMMC2
PD7  SDMMC2_CMD SDMMC2
PB14 SDMMC2_D0 SDMMC2
PB15 SDMMC2_D1 SDMMC2
PB3  SDMMC2_D2 SDMMC2
PB4  SDMMC2_D3 SDMMC2
define FATFS_HAL_DEVICE SDCD2

# enable FAT filesystem support (needs a microSD defined via SDMMC)
define HAL_OS_FATFS_IO 1