Commit Graph

194 Commits

Author SHA1 Message Date
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
Song Ruo Jing
9c2a8281c1 fix(uart): lp uart rx iomux pin was not working as expected
Introduced in 8818157e42
The workaround in the commit routes the signal to LP GPIO matrix first.
When uses LP IOMUX pin as UART RX, the signal did not bypass the matrix,
which caused the issue.

This commit adds rtc_gpio_iomux_input and rtc_gpio_iomux_output APIs
to align with existing GPIO driver APIs.
2026-04-09 17:07:01 +08:00
C.S.M
152b5ccb4c ci(esp32s31): Add ci target test for esp32s31 2026-04-03 11:38:45 +08:00
Tomáš Rohlínek
59179490a2 fix(esp_stdio): remap console select fd bits to sink device
Map logical /dev/console fds to the primary sink fd for select.
This avoids probing UART1/UART2 for stdout/stderr and keeps UART select state consistent.
Add stdio regression checks for logical fd mapping and symmetric uart_end_select teardown.
2026-04-01 15:33:45 +02:00
Hu Rui
7c56253e33 feat(uhci): Add support for uhci on esp32h4 2026-04-01 17:15:32 +08:00
Chen Chen
cbb529bf97 feat(rtcio): support rtcio on esp32s31 2026-04-01 08:51:47 +08:00
morris
a8c8b831b8 fix(esp_hw_support): fix private shared interrupt release path
Treat ESP_INTR_FLAG_SHARED_PRIVATE as shared when selecting interrupt
lines and avoid misclassifying private shared vectors as non-shared
during free. Also fix two error-path leaks in esp_intr_alloc_info by
freeing the temporary handle and rolling back group_name on allocation
failure.

refactor(esp_hw_support): add semantic vector descriptor helpers

Introduce helper macros to classify vector descriptor state (shared,
non-shared, private shared, and uninitialized) and apply them in
allocator/free/dump paths. This makes private-shared semantics explicit
and reduces repeated bitwise checks.

Rename vector descriptor helpers to explicitly distinguish public
shared, private shared, and shared-family states. This improves
readability and avoids ambiguity when handling mixed shared/non-shared
flag combinations.
2026-03-27 22:53:14 +08:00
C.S.M
48410f23f1 Merge branch 'feat/uhci_esp32h21' into 'master'
feat(uhci): Add support for uhci on esp32h21

Closes IDF-11619

See merge request espressif/esp-idf!46794
2026-03-25 20:02:40 +08:00
C.S.M
ba8b4cfd9e feat(uhci): Add support for uhci on esp32h21 2026-03-24 19:00:10 +08:00
Guillaume Souchere
5fac0b7386 feat(console): Move IO initialization outside of the console component
- Move the linux repl chip and deprecate chip related functions
- Update location of driver specific default config
- Add missing comments on the newly added functions in the affected components.
2026-03-17 08:30:23 +01:00
Tomáš Rohlínek
a46fec8d96 feat(storage/vfs): Remove usage of context less VFS APIs 2026-03-11 11:03:43 +01:00
hebinglin
17f6dce4d0 fix(esp_driver_uart): add iram_safe sdkconfig in hp uart wakeup cases 2026-03-06 11:23:27 +08:00
hebinglin
8642f65ab0 fix(esp_driver_uart): restore enable pad clock in uart_set_wakeup_threshold 2026-03-06 11:23:27 +08:00
hebinglin
048a9ae514 change(esp_hw_support): deprecate uart_set_wakeup_threshold and uart_get_wakeup_threshold 2026-03-06 11:23:27 +08:00
Song Ruo Jing
d4005779e0 fix(uart): improve uart rx glitch filter test case failing rate
Not all IO glitch simulation functions were in iram before,
making the glitch too long to be filtered.
2026-03-03 16:19:15 +08:00
C.S.M
1fb79d7e1a fix(uhci): Fix uhci second receive error when first receive is long
Closes https://github.com/espressif/esp-idf/issues/18200
2026-02-26 16:33:50 +08:00
Song Ruo Jing
370f885c59 fix(uart): tx write bytes fails to use non-default tx fifo empty threshold
Users may see tx write bytes fails to feed data into tx fifo in time
even if the tx fifo empty threshold has been set to a large value.
2026-02-13 18:54:38 +08:00
wuzhenghui
172eed3de5 fix(esp_driver_uart): enable pad sleep clock in uart_wakeup_setup function 2026-02-09 20:54:03 +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
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