Commit Graph

109 Commits

Author SHA1 Message Date
Martin Vychodil
62041d5fc6 Merge branch 'fix/sdmmc_dma_aligned_buffer_leak_v6.0' into 'release/v6.0'
fix(sdmmc): release aligned buffer on card deinit (v6.0)

See merge request espressif/esp-idf!52258
2026-09-03 23:35:18 +08:00
Adam Múdry
233fa3f948 fix(sdmmc): release aligned DMA buffer on card deinit 2026-08-31 14:14:22 +02:00
Adam Múdry
7f2eca6f19 fix(sdmmc): Validate DMA buffer address range
Closes https://github.com/espressif/esp-idf/issues/18714
2026-07-28 15:37:42 +02:00
Adam Múdry
d52b12fe11 fix(sdmmc): Add a better handling of devices accessing PSRAM through DMA
Closes https://github.com/espressif/esp-idf/issues/18412
2026-07-21 15:03:07 +02:00
Jiang Jiang Jian
bf2aed1697 Merge branch 'fix/sdmmc_reinit_error_v6.0' into 'release/v6.0'
fix(sdmmc): fix sdmmc re-init error (v6.0)

See merge request espressif/esp-idf!49010
2026-06-29 15:33:05 +08:00
wanckl
b14a480d59 fix(driver_sdmmc): test app correct p4 sdkconfig 2026-06-24 14:01:58 +08:00
gaoxu
df53e6a2c3 fix(sdmmc): fix sdmmc re-init error on legacy driver 2026-05-28 16:27:07 +08:00
Martin Vychodil
dddc72dae2 Merge branch 'contrib/github_pr_17642_v6.0' into 'release/v6.0'
feat(sdmmc): support multi-block read/writes (GitHub PR) (v6.0)

See merge request espressif/esp-idf!46776
2026-03-24 19:10:58 +08:00
igor.udot
e2a8bbe639 ci: update build-test-rules to use common_components 2026-03-20 15:53:26 +08:00
Adam Múdry
5c17a125ad feat(sdmmc): Try to reallocate smaller DMA buffer if larger one failed 2026-03-19 13:48:57 +01:00
Adam Múdry
61034416bb fix(sdmmc): Multi-block read/writes support refactor + tests and documentation added 2026-03-19 13:48:57 +01:00
armando
fe5b8358f3 feat(hal):graudate the sdmmc/sdio_slave hal driver into a new component 2026-02-04 19:00:57 +08:00
Song Ruo Jing
89da3742b8 refactor(clk): split clock HAL into separate component 2026-01-31 22:32:37 +08:00
morris
40fe34e4ab refactor(tests): add missing sdkconfig files in the driver test 2026-01-07 10:16:23 +08:00
Martin Vychodil
6cd8b82d2a Merge branch 'feat/sdmmc_bdl_v6.0' into 'release/v6.0'
feat(bdl): Add support for SDMMC (v6.0)

See merge request espressif/esp-idf!43811
2025-12-18 00:26:58 +08:00
morris
311bec8f82 Merge branch 'fix/spi_edma_and_hal_component_6.0' into 'release/v6.0'
feat(driver_spi): split esp_hal_gpspi and support master driver edma (v6.0)

See merge request espressif/esp-idf!44222
2025-12-17 14:54:05 +08:00
morris
51769ab2c8 Merge branch 'fix/p4_eco5_enable_special_test_6.0' into 'release/v6.0'
fix(ci)p4 eco5 enable special test (v6.0)

See merge request espressif/esp-idf!44127
2025-12-17 11:36:35 +08:00
Adam Múdry
3ba496c6b9 feat(storage): Add support for SDMMC BDL 2025-12-16 15:42:23 +01:00
wanckl
d12f941787 feat(driver_spi): split spi hal component 2025-12-16 20:38:09 +08:00
wanckl
d3e1a4881f ci(p4): p4 eco5 enable parts of special tests 2025-12-11 15:12:10 +08:00
C.S.M
ed64e7bf78 ci(header_check): Add check for public header should not include freertos 2025-12-10 15:10:43 +08:00
Chen Chen
6a211ccf28 fix(intr_alloc): Fix ISR allocate methods in several drivers 2025-11-24 10:52:33 +08:00
Song Ruo Jing
4b0524258d feat(interrupts): ESP32P4 ECO5 interrupt sources update 2025-10-15 16:49:22 +08:00
Armando (Dou Yiwen)
dfe8ee582d Merge branch 'change/remove_gpio_public_require_from_sdmmc' into 'master'
sdmmc: removed public requirement to esp_driver_gpio

Closes IDF-12851

