Commit Graph

214 Commits

Author SHA1 Message Date
Armando (Dou Yiwen)
5e181236b7 refactor(mspi): move esp_mspi_align and mspi_mem_barrier to esp_mspi 2026-09-09 14:17:00 +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
0b8dde2d06 feat(uhci): add flash encryption test on encrypted runners 2026-09-02 17:40:50 +08:00
Marius Vikhammer
532b433246 fix(build_system): cleaned up esp_psram dependencies
Also moved mspi_mb functionality to esp_hw_support together with
other mspi functionality
2026-08-24 11:12:17 +08:00
morris
fe465ae1fe Merge branch 'fix/psram-ecc-mspi-dma-align' into 'master'
fix(mspi): handle PSRAM ECC DMA alignment across MSPI users

Closes IDF-15850, IDF-15910, and IDF-15700

See merge request espressif/esp-idf!49987
2026-08-20 11:51:46 +08:00
wanckl
8889acc3d1 fix(ci): reduce peripheral multi dev test timeout time 2026-08-19 15:30:55 +08:00
Chen Jichang
e008f5a627 refactor(gdma): increase performance and optimize api 2026-08-17 17:02:06 +08:00
Chen Jichang
2b8029c775 feat(mspi): split dma and mspi alignment 2026-08-17 16:49:27 +08:00
Song Ruo Jing
4ecd3e2287 Merge branch 'bugfix/uart_extra_current_consumption_in_sleep' into 'master'
fix(uart): reduce current consumption in sleep mode

See merge request espressif/esp-idf!50416
2026-08-07 19:07:26 +08:00
Song Ruo Jing
28acedf295 fix(ci): re-enable some LEDC/UART tests for H4, S31 2026-08-04 21:23:44 +08:00
Renz Christian Bagaporo
7054ec851c Merge branch 'feat/cmakev2_ulp_legacy_shim' into 'master'
feat(ulp): build all legacy ULP projects through CMakev2

See merge request espressif/esp-idf!50143
2026-07-31 07:10:43 +08:00
C.S.M
fcd5c55194 feat(uhci): uhci receive can be called in isr 2026-07-30 11:41:24 +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
Hu Rui
e7eaad0eb8 fix(uhci): rx fsm race condition and buffer size check
Closes https://github.com/espressif/esp-idf/issues/18819
Closes https://github.com/espressif/esp-idf/issues/18820
2026-07-27 11:48:52 +08:00
morris
2a9d1ee20e refactor(uhci): rename set_eof_mode to enable_eof_modes with bool en param
Rename uhci_ll_rx_set_eof_mode → uhci_ll_rx_enable_eof_modes and its
parameter eof_mode → eof_modes to reflect that multiple EOF modes can
be enabled simultaneously via bitmask. Add bool en parameter so callers
can enable or disable without an outer if-check.
2026-07-24 16:21:09 +08:00
Song Ruo Jing
246357a45d fix(uart): reduce current consumption in sleep mode 2026-07-23 15:42:12 +08:00
Renz Christian Bagaporo
faca8f56a3 Merge branch 'feat/cmakev2_ulp_full_subproject' into 'master'
feat(ulp): initial support for building ULP projects as full subprojects under CMake v2

See merge request espressif/esp-idf!50134
2026-07-16 21:00:32 +08:00
morris
ba8b1bf9a1 Merge branch 'feat/uhci_send_multi_buffer' into 'master'
feat(uhci): support transmit multi buffer

Closes IDF-15871

See merge request espressif/esp-idf!50446
2026-07-15 16:41:11 +08:00
Renz Bagaporo
7d75f85221 feat(ulp): build ULP full subprojects as CMake v2 children 2026-07-15 09:14:35 +09:00
Hu Rui
041c59a2a7 feat(uhci): support transmit multi buffer 2026-07-14 11:38:33 +08:00
Hu Rui
6e8f9119f1 Merge branch 'fix/uhci_rx_fsm' into 'master'
fix(uhci): rx fsm race condition

Closes IDFGH-17845

See merge request espressif/esp-idf!50498
2026-07-09 18:52:49 +08:00
Hu Rui
026313df81 fix(uhci): rx fsm race condition
Closes https://github.com/espressif/esp-idf/issues/18746
2026-07-09 10:58:47 +08:00
Song Ruo Jing
ef635c533b feat(uart): add collision detection test cases for RS485
Related https://github.com/espressif/esp-idf/issues/16101
2026-07-08 12:08:40 +08:00
Song Ruo Jing
f324ddd849 ci(uart): enable test for esp32h4 2026-07-06 20:53:28 +08:00
Song Ruo Jing
a5ff63830e fix(uart): fix uart sw flow ctrl XOFF char write to wrong reg on ESP32C6
Add software flow control test case

Introduced in e6ef4d1791

