feat(sdmmc): Try to reallocate smaller DMA buffer if larger one failed

This commit is contained in:
Adam Múdry
2026-04-13 16:17:39 +02:00
parent b70607c08b
commit 35cb97cf49
3 changed files with 33 additions and 10 deletions
@@ -60,7 +60,7 @@ typedef int sdspi_dev_handle_t;
.get_real_freq = &sdspi_host_get_real_freq, \
.input_delay_phase = SDMMC_DELAY_PHASE_0, \
.set_input_delay = NULL, \
.unaligned_multi_block_rw_max_chunk_size = 0, \
.unaligned_multi_block_rw_max_chunk_size = 16, \
.dma_aligned_buffer = NULL, \
.pwr_ctrl_handle = NULL, \
.get_dma_info = NULL, \