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-18 14:05:06 +01:00
parent 799c800494
commit 4861708a0f
6 changed files with 55 additions and 3 deletions
@@ -35,6 +35,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)