See merge request espressif/esp-idf!42105
2025-09-23 08:40:44 +00:00
armando
c136400c3b change(sd): removed public requirement to esp_driver_gpio 2025-09-23 13:58:28 +08:00
armando
70acf169e0 fix(sd): use heap_caps_alloc to maintain desc alignment 2025-09-23 01:15:33 +00:00
Marius Vikhammer
484d2c5c2f fix(system): fixed issues with unused variable warnings when compiling with NDEBUG 2025-09-19 15:42:07 +08:00
Armando (Dou Yiwen)
4a383012b3 Merge branch 'feature/p4_rev3_sdmmc' into 'master'
sdmmc: supported sdmmc on p4 ECO5 real chip, and UHS-I SDR104 (200MHz)

Closes IDF-12222, IDF-13731, and IDF-14050

See merge request espressif/esp-idf!41563
2025-09-17 09:09:24 +00:00
sonika.rathi
4d91eac13f fix(sdmmc): Allow disabling SDIO specific steps in sdmmc card init 2025-09-16 22:24:10 +08:00
armando
28786d0732 feat(sdmmc): supported UHS-I SDR104 (200 MHz) on ESP32-P4 rev3 2025-09-16 12:03:03 +08:00
Marek Fiala
9d35d63651 feat(cmake): Update minimum cmake version to 3.22 (whole repository) 2025-08-19 14:44:32 +02:00
Darian Leung
5454499877 refactor: Use enum values for gpio pull up/down fields
Ensure that enum values are used When assigning `pull_up_en` and `pull_down_en`
fields of `gpio_config_t`. Helps avoid `invalid conversion` errors when
building those code snippets in C++.
2025-08-07 11:45:11 +08:00
Marius Vikhammer
bf84ab652a change(test_utils): moved test_utils component to tools/test_apps/components/ 2025-07-21 14:05:50 +08:00
armando
df7b39da34 fix(sdmmc): fixed dma desc on psram issue on s3 2025-07-07 10:24:22 +08:00
Adam Múdry
7154cd3173 feat(sdmmc): Add ESP32-P4 eMMC test board definition 2025-06-26 14:00:22 +02:00
Adam Múdry
1ab7235b9e fix(sdmmc): Legacy driver slot deinit set NULL after free 2025-06-26 14:00:22 +02:00
morris
fb4b590941 refactor(dma)!: remove deprecated functions 2025-06-12 12:24:58 +08:00
wuzhenghui
65b7e70564 feat(driver): support acquire/release clock source dependency for all drivers 2025-05-27 21:21:38 +08:00
morris
c63f51dcb3 refactor(drivers)!: remove unnecessary io_loop_back and pull up/down config option 2025-05-23 18:09:53 +08:00
Chen Jichang
a21f7c78f9 fix(sdmmc): only call esp_pm APIs when CONFIG_PM_ENABLE is enabled 2025-05-22 17:27:18 +08:00
armando
616dd97398 fix(sd): fixed slot0 requires all pins to be set when using 1bit iomux mode on p4 2025-05-16 11:10:58 +08:00
armando
8f6a2370d2 refactor(sd): updated sd host api to make 0 value as no change to configurations
use value 0 for `sd_host_slot_cfg_t` members, means no change to previous configurations,
instead of using `override/valid` flag
2025-05-15 15:16:38 +08:00
armando
0944a2a68a test(sd): added SD NG driver allocation tests 2025-05-15 10:57:45 +08:00
armando
0c8b297610 fix(sd): fixed sd with offset performance test wrong log issue 2025-05-15 10:57:45 +08:00
armando
77ae2808b0 refactor(sd): port legacy sd driver with NG driver 2025-05-15 10:57:45 +08:00
armando
402bf0ce58 feat(sd): sd host driver layer driver NG 2025-05-15 10:57:33 +08:00
armando
9af1f75af8 fix(sdmmc): fixed sdmmc pin drive regression issue on esp32 2025-05-07 10:52:20 +08:00
armando
73900c2d96 test(sdmmc): fixed sdmmc concurrent test issue 2025-03-27 11:50:35 +08:00
Ivan Grokhotkov
f7b977b405 test(sdmmc): add test for high-prio task busy while writing
Related to https://github.com/espressif/esp-idf/issues/13934
2025-03-11 10:51:06 +08:00
Ivan Grokhotkov
335027b731 fix(sdmmc): move DMA descriptor refilling into the ISR
Previously, as DMA descriptors were processed, the task performing
SDMMC transfer would get woken up and would refill the descriptors.
This design didn't work correctly when higher priority tasks occupied
the CPU for too long, resulting in SDMMC transfer timing out.

This change moves DMA descriptor refilling into SDMMC ISR. Now the
"DMA done" interrupt is delivered back to task context only when
the entire transfer is completed.

Closes https://github.com/espressif/esp-idf/issues/13934
2025-03-11 10:51:06 +08:00