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

This commit is contained in:
Adam Múdry
2026-03-12 16:23:22 +01:00
parent 653cea9c94
commit 366700747d
3 changed files with 33 additions and 10 deletions
@@ -48,7 +48,7 @@ extern "C" {
.input_delay_phase = SDMMC_DELAY_PHASE_0, \
.set_input_delay = &sdmmc_host_set_input_delay, \
.set_input_delayline = &sdmmc_host_set_input_delayline, \
.unaligned_multi_block_rw_max_chunk_size = 0, \
.unaligned_multi_block_rw_max_chunk_size = 16, \
.dma_aligned_buffer = NULL, \
.pwr_ctrl_handle = NULL, \
.check_buffer_alignment = &sdmmc_host_check_buffer_alignment, \