Files
armando f408e1a8bc feat(sdmmc): add esp32s31 support
Enable SDMMC host support on ESP32-S31 across HAL, SOC caps, tests, examples, and documentation.
2026-05-21 09:09:28 +08:00
..
2026-05-21 09:09:28 +08:00

Supported Targets ESP32 ESP32-S3 ESP32-S31

Troubleshooting

Getting the following error

E (2562) sdmmc_io: sdmmc_io_read_byte: sdmmc_io_rw_direct (read 0x2) returned 0x107

Kindly activate the debug log from idf.py menuconfig -> Component config -> Log output -> Default log verbosity option and verify the card's IO type status. If the card does not possess IO capabilities, it will encounter issues while attempting to read IO buffers.

To identify the card type, please inspect the following lines in the debug log.

D (659) sdmmc_io: sdmmc_init_io: io_send_op_cond (1) returned 0x106; not IO card
D (729) sdmmc_init: sdmmc_card_init: card type is SD

See README.md in the parent folder