Commit Graph
89 Commits
Author SHA1 Message Date
Hu Rui 1dbf4678ef feat(uhci): support transmit multi buffer 2026-07-15 17:34:38 +08:00
morris 4edbc85a4a Merge branch 'bugfix/uart_sw_flow_ctrl_xoff_char_v6.0' into 'release/v6.0'
fix(uart): fix uart sw flow ctrl XOFF char write to wrong reg on ESP32C6 (v6.0)

See merge request espressif/esp-idf!50524
2026-07-15 11:52:07 +08:00
Abanoub Salah dce26b9743 uart: fix threshold configuration loss when interrupts are disabled 2026-07-09 19:24:07 +08:00
Hu Rui 4ece6f3d78 fix(uhci): rx fsm race condition
Closes https://github.com/espressif/esp-idf/issues/18746
2026-07-09 18:55:19 +08:00
Hu Rui 98128e8b56 refactor(uhci): improve uart_dma_ota example & uhci docs
add const to UHCI rx callback edata->data
2026-05-25 10:57:16 +08:00
Chen Jichang d1a64bffc0 refactor(clk_tree): use general api to enable the clk 2026-05-15 13:55:37 +08:00
Chen ChenandCursor ee0da0eb6b 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:26 +08:00
morris af360295bb Merge branch 'bugfix/lp_uart_rx_iomux_pin_not_work_v6.0' into 'release/v6.0'
fix(uart): lp uart rx iomux pin was not working as expected (v6.0)

See merge request espressif/esp-idf!47607
2026-04-28 16:46:48 +08:00
Hu Rui e79fe856a5 fix(uhci): fix uhci cache issue on ESP32-P4 2026-04-24 15:24:29 +08:00
Song Ruo Jing 9054cbd9db 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-21 16:55:31 +08:00
Tomáš Rohlínek ece7bf6af6 feat(storage/vfs): Remove usage of context less VFS APIs 2026-03-23 19:50:28 +01:00
morris efa6156e49 Merge branch 'fix/uhci_receive_err_v6.0' into 'release/v6.0'
fix(uhci): Fix uhci second receive error when first receive is long (backport v6.0)

See merge request espressif/esp-idf!46373
2026-03-19 23:26:53 +08:00
C.S.M 64ece2e663 fix(uhci): Fix uhci second receive error when first receive is long
Closes https://github.com/espressif/esp-idf/issues/18200
2026-03-19 11:59:52 +08:00
Song Ruo Jing dc6a2f3844 fix(uart): fix autobaud detection unable to trigger LOGE when counts unreliable 2026-03-03 17:32:40 +08:00
Song Ruo Jing 32485de6a9 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-03-03 17:32:40 +08:00
Song Ruo Jing a85c62eacb 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-03-03 17:32:40 +08:00
wuzhenghui 0c073a1284 fix(esp_driver_uart): enable pad sleep clock in uart_wakeup_setup function 2026-02-11 15:31:21 +08:00
armando 77d94075f9 fix(uhci): fixed rx buffer potential corruption issue due to cache coherence issue caused by autowriteback 2026-01-15 14:08:53 +08:00
morris 7909976e0f refactor(gdma): channel allocation can return both direction within the same call 2026-01-07 22:44:54 +08:00
Song Ruo Jing ce475d901d refactor(uart): split UART HAL into separate component 2026-01-04 16:02:57 +08:00
C.S.M ed64e7bf78 ci(header_check): Add check for public header should not include freertos 2025-12-10 15:10:43 +08:00
laokaiyao c1ac8c10fb feat(gdma_link): support to select final node link type 2025-12-03 11:23:06 +08:00
morris 0e6525a97c Merge branch 'bugfix/uart_related_backports_v6.0' into 'release/v6.0'
fix(uart): some related uart backports (v6.0)

