Commit Graph
8 Commits
Author SHA1 Message Date
morris 8283e4da99 Merge branch 'bugfix/esp32p4_sdmmc_dma_burst_size' into 'master'
feat(sdmmc): add dma_burst_size config, fix DMA to PSRAM on esp32p4

See merge request espressif/esp-idf!52908
2026-09-20 14:46:49 +08:00
Yogesh Mantri 2e02ed8484 feat(sdmmc): add dma_burst_size config, fix DMA to PSRAM on esp32p4
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.
2026-09-17 16:02:14 +08:00
Song Ruo Jing 34c3915938 fix(sdmmc): corrected the control of dedicated sdmmc pads
- only slot1 takes dedicated pads
- remove slot1 should clear the control of dedicated pads
- fix the current leakage in deep sleep caused by the sdmmc pads
2026-09-17 11:31:53 +08:00
morrisandCursor 4814514c26 fix(sdio_slave): align buffer size checks with descriptor limits
Define per-target SDIO slave descriptor buffer limits in the LL layer and validate queued send buffers against the 4-byte aligned effective maximum. Update the public docs to describe the chip-dependent limit instead of hardcoding 4092 bytes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-22 11:33:10 +08:00
Sudeep Mohanty 301eeba878 Merge branch 'task/buildv2_hygiene_and_dep_declarations' into 'master'
fix(components): generic dep-declaration and scope-leakage hygiene exposed by cmakev2

See merge request espressif/esp-idf!48739
2026-05-26 10:18:22 +02:00
Sudeep Mohanty 964c438587 fix(esp_hal_sd): include <stddef.h> for offsetof in sdio_slave_hal.c
picolibc with C23 no longer exposes <stddef.h> implicitly through
other headers; add the explicit include for `offsetof`.
2026-05-21 10:05:48 +02:00
armando f408e1a8bc feat(sdmmc): add esp32s31 support
Enable SDMMC host support on ESP32-S31 across HAL, SOC caps, tests, examples, and documentation.
2026-05-21 09:09:28 +08:00
armando 8499ad6ab0 feat(hal):graudate the sdmmc/sdio_slave hal driver into a new component 2026-02-02 09:47:54 +08:00