Commit Graph

15 Commits

Author SHA1 Message Date
Song Ruo Jing
3d8fd22e14 fix(dma2d): fix race with dma2d_force_end and ISR
free_up_channels can only be called once for a started transaction.
Double free will undesirely stop the next picked 2D-DMA transaction on the same channel.
2026-07-02 20:25:09 +08:00
Song Ruo Jing
92024d98b6 fix(dma2d): add a dequeue mechanism for dma2d driver
JPEG driver should be able to either dequeue a pending transaction from
a 2D-DMA pool or force end a processing transaction.
2026-07-02 20:25:09 +08:00
Hu Rui
3de0e061c1 refactor(dac): improve the DAC driver 2026-06-26 13:45:38 +08:00
morris
dcd7f1deba feat(dma2d): added async color convert driver 2026-06-16 15:01:23 +08:00
morris
891341153d Merge branch 'feat/esp_async_memcpy_blocking_api' into 'master'
feat(esp_driver_dma): add blocking async memcpy API

See merge request espressif/esp-idf!49295
2026-06-08 22:24:09 +08:00
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
Chen Jichang
1f7fc79540 fix(gdma): fix crc stuck with large input 2026-06-04 15:59:45 +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
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
morris
a3ef29eb49 feat(gdma): add descriptor empty callback for GDMA RX events 2026-03-09 15:19:57 +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
2712bb2339 feat(crc): added async CRC driver based on GDMA peripheral 2026-02-13 09:57:25 +08:00
Chen Jichang
7656e0935e feat(gdma): support lp ahb dma on esp32s31 2026-01-28 13:08:07 +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