Commit Graph

155 Commits

Author SHA1 Message Date
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
Song Ruo Jing
6640b5a2de Merge branch 'feature/uart_glitch_filter' into 'master'
feat(uart): Add glitch filter functionality to UART input signal

Closes IDFGH-16374 and IDFGH-16763

See merge request espressif/esp-idf!44554
2026-01-23 16:22:00 +08:00
Song Ruo Jing
f860fa1d00 fix(uart): fix autobaud detection unable to trigger LOGE when counts unreliable 2026-01-23 11:36:45 +08:00
Song Ruo Jing
8baea2e4a0 feat(uart): add glitch filter functionality for UART
Closes https://github.com/espressif/esp-idf/issues/17847
2026-01-23 11:36:32 +08:00
igor.udot
4c26ab876b ci: update build-test-rules to use common_components 2026-01-23 10:14:09 +08:00
Song Ruo Jing
77aa76ecc4 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-01-22 20:34:50 +08:00
morris
35bdd8c651 feat(dma): graduate the dma driver from esp_hw_support to esp_driver_dma 2026-01-22 14:14:14 +08:00
armando
af94ab909c fix(uhci): fixed rx buffer potential corruption issue due to cache coherence issue caused by autowriteback 2026-01-09 10:38:16 +08:00
morris
fb1b53c7c5 refactor(gdma): channel allocation can return both direction within the same call 2026-01-04 15:39:38 +08:00
Song Ruo Jing
74aeb3f41f refactor(uart): split UART HAL into separate component 2025-12-25 14:41:28 +08:00
Tomáš Rohlínek
8c9d62de98 feat(storage/vfs): Remove old API usage 2025-12-16 17:48:55 +08:00
C.S.M
f405e51784 ci(esp32s31): Add ci build test for esp32s31 2025-12-11 15:17:15 +08:00
C.S.M
690dfd8c79 Merge branch 'feat/introduce_esp32s31_hello_world' into 'master'
feat(esp32s31): Introduce esp32s31 hello world 🛸

See merge request espressif/esp-idf!43761
2025-12-03 13:36:01 +08:00
C.S.M
0c4cf75c35 feat(esp32s31): Introduce esp32s31 hello world 2025-12-02 10:44:16 +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
Song Ruo Jing
f4a5108d49 fix(uart): fix clock deinitialization in uart_detect_bitrate_stop 2025-11-21 20:41:19 +08:00
Song Ruo Jing
5ca9827894 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-21 20:41:19 +08:00
Chen Chen
70a0fb5b7f Merge branch 'fix/handle_shared_intr' into 'master'
Fix/handle shared intr

Closes IDF-12904

See merge request espressif/esp-idf!43149
2025-11-19 11:05:37 +08:00
Chen Chen
47f5ac96fb fix(intr_alloc): Fix ISR allocate methods in several drivers 2025-11-18 12:33:03 +08:00
Song Ruo Jing
8955f13944 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-17 22:29:56 +08:00
Song Ruo Jing
c16d50dd20 fix(ci): increase memory leak threshold for uart rs485 test app 2025-11-17 21:52:19 +08:00
Song Ruo Jing
335273c53e fix(uart): fix send_size calculation in uart_write_bytes
MIN() macro is only an expansion of a conditional operator.
xRingbufferGetCurFreeSize was called twice in the original code,
which may return different values in two calls, leading to incorrect
send_size calculation and eventually could trigger task watchdog.
2025-11-17 21:52:18 +08:00
He Binglin
2213716fd5 Merge branch 'feat/esp_idf_lp_uart_wakeup' into 'master'
feat(esp_hw_support): support lp uart wakeup during sleep

Closes PM-533

See merge request espressif/esp-idf!41704
2025-11-07 11:03:08 +08:00
hebinglin
bf38ef3abc feat(esp_hw_support): support lp uart wakeup during sleep 2025-11-06 16:19:57 +08:00
Song Ruo Jing
d30846578f fix(uart): fix uart_write_bytes gets stuck internally if ring buffer is full
Introduced in c062cd9a95
2025-11-05 22:45:49 +08:00
Song Ruo Jing
8818157e42 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-05 22:45:44 +08:00
Kevin (Lao Kaiyao)
ce65a06cc2 Merge branch 'refactor/parlio_rx_use_dma_link' into 'master'
refactor(parlio_rx): use gdma_link for better gdma link management

Closes IDF-13369, IDF-13627, and IDFGH-16449

See merge request espressif/esp-idf!40743
2025-11-04 12:04:45 +08:00
Mahavir Jain
de349404a8 Merge branch 'fix/fix_coverity_483744' into 'master'
fix: fix unused value in esp uart driver (coverity 487344)

Closes IDF-13755

See merge request espressif/esp-idf!42908
2025-11-03 09:36:26 +05:30
laokaiyao
49284c3f8d feat(gdma_link): support to select final node link type 2025-10-30 16:06:12 +08:00
He Binglin
2e0f0dc66a Merge branch 'test/esp_idf_hp_uart_wakeup' into 'master'
fix(esp_driver_uart): resolve the issue of other chips receiving break data

Closes IDFCI-4616 and IDFCI-4810

See merge request espressif/esp-idf!42952
2025-10-29 19:45:26 +08:00
hebinglin
4e388abd0a fix(esp_driver_uart): resolve the issue of other chips receiving break data 2025-10-28 19:53:46 +08:00
Song Ruo Jing
fab48ae1b7 Merge branch 'feature/ledc_etm_support' into 'master'
feat(ledc): add ETM support for LEDC peripheral

Closes IDF-6355, IDFGH-10620, IDFGH-16378, and IDF-10683

See merge request espressif/esp-idf!41543
2025-10-27 18:28:20 +08:00
Ashish Sharma
5b8cd3f626 fix: fix unused value in esp uart driver 2025-10-27 11:02:48 +08:00
Song Ruo Jing
5a3eda65df fix(uart): fix -Wunused-parameter warning with uart.h 2025-10-23 16:24:11 +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
morris
2de3be7300 feat(dma): graduate the dma driver into a single component 2025-10-19 22:06:46 +08:00
Chen Ji Chang
01a27c8a70 Merge branch 'feat/rmt_support_psram' into 'master'
feat(rmt): support receive buffer to psram

Closes IDF-8997

See merge request espressif/esp-idf!41327
2025-09-30 11:03:22 +08:00
Chen Jichang
ddef1d3d52 refactor(gdma): move buffer aligment to buffer mount config 2025-09-26 16:42:33 +08:00
hebinglin
225b1d8a37 change(esp_hw_support): change some pmu params for esp32h21 & esp32h4 2025-09-26 14:02:55 +08:00
Marius Vikhammer
19337d2708 change(vfs): deleted deprecated uart and uart-jtag-serial API 2025-09-22 11:46:07 +08:00