fix(sdspi): 0x106 error during SD card init via SPI related fixes

Try to turn on CRC16 again if first failed, allow disabling of CRC check altogether

Releated https://github.com/espressif/esp-idf/issues/15450
This commit is contained in:
Adam Múdry
2026-03-09 19:10:55 +01:00
parent 5ecafbffc1
commit a4cec4355a
6 changed files with 55 additions and 3 deletions
@@ -33,6 +33,7 @@ extern "C" {
#define SDMMC_GO_IDLE_DELAY_MS 20
#define SDMMC_IO_SEND_OP_COND_DELAY_MS 10
#define SDMMC_INIT_SPI_CRC_RETRY_DELAY_MS 10
#define SDMMC_INIT_WAIT_DATA_READY_TIMEOUT_US (5000 * 1000)
#define SDMMC_READY_FOR_DATA_TIMEOUT_US (5000 * 1000)