Commit Graph

37 Commits

Author SHA1 Message Date
morris
eec76a070e feat(esp_driver_dma): add dw_gdma backend for async_memcpy 2026-08-10 16:16:53 +08:00
morris
71b4a4400e Merge branch 'bugfix/driver_security_fix' into 'master'
fix(drivers): harden bitscrambler against malformed inputs

Closes SEC-513, SEC-512, and SEC-511

See merge request espressif/esp-idf!50582
2026-08-03 10:14:41 +08:00
Renz Bagaporo
1f5cba3070 fix(ulp): clarify buildv2 child marker
Rename the internal ULP child-build marker to __ULP_BUILDV2 so component CMake files make the build-system scope explicit.

Document that the marker is currently set only by the IDF_BUILD_V2 ULP child path.
2026-07-29 13:08:23 +09:00
Renz Bagaporo
288b9a6e00 feat(ulp): build legacy ULP APIs through CMake v2 shim 2026-07-29 13:08:22 +09:00
morris
83c8ce73cf fix(bitscrambler): reject malformed program headers
Validate BitScrambler program headers against the supported format and
hardware limits before using header-derived instruction and LUT sizes.
Also add regression coverage for malformed headers and document that the
program blob must come from a trusted assembler output.
2026-07-28 16:26:49 +08:00
gaoxu
ea417f202e feat(isp): support isp dma input and add example 2026-07-14 18:15:44 +08:00
Chen Ji Chang
b09ea896b6 Merge branch 'fix/fix_async_color_convert_csc' into 'master'
fix(dma2d): fix async color convert csc check

See merge request espressif/esp-idf!50229
2026-07-06 16:10:10 +08:00
Chen Jichang
5123e1c634 fix(dma2d): fix async color convert csc check 2026-07-06 12:43:35 +08:00
Song Ruo Jing
78ccd163cc fix(dma2d): fix non-usable DMA2D_CSC_TX_SCRAMBLE option 2026-07-02 20:25:09 +08:00
morris
624a21f359 feat(dma2d): support RGB24 and BGR24 scramble conversion
Add async color convert coverage for direct RGB24/BGR24 byte-order swaps
and
thread both TX and RX CSC state through DMA2D transactions for future
extensibility.
2026-06-28 17:07:18 +08:00
morris
dcd7f1deba feat(dma2d): added async color convert driver 2026-06-16 15:01:23 +08:00
Song Ruo Jing
14d8570163 feat(ppa): add sleep retention support for DMA2D and PPA 2026-06-15 15:45:07 +08:00
Chen Jichang
c9fda533b3 change(ahb_dma): update c61 eco3 header files 2026-06-11 16:26:21 +08:00
Chen Jichang
8319196c64 fix(rgb_lcd): fix gdma link switch not take effect 2026-06-10 15:13:14 +08:00
Chen Jichang
f8ff130959 feat(lcd): support buffer switch interrupt 2026-06-01 15:19:19 +08:00
Chen Jichang
3c3b9a6a4e ci(esp32h4): disable tests which cannot pass 2026-05-11 16:48:58 +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
ce1d910965 refactor(dma2d): move csc param table to dma2d_periph.c 2026-04-09 21:23:42 +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
morris
11f76780cc feat(bitscrambler): support driver on esp32s31 2026-04-08 09:53:21 +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
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
Chen Jichang
7656e0935e feat(gdma): support lp ahb dma on esp32s31 2026-01-28 13:08:07 +08:00
Chen Jichang
307b21f591 feat(gdma): add gdma support for s31 2026-01-14 16:04:28 +08:00
morris
373901e94c Merge branch 'refactor/remove_gdma_trigger_peripheral_t' into 'master'
refactor: remove gdma_trigger_peripheral_t

See merge request espressif/esp-idf!44964
2026-01-13 17:38:53 +08:00
morris
512b499e1b refactor: remove gdma_trigger_peripheral_t 2026-01-12 13:47:54 +08:00
Chen Jichang
13efd171c7 fix(gdma): fix dma burst size when flash enc enabled 2026-01-12 11:52:08 +08:00
morris
fb1b53c7c5 refactor(gdma): channel allocation can return both direction within the same call 2026-01-04 15:39:38 +08:00
Chen Ji Chang
09a3d16cfa Merge branch 'fix/fix_dma_fail_when_flash_enc_enabled' into 'master'
fix(dma): fix dma alignment when flash_enc enabled

Closes IDFGH-16594

See merge request espressif/esp-idf!43825
2025-12-31 14:57:30 +08:00
Chen Jichang
f94c0535db fix(dma): fix dma alignment when flash_enc enabled
Closes https://github.com/espressif/esp-idf/issues/17708
2025-12-30 15:22:58 +08:00
C.S.M
4034446cc7 refactor(hal): Cleanup some missing hal files 2025-12-26 10:33:32 +08:00
morris
af02c173fb refactor(soc): remove soc_caps_full.h 2025-12-04 10:48:07 +08:00
morris
bc064a353a refactor(hal_dma): move bitscrambler from hal component
because bitscrambler can't live without DMA, it's highly binded with the
GDMA peripheral.
2025-11-21 16:10:16 +08:00
morris
2de3be7300 feat(dma): graduate the dma driver into a single component 2025-10-19 22:06:46 +08:00