mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
FIFOTH.dma_multiple_transaction_size was never programmed and kept its reset value of 0, which selects 1-byte DMA bursts. On esp32p4 with flash encryption enabled those bursts do not reach PSRAM. Add sdmmc_ll_set_dma_burst_size() and a dma_burst_size field in sd_host_sdmmc_cfg_t, 0 selecting the per-target default. esp32p4 defaults to 16 bytes; esp32 and esp32s3 keep their current 1 byte.