Commit Graph

101 Commits

Author SHA1 Message Date
Chen Chen
4b85046a4a refactor(esp_clk_tree): rename esp_clk_tree_enable_src API
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-20 16:49:24 +08:00
morris
f5afb99e3b fix(gdma): treat burst size 0 and 1 as burst disabled
The GDMA layer used `max_data_burst_size == 0` as the only way to disable the
data burst. That conflicts with the upstream drivers' convention where a zeroed
config struct means "unset", so users had no way to ask for the driver default
burst size.

GDMA now treats both 0 and 1 as "no data burst": a single-beat burst has no
benefit over the non-burst mode. The MSPI alignment constraint under Flash
Encryption / PSRAM ECC still takes precedence and is reported with a warning.

The upstream drivers using GDMA now apply their own default burst size (16
bytes) when the user leaves `dma_burst_size` as 0, following the UHCI driver:

- esp_async_crc (AHB / AXI GDMA backend)
- esp_async_memcpy (AHB / AXI / LP-AHB / DW_GDMA backend)

Callers that really want no burst can now set `dma_burst_size` to 1.
2026-09-08 23:29:14 +08:00
morris
c96d9d0380 fix(driver): allocate driver objects containing atomic variables from internal SRAM
Objects with atomic members must not be allocated to PSRAM, otherwise
the ordering guarantee of atomic accesses is weakened due to a hardware
behavior on ESP32 chips. Explicitly request MALLOC_CAP_INTERNAL |
MALLOC_CAP_8BIT for:

- i2c master bus object (atomic status/trans_idx)
- i3c master bus object (atomic fsm)
- ISP processor and AE/AF/AWB/HIST controllers (atomic fsm)
- JPEG decoder/encoder dma2d transaction descriptors (atomic started)
- PPA transaction storage embedding dma2d_trans_t
- dma2d m2m test transaction embedding dma2d_trans_t
2026-08-31 13:48:44 +08:00
morris
bff6bf5e8b Merge branch 'feat/async_memcpy_dw_gdma_backend' into 'master'
feat(esp_driver_dma): add dw_gdma backend for async_memcpy

Closes IDF-15760

See merge request espressif/esp-idf!50878
2026-08-10 16:16:53 +08:00
morris
eec76a070e feat(esp_driver_dma): add dw_gdma backend for async_memcpy 2026-08-10 16:16:53 +08:00
gaoxu
daad26433d fix(isp): initialize Color defaults for RGB DMA output 2026-08-10 15:15:22 +08:00
gaoxu
30e3df1c7c feat(isp): support ISP DPC, add tests and use it in multi pipeline example 2026-07-31 10:22:41 +08:00
morris
3af71b792e refactor(isp): read DMA input directly from flash
Avoid the PSRAM copy for unencrypted flash
2026-07-21 10:46:04 +08:00
gaoxu
ea417f202e feat(isp): support isp dma input and add example 2026-07-14 18:15:44 +08:00
Marius Vikhammer
e2c86567ac fix: preserve Linux component header registration
Keep Linux components include-only when their runtime dependencies are unavailable.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 13:36:34 +08:00
Marius Vikhammer
bd25b59620 test: add Linux full component build app
Exercise unrestricted Linux-target builds so unsupported hardware-only components are caught by CI.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 13:26:17 +08:00
Chen Chen
d4cf50ee78 fix(isp): fix ccm test case for esp32p4-rev1 2026-06-03 14:55:09 +08:00
morris
a1640410b9 fix(isp): enable esp32p4_rev1 unit test 2026-06-03 14:55:09 +08:00
Marius Vikhammer
1c95f60363 fix(isp): fix typo in CONFIG_ISP_ISR_IRAM_SAFE macro reference
SAEE -> SAFE in isp_ae.c, causing the IRAM safety check to never
trigger regardless of the Kconfig setting.
2026-05-22 10:43:24 +08:00
armando
1f640f2d0c fix(isp): corrected isp v size limitation 2026-05-06 18:15:23 +08:00
gaoxu
37160f88af refactor(isp): avoid isp ll functions using hal.hw before initialization 2026-04-23 19:14:26 +08:00
Song Ruo Jing
dfe86726bf fix(isp): disable gamma xcoord error check 2026-04-21 11:59:13 +08:00
Fu Hanxi
87dd8ee147 Merge branch 'ci/eco-to-rev' into 'master'
ci: rename eco tags to revision

