mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
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:
@@ -384,6 +384,10 @@ esp_err_t sdmmc_fix_host_flags(sdmmc_card_t* card)
|
||||
}
|
||||
}
|
||||
|
||||
if (card->host.flags & SDMMC_HOST_FLAG_SPI_IGNORE_DATA_CRC) {
|
||||
ESP_LOGW(TAG, "SDMMC_HOST_FLAG_SPI_IGNORE_DATA_CRC flag is set on non-SPI host");
|
||||
}
|
||||
|
||||
#if !SOC_SDMMC_UHS_I_SUPPORTED
|
||||
if ((card->host.max_freq_khz == SDMMC_FREQ_SDR50) ||
|
||||
(card->host.max_freq_khz == SDMMC_FREQ_DDR50) ||
|
||||
|
||||
Reference in New Issue
Block a user