Closes https://github.com/espressif/esp-idf/issues/18779
2026-07-06 20:49:56 +08:00
Song Ruo Jing
37a08bd973 Merge branch 'contrib/github_pr_18677' into 'master'
uart: fix threshold configuration loss when interrupts are disabled (GitHub PR)

Closes IDFGH-17749 and IDFGH-12052

See merge request espressif/esp-idf!49943
2026-06-24 15:54:16 +08:00
wuzhenghui
61be47b739 feat(esp_hw_support): support PMU clock ICG management for esp32s31 2026-06-17 11:34:37 +08:00
Abanoub Salah
1ef578caac uart: fix threshold configuration loss when interrupts are disabled 2026-05-31 09:17:39 +03:00
Tomas Rohlinek
ff1099f39b Merge branch 'feat/refactor_stdio_vfs' into 'master'
feat(storage/stdio): refactor stdio vfs

Closes IDF-15109

See merge request espressif/esp-idf!44351
2026-05-27 11:36:05 +02:00
wanckl
130d3be783 fix(ci): h4 and s31 enable multi_board test 2026-05-22 11:50:19 +08:00
Li Shuai
e28ee420ac fix(ci): some digital peripherals support sleep retention attach and detach 2026-05-21 11:46:16 +08:00
Hu Rui
b222c61cb8 refactor(uhci): improve uart_dma_ota example & uhci docs
add const to UHCI rx callback edata->data
2026-05-20 11:21:29 +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
Jiang Jiang Jian
39f0ef3528 Merge branch 'feat/support_s31_sleep_features' into 'master'
feat(esp_hw_support): support esp32s31 lowpower features

Closes IDF-5660, IDF-14643, IDF-14645, IDF-14647, IDF-14648, IDF-14784, PM-708, and PM-714

See merge request espressif/esp-idf!47216
2026-05-07 19:22:58 +08:00
wuzhenghui
d3c5129050 fix(driver): fix retention unsupported mouldes TOP pd test 2026-05-07 12:02:05 +08:00
morris
a82af83777 Merge branch 'fix/uhci_rx_fsm_typo' into 'master'
fix(uhci): correct rx_fsm initialization enum type

Closes IDFGH-17617

See merge request espressif/esp-idf!48192
2026-05-07 09:01:17 +08:00
wuzhenghui
f1f3f204fe feat(esp_hw_support): support esp32s31 lightsleep/deepsleep example 2026-05-06 20:15:01 +08:00
Marius Vikhammer
353b637e16 Merge branch 'feature/s31_lp_uart_ulp' into 'master'
feat(ulp): add lp uart support for ULP on S31

Closes IDF-14634 and IDF-15567

See merge request espressif/esp-idf!48055
2026-05-06 15:43:12 +08:00
Chen Chen
adfe2ba5d8 fix(uhci): correct rx_fsm initialization enum type
Closes https://github.com/espressif/esp-idf/issues/18541

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-06 14:45:59 +08:00
Marius Vikhammer
66d1d594e4 feat(ulp): add lp uart support for ULP on S31 2026-04-29 16:20:43 +08:00
Song Ruo Jing
e689feee9d refactor(rtcio): align LP GPIO matrix related APIs with GPIO matrix APIs 2026-04-29 12:17:37 +08:00
Hu Rui
9513f2571f fix(uhci): fix uhci cache issue on ESP32-P4 2026-04-23 14:50:58 +08:00
morris
1dcd6fcf08 Merge branch 'feat/uhci_esp32s31_support' into 'master'
feat(uhci): Add support for uhci on esp32s31

Closes IDF-14791

See merge request espressif/esp-idf!47730
2026-04-21 15:57:55 +08:00
Hu Rui
131bb462a4 feat(uhci): Add support for uhci on esp32s31 2026-04-21 14:41:22 +08:00
Chen Ji Chang
83e7b11716 Merge branch 'feat/lcd_use_apll_clock' into 'master'
refactor(clk_tree): use general api to enable the clk

Closes IDF-11478 and IDF-12972

See merge request espressif/esp-idf!35952
2026-04-20 22:12:01 +08:00
Gao Xu
72c77c6e33 Merge branch 's31_uart_support' into 'master'
feat(uart): support  uart on ESP32S31

Closes IDF-14789, IDF-14790, and IDF-14792

See merge request espressif/esp-idf!46813
2026-04-17 16:37:55 +08:00
Chen Jichang
6e206dd173 refactor(clk_tree): use general api to enable the clk 2026-04-16 20:03:06 +08:00
Hu Rui
6f5a2f73a2 test(uhci): fix false-pass bug in UHCI receive test
reset RX buffer state between UHCI test transactions
2026-04-15 18:05:32 +08:00
gaoxu
0068fb1507 feat(uart): support HP/LP uart on ESP32S31 2026-04-15 10:57:26 +08:00