Closes CII-109

See merge request espressif/esp-idf!46061
2026-03-27 09:22:37 +01:00
Gao Xu
eddf3dbec1 Merge branch 'fix/isp_clk_error' into 'master'
Fix ISP clk source error and hal init error

See merge request espressif/esp-idf!46993
2026-03-27 15:01:40 +08:00
Fu Hanxi
4f92cfd077 ci: rename eco tags to revision 2026-03-26 12:24:59 +01:00
gaoxu
cf3ed79040 fix(isp): fix isp registers can not be read/write error 2026-03-25 17:09:59 +08:00
armando
418a091240 change(isp): added lut table depth check 2026-03-23 11:31:30 +08:00
armando
94b24b3434 change(isp): added hres and vres limitation check 2026-03-23 11:20:57 +08:00
armando
7bb22fd0b9 change(isp): improve sampling point 2026-03-16 15:51:49 +08:00
armando
f154ade586 feat(isp): added isp error interrupts 2026-03-16 11:33:56 +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
igor.udot
4c26ab876b ci: update build-test-rules to use common_components 2026-01-23 10:14:09 +08:00
armando
51a6490e93 fix(isp): fixed wbg shadow not working issue 2026-01-20 17:08:06 +08:00
armando
82b433ad86 fix(isp): fixed awb subwindow always need to be set issue 2026-01-05 15:58:08 +08:00
armando
34da2bdb78 feat(isp): allow to bypass shadow register 2026-01-05 14:49:02 +08:00
Dong Heng
fc54fdf8e1 fix(esp_driver_isp): Fix AWB subwindown compatibility for ESP32-P4 ECO4 2025-12-25 09:50:22 +08:00
armando
a0e52a3a1d refactor(isp): use fourcc for isp color formats 2025-12-17 01:58:58 +00:00
armando
f021f2c8f7 ci: enable isp default tests 2025-12-15 12:00:15 +08:00
armando
ce1840173a fix(isp): fix isp rev012 build 2025-12-15 10:11:23 +08:00
Chen Chen
dc5b0687b9 Merge branch 'fix/awb_subwindow' into 'master'
fix(isp): Added subwindow configuration for AWB

Closes IDF-14342

See merge request espressif/esp-idf!44046
2025-12-12 17:44:15 +08:00
armando
39e2bfe334 feat(isp): allow ccm to bypass shadow register 2025-12-11 10:24:31 +08:00
armando
8c67e8bc00 ci(isp): reenable tests 2025-12-10 17:56:43 +08:00
armando
b856201cc1 feat(hal):graudate the isp hal driver into a new component 2025-12-10 17:56:43 +08:00
Chen Chen
b5fe7cd65c fix(isp): Added subwindow configuration for AWB 2025-12-10 09:44:29 +08:00
C.S.M
dd73c7cb21 fix(isp): Fix isp build error in single core 2025-12-03 14:06:55 +08:00
C.S.M
d5054072eb ci(header_check): Add check for public header should not include freertos 2025-11-28 19:15:17 +08:00
Chen Chen
61d363fd58 feat(isp): support Crop driver on p4 rev3
Add support for crop driver on p4eco5 and update example in
`isp/multi_pipelines`
2025-11-13 08:47:11 +08:00
armando
e0b530bd64 feat(isp): added shadow reg settings 2025-11-07 10:49:34 +08:00
armando
5d1c607174 fix(isp): use atomic fsm check 2025-11-06 02:32:37 +00:00
armando
235d607671 change(isp): make wbg standalone 2025-11-06 02:32:37 +00:00
armando
c8029ace8c feat(isp): support AWB driver setting wbgain and subwindow feature 2025-09-28 01:15:18 +00:00
gaoxu
294868362f feat(isp_color): support ISP color on P4 2025-09-24 10:23:42 +08:00
Armando (Dou Yiwen)
e13699a652 Merge branch 'feat/p4_rev3_isp_blc' into 'master'
isp: black level correction driver support on p4 eco5

Closes IDF-13931

See merge request espressif/esp-idf!41714
2025-09-24 01:10:40 +00:00
armando
7a58274c73 feat(isp): support BLC driver 2025-09-22 09:22:58 +08:00
Chen Chen
0e84ce7e69 feat(isp): Update hue for esp32p4eco5 2025-09-18 11:39:37 +08:00