morris
8f81763614
Merge branch 'bugfix/uart_sw_flow_ctrl_xoff_char_v5.4' into 'release/v5.4'
...
fix(uart): fix uart sw flow ctrl XOFF char write to wrong reg on ESP32C6 (v5.4)
See merge request espressif/esp-idf!50526
2026-07-15 12:21:08 +08:00
Abanoub Salah
f12a7d627a
uart: fix threshold configuration loss when interrupts are disabled
2026-07-10 11:37:44 +08:00
Song Ruo Jing
dedb603390
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-10 11:37:14 +08:00
Hu Rui
f681d8976e
fix(uhci): rx fsm race condition
...
Closes https://github.com/espressif/esp-idf/issues/18746
2026-07-09 18:58:12 +08:00
morris
0b6f687407
Merge branch 'fix/uhci_rx_fsm_typo_v5.4' into 'release/v5.4'
...
fix(uhci): correct rx_fsm initialization enum type (v5.4)
See merge request espressif/esp-idf!48196
2026-05-14 10:12:13 +08:00
Hu Rui
eab7eaf3ca
fix(uhci): fix uhci cache issue on ESP32-P4
2026-05-07 20:42:16 +08:00
Chen Chen
91453bb831
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 15:27:39 +08:00
Song Ruo Jing
66030feab5
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-14 20:20:33 +08:00
Evgeny Torbin
f7395255da
test: format all test scripts
2026-03-11 07:34:34 +01:00
Song Ruo Jing
e801bde973
fix(uart): Avoid division by zero error when calling uart_get_baudrate
...
If uart_driver_install is not called before uart_get_baudrate,
the UART port may not be ready. In such cases, the register values
cannot be read out, leading to a division by zero error in uart_ll_get_baudrate.
This commit adds a check to ensure the UART port is enabled before
attempting to read its registers.
Closes https://github.com/espressif/esp-idf/issues/17513
2026-02-25 11:31:44 +08:00
Song Ruo Jing
b1bb83df2b
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-25 11:31:44 +08:00
Chen Chen
851ffae394
fix(intr_alloc): Fix ISR allocate methods in several drivers
2025-12-25 15:02:16 +08:00
Song Ruo Jing
e1eceef90d
fix(uart): fix some uart port generate a RX BRK_DET intr on reset issue
...
Issue saw on S3 UART2 and some LP_UART ports
2025-11-24 11:38:07 +08:00
Song Ruo Jing
0d7c665033
fix(uart): correct uart_get_tx_buffer_free_size calculation
...
Modified a bit on the TX ring buffer push size logic
Closes https://github.com/espressif/esp-idf/issues/15859
2025-11-24 11:37:45 +08:00
Song Ruo Jing
c2bc31a98b
fix(uart): fix release pin logic if switching only one pin
2025-11-22 17:45:43 +08:00
morris
08b0df07a3
Merge branch 'doc/tsens_uhci_v5.4' into 'release/v5.4'
...
doc: Update temperature snesor docs, remove inaccurate part, Fix uhci compiling on non-supported target (backport v5.4)
See merge request espressif/esp-idf!42465
2025-10-27 14:05:57 +08:00
Chen Jichang
679c197185
refactor(gdma): move buffer aligment to buffer mount config
2025-10-15 15:40:39 +08:00
C.S.M
b74dea1d21
docs(uhci): implementation for uart-dma (uhci) docs
2025-10-10 16:35:45 +08:00
C.S.M
f148acc534
feat(uhci): Add uhci (uart-dma) support on current chips
2025-08-26 16:06:49 +08:00
wanckl
ea03622621
ci(esp32c61): remove c61 support from readme on 5.4
2025-06-17 15:09:40 +08:00
Song Ruo Jing
16fced715f
docs(uart): improve set/get baud rate API docs
...
Closes https://github.com/espressif/esp-idf/issues/15449
2025-05-27 14:15:33 +08:00
Song Ruo Jing
1084a1e14c
fix(uart): fixed coverity ininitialized scalar variable in uart_tcgetattr
2025-05-27 14:15:33 +08:00
Song Ruo Jing
bb52e53ede
fix(uart): eliminate garbled data on UART TX/RX line in sleep
2025-05-27 14:15:33 +08:00
Song Ruo Jing
60f5828a4a
feat(uart): add pin release process to uart driver
2025-05-27 14:15:29 +08:00
Song Ruo Jing
9ed617fb17
fix(gpio): removed unnecessary step when routing input signal to a pin
2025-05-20 15:30:26 +08:00
wuzhenghui
33aca83c63
change(ci): remove esp32c5 from readme since esp32c5 skipped CI build
2025-04-25 17:13:27 +08:00
Song Ruo Jing
e774dbfd0f
fix(uart): LP UART does not have the pre-divider for its clock source
...
Closes https://github.com/espressif/esp-idf/issues/15427
2025-03-10 15:29:09 +08:00
Song Ruo Jing
3d08efd83a
refactor(uart): increase test app memory leak tolerance
2025-03-07 21:15:51 +08:00
Song Ruo Jing
131330034a
fix(uart): allow same pin for tx and rx in uart_set_pin
...
Closes https://github.com/espressif/esp-idf/issues/14787
2025-01-08 20:38:11 +08:00
Song Ruo Jing
f693485ad0
fix(uart): fix race condition with the use of UART_SELECT_READ_NOTIF
...
UART_SELECT_READ_NOTIF needs to be sent after received data got processed
to avoid the potential race condition
2025-01-08 19:44:36 +08:00
morris
c670044eab
Merge branch 'feature/uart_sleep_retention_support_c5_c61_v5.4' into 'release/v5.4'
...
feat(uart): support uart sleep retention on C5/C61 (v5.4)
See merge request espressif/esp-idf!35400
2025-01-07 10:29:23 +08:00
morris
51bae98066
Merge branch 'bugfix/uart_vfs_read_behavior_v5.4' into 'release/v5.4'
...
fix(uart_vfs): read() now aligned to POSIX defined behavior (v5.4)
See merge request espressif/esp-idf!35392
2025-01-07 10:28:54 +08:00
Song Ruo Jing
7167b04e6e
fix(uart): fix 8/16-bit uart register access
2024-12-25 15:32:06 +08:00
Song Ruo Jing
cfcedfe42d
feat(uart): support uart sleep retention on C5/C61
2024-12-03 17:17:14 +08:00
Song Ruo Jing
43175ff671
fix(uart_vfs): read() now aligned to POSIX defined behavior
...
- For blocking mode, block until data available
- Return with the bytes available in the file at the time,
it should not block until reaching the requested size
And read() should not realy return on the newline character
Closes https://github.com/espressif/esp-idf/issues/14155
2024-12-03 16:32:01 +08:00
Tomáš Rohlínek
0aa10dcb43
feat(storage/vfs): move uart driver to new vfs API
2024-11-28 13:56:33 +01:00
Li Shuai
bde6b9141f
change(esp_hw_support): update some modules sleep retention init dependency bitmap
2024-11-18 17:46:40 +08:00
Song Ruo Jing
dc15243a64
refactor(uart): minor update on uart retention feature
2024-10-22 17:43:28 +08:00
Wu Zheng Hui
6abe40e590
Merge branch 'feature/optimize_esp32p4_active_power_eco1' into 'master'
...
feat(system): Optimize esp32p4 active state power consumption
Closes PM-103 and IDF-7688
See merge request espressif/esp-idf!32950
2024-09-11 23:15:29 +08:00
wuzhenghui
13e42707a0
feat(esp_hw_support): add clk tree source gate management api
2024-09-11 10:53:01 +08:00
wuzhenghui
05e74480f5
feat(esp_system): gate some clock by default to optmize esp32p4 active power
2024-09-11 10:53:00 +08:00
wuzhenghui
fd79c593fb
fix(ci): increase uart driver test memory leak threshold
2024-09-07 02:04:43 +08:00
Song Ruo Jing
e1f27d04ed
fix(uart): enable ci target test for uart for c5
2024-09-02 15:24:29 +08:00
Lou Tianhao
4393343ac9
fix(ci): some actions taken to pass ci
2024-08-29 14:15:41 +08:00
Song Ruo Jing
15e20f0dfb
Merge branch 'ci/enable_esp32p4_gpio_uart_target_test' into 'master'
...
fix(gpio): esp32p4 IOs cannot keep being held in the entire deep sleep process
Closes IDF-8968, IDF-8971, and IDF-9877
See merge request espressif/esp-idf!32510
2024-08-16 17:31:59 +08:00
Song Ruo Jing
1171c3c281
fix(ci): enable gpio, uart target tests on esp32p4
2024-08-15 21:54:21 +08:00
Song Ruo Jing
2f92d863d8
fix(uart): eliminated potential glitch on TX at setup if TX signal is inversed
...
Closes https://github.com/espressif/esp-idf/issues/14285
2024-08-15 16:36:18 +08:00
gaoxu
cd9d8bf2e9
feat(uart): support uart on ESP32C61
2024-08-05 15:06:51 +08:00
wanlei
3cf069c7d8
feat(esp32c61): disable unsupported build test
2024-07-16 16:06:19 +08:00
Song Ruo Jing
f24d529c70
fix(uart): fix uart_config_t structure size difference in C and C++
2024-07-08 20:17:27 +08:00