See merge request espressif/esp-idf!43612
2025-12-02 17:40:25 +08:00
Song Ruo Jing 474477fd4b fix(uart): fix parenthesis typo on UART_INTR_CONFIG_FLAG macro
No real impact on the logic, just typo fix
Closes https://github.com/espressif/esp-idf/issues/17885
2025-11-27 11:08:48 +08:00
Song Ruo Jing 1067b313c6 fix(uart): fix some wdt get triggered due to uart sclk not exist on C5
Interrupt wdt would get triggered on uart_driver_install if uart driver was deleted before
Closes https://github.com/espressif/esp-idf/issues/17779

RTC wdt would get triggered on esp_restart if uart driver was deleted before
2025-11-27 11:08:48 +08:00
Song Ruo Jing de87969611 fix(uart): fix uart_write_bytes gets stuck internally if ring buffer is full
Introduced in c062cd9a95
2025-11-27 11:08:48 +08:00
Song Ruo Jing 1f7e3ac279 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-27 11:08:48 +08:00
Chen Chen 6a211ccf28 fix(intr_alloc): Fix ISR allocate methods in several drivers 2025-11-24 10:52:33 +08:00
morris e9539d4560 refactor: avoid function calls inside MIN/MAX macros 2025-11-18 15:18:14 +08:00
hebinglin b113517e70 feat(esp_hw_support): support lp uart wakeup during sleep v6.0 2025-11-06 19:25:20 +08:00
Song Ruo Jing c062cd9a95 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-10-20 16:24:21 +08:00
Chen Jichang ddef1d3d52 refactor(gdma): move buffer aligment to buffer mount config 2025-09-26 16:42:33 +08:00
Marius Vikhammer 19337d2708 change(vfs): deleted deprecated uart and uart-jtag-serial API 2025-09-22 11:46:07 +08:00
Alexey Lapshin 9281e78381 change(esp_libc): rename newlib component to esp_libc 2025-09-09 22:00:44 +08:00
Song Ruo Jing 6bfdc93593 feat(uart): add DTR and DSR signals support for UART 2025-08-05 16:45:46 +08:00
Ashish Sharma 6b02906822 fix(security): improve memory allocation handling in multiple components 2025-07-28 10:05:50 +08:00
morris c4d7b1cfce refactor(uart)!: deprcated esp_rom_uart.h 2025-07-08 18:56:17 +08:00
Song Ruo Jing 85f0da63fc fix(uart): fix release pin logic if switching only one pin 2025-06-27 21:53:54 +08:00
Song Ruo Jing 60bef64f5c feat(gpio): esp_rom_gpio_connect_in/out_signal now has their hal implementation 2025-06-11 20:41:37 +08:00
wuzhenghui 65b7e70564 feat(driver): support acquire/release clock source dependency for all drivers 2025-05-27 21:21:38 +08:00
Chen Jichang 91d1812315 fix(uhci): only call esp_pm APIs when CONFIG_PM_ENABLE is enabled 2025-05-22 17:27:18 +08:00
morris 7af3bddbca fix(drivers): some false reports from coverity 2025-05-20 16:52:32 +08:00
C.S.M 1637e27ae3 Merge branch 'docs/uhci_programming_guide' into 'master'
docs(uhci): Added implementation for uart-dma (uhci) programming guide

See merge request espressif/esp-idf!38663
2025-05-16 17:26:26 +08:00
C.S.M 093db55bf4 docs(uhci): implementation for uart-dma (uhci) docs 2025-05-16 15:14:51 +08:00
Song Ruo Jing fa00aa43e7 refactor(uart): minor refactor to uart wakeup code 2025-05-15 11:20:59 +08:00
Song Ruo Jing f1446571e7 fix(uart): eliminate garbled data on UART TX/RX line in sleep 2025-05-15 11:07:26 +08:00
Song Ruo Jing 007a497483 feat(uart): add pin release process to uart driver 2025-05-15 11:07:26 +08:00
morris 8af9bb624e test(uhci): enable the psram test in CI 2025-04-30 13:16:57 +08:00
C.S.M bb03892461 feat(uhci): Add length receive threshold support 2025-04-29 11:12:38 +08:00
C.S.M 1a3db8e025 feat(uhci): Add uhci (uart-dma) support on esp32c3, esp32c6, esp32s3, esp32p4 2025-04-27 15:28:23 +08:00