Commit Graph

36 Commits

Author SHA1 Message Date
morris
6bc9814ffb feat(esp_driver_dma): add blocking async memcpy API
Add a blocking wrapper for async memcpy so simple users can wait for one DMA copy without writing their own ISR callback and semaphore plumbing. Update functional tests and documentation to use the simpler API where async completion handling is not needed.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-05 12:07:17 +08:00
morris
c49a6ed454 fix(async_crc): limit the blocking API only accept infinite timeout
also support user configured interrupt priority
2026-06-03 15:43:12 +08:00
Chen Jichang
f8ff130959 feat(lcd): support buffer switch interrupt 2026-06-01 15:19:19 +08:00
morris
90e0b94ed6 test(dma): reenable unit test for esp32p4 rev1 targets 2026-05-27 10:32:34 +08:00
Li Shuai
e28ee420ac fix(ci): some digital peripherals support sleep retention attach and detach 2026-05-21 11:46:16 +08:00
Chen Jichang
cc3edfa727 feat(gdma): support gdma sleep retention on s31 2026-05-13 18:09:17 +08:00
Chen Jichang
3c3b9a6a4e ci(esp32h4): disable tests which cannot pass 2026-05-11 16:48:58 +08:00
Chen Jichang
645ff40cde ci(esp32h4): enable ci target test 2026-05-11 16:48:58 +08:00
wuzhenghui
d3c5129050 fix(driver): fix retention unsupported mouldes TOP pd test 2026-05-07 12:02:05 +08:00
morris
d318aeaafb feat(gdma): move gdma sleep retention info from esp_hal_dma to esp_driver_dma 2026-04-24 15:35:35 +08:00
Song Ruo Jing
b40257aed2 refactor(dma2d): use ESP_INTR_FLAG_SHARED_PRIVATE flag for DMA2D interrupt 2026-04-09 20:31:41 +08:00
Song Ruo Jing
db8b921a13 feat(dma2d): add support for esp32s31 2026-04-09 20:30:26 +08:00
Chen Jichang
6292860255 feat(gdma): enable gdma test on s31 2026-04-08 23:12:04 +08:00
morris
43bc8c2fe5 feat(etm): add ETM LL and GPIO ETM support on esp32s31
Enable ETM caps and add S31 ETM/GPIO LL and retention support for
GPTimer ETM builds.
2026-04-07 14:47:36 +08:00
morris
1333ca8d17 Merge branch 'feat/gdma_intr_priority' into 'master'
feat(gdma): expose interrupt priority as a configurable option

Closes IDF-7968

See merge request espressif/esp-idf!47187
2026-04-03 23:02:53 +08:00
C.S.M
152b5ccb4c ci(esp32s31): Add ci target test for esp32s31 2026-04-03 11:38:45 +08:00
morris
f2d62bba74 feat(gdma): expose interrupt priority as a configurable option
- Add intr_priority field to gdma_channel_t structure
- Add intr_bind_name field to gdma_signal_conn_t for interrupt binding
- Validate intr_priority during channel allocation (must be 0-3)
- Use ESP_INTR_FLAG_SHARED_PRIVATE instead of ESP_INTR_FLAG_SHARED
- Use esp_intr_alloc_info() with bind_by.name for shared interrupts
- Add interrupt priority configuration test case
- Update all gdma_periph.c files with pair-specific bind names (gdma_gXpY)
2026-04-01 10:42:22 +08:00
Chen Chen
afe13a644a fix(gdma): revoke burst size array check in gdma_config_transfer 2026-03-23 16:33:30 +08:00
armando
c60ed4b338 fix(spm): rename scp (scratchpad) to spm (scratchpad memory) 2026-03-17 01:29:34 +00:00
armando
c96f69faef change(mem): deprecated tcm and added scp memory utils 2026-03-11 11:18:15 +08:00
morris
a3ef29eb49 feat(gdma): add descriptor empty callback for GDMA RX events 2026-03-09 15:19:57 +08:00
Chen Chen
6ffde29079 feat(spi): make SPI DMA burst size configurable 2026-03-03 14:59:26 +08:00
Song Ruo Jing
9362907287 feat(dma2d,ppa): Support flash encryption for DMA2D and PPA 2026-02-26 16:39:40 +08:00
morris
ab16c09947 refactor(hints): move driver migration hints to own components 2026-02-14 15:51:18 +08:00
morris
2712bb2339 feat(crc): added async CRC driver based on GDMA peripheral 2026-02-13 09:57:25 +08:00
Chen Jichang
b8c527a87c refactor(flash_enc): move esp_flash_encryption_enabled() to efuse component 2026-02-05 11:42:08 +08:00
Chen Jichang
0ac402217c test(parlio,rmt,lcd): add virtual flash encryption test 2026-02-05 11:42:08 +08:00
morris
4984738936 Merge branch 'feat/remove-common-components-peripheral-drivers' into 'master'
feat(ci): remove common_components dependencies from peripheral drivers

See merge request espressif/esp-idf!45443
2026-01-31 00:06:21 +08:00
Chen Ji Chang
76b31ecbd9 Merge branch 'fix/fix_dma_burst_size_regression' into 'master'
fix(gdma): skip alignment check for AHBDMA version 1 when flash enc

Closes IDF-15216

See merge request espressif/esp-idf!45434
2026-01-29 22:14:27 +08:00
morris
fe436d881e feat(ci): remove common_components dependencies from peripheral drivers
Replace *common_components with specific driver dependencies across all
peripheral driver test apps and examples to prevent unnecessary CI
triggers
when common_components change.

This follows the same pattern established in TWAI driver commit:
6d21cc6c29

Changes made:
- 26 component test apps updated
(esp_driver_*/test_apps/.build-test-rules.yml)
- 1 driver test app updated
(components/driver/test_apps/.build-test-rules.yml)
- Key examples updated in examples/peripherals/.build-test-rules.yml
- Established standard dependency pattern: esp_hal_xxx, esp_hw_support,
soc
- Added esp_driver_gpio for GPIO-dependent drivers
2026-01-29 16:33:17 +08:00
Chen Jichang
d5ce5f2581 fix(gdma): skip alignment check for AHBDMA version 1 when flash enc 2026-01-28 19:44:36 +08:00
Chen Jichang
7656e0935e feat(gdma): support lp ahb dma on esp32s31 2026-01-28 13:08:07 +08:00
Igor Udot
f4cb052666 Merge branch 'ci/base_components' into 'master'
ci: use common_components in depends_components

See merge request espressif/esp-idf!45070
2026-01-26 09:08:11 +08:00
morris
0469db2f83 refactor(rcc): unify the usage of clock control macros for peripherals
- Removed conditional definitions for various RCC_ATOMIC macros across
multiple files, replacing them with a unified PERIPH_RCC_ATOMIC() macro.
- Updated instances where specific RCC_ATOMIC macros were used to ensure
consistent usage of PERIPH_RCC_ATOMIC().
- Deleted unused uart_share_hw_ctrl.h file as its functionality is now
integrated into the new structure.
2026-01-23 18:28:13 +08:00
igor.udot
4c26ab876b ci: update build-test-rules to use common_components 2026-01-23 10:14:09 +08:00
morris
35bdd8c651 feat(dma): graduate the dma driver from esp_hw_support to esp_driver_dma 2026-01-22 14:14:14 +08:00