2710 Commits
Author SHA1 Message Date
morris d6d79328f1 Merge branch 'fix/fix_rmt_loop_tx_trigger_done_event_v5.2' into 'release/v5.2'
fix(rmt): clear stale TX done status before new transaction (v5.2)

See merge request espressif/esp-idf!51657
2026-08-26 18:51:54 +08:00
Jiang Jiang Jian c7332f41bd Merge branch 'fix/spi_buslock_unregister_issue_v5.2' into 'release/v5.2'
fix(hw_support): spi buslock fix unregister dev api issue (v5.2)

See merge request espressif/esp-idf!51476
2026-08-11 14:19:11 +08:00
Chen Jichang 71fb87b77f fix(rmt): fix loop tx can trigger done event 2026-08-10 19:14:30 +08:00
laokaiyao a8586986a6 fix(i2s): add check to gdma callback register
Closes https://github.com/espressif/esp-idf/issues/18930
2026-08-06 15:00:04 +08:00
wanckl c107a30b6e fix(hw_support): spi buslock fix unregister dev api issue 2026-08-04 11:35:45 +08:00
morris 9d97e439c8 fix(sdspi): reject oversized pre-read data before block receive
Guard start_command_read_blocks against cards that place TOKEN_BLOCK_START so early that extra_data_size exceeds the bytes expected on the current iteration. Without this check, the unsigned subtraction for will_receive underflows and propagates into memset, SPI transaction length, and memcpy counts against the fixed 516-byte block buffer.
2026-07-29 11:48:31 +08:00
morris 0b2cf7f2ea fix(i2c): release platform mutex on intr/pm_lock delete failure
ESP_RETURN_ON_ERROR inside the s_i2c_platform.mutex critical section
returns without releasing the mutex, permanently blocking all I2C
bus operations. Replace with ESP_GOTO_ON_ERROR that jumps to a
cleanup label releasing the mutex before return.
2026-07-29 11:48:31 +08:00
morris ca2635245b Merge branch 'contrib/github_pr_18677_v5.2' into 'release/v5.2'
fix(uart): fix threshold configuration loss when interrupts are disabled (v5.2)

See merge request espressif/esp-idf!50528
2026-07-15 11:57:25 +08:00
Hu Rui 06f0685cbe fix(dac): dac_continuous set is_cyclic flag in async mode 2026-07-09 11:21:13 +08:00
Abanoub Salah 1deec19434 uart: fix threshold configuration loss when interrupts are disabled 2026-07-08 22:12:22 +08:00
gaoxu e940896908 ci(adc): remove ADC runner and move ADC tests to generic 2026-06-26 16:16:07 +08:00
morrisandCursor 650cfd2b01 fix(sdio_slave): align buffer size checks with descriptor limits
Define per-target SDIO slave descriptor buffer limits in the LL layer and validate queued send buffers against the 4-byte aligned effective maximum. Update the public docs to describe the chip-dependent limit instead of hardcoding 4092 bytes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-22 23:25:48 +08:00
morris 644f790c5c Merge branch 'fix/spi_buslock_multi_dev_acq_release_issue_v5.2' into 'release/v5.2'
fix(esp_hw_support): fixed spi buslock multi dev acq/release logic issue (v5.2)

See merge request espressif/esp-idf!49178
2026-06-10 10:10:45 +08:00
wanckl 443a34544c fix(esp_hw_support): fixed spi buslock multi dev acq/release logic issue 2026-06-04 15:12:03 +08:00
hebinglin 6bd2205d76 fix(hal): fix the issue of dual-core contention for RTC_CNTL regs 2026-06-02 12:12:54 +08:00
morris 7c1fd24b62 Merge branch 'doc/i2s_esp32_mclk_restriction_v5.2' into 'release/v5.2'
docs(i2s): add note for the restriction of MCLK on esp32 (v5.2)

See merge request espressif/esp-idf!48575
2026-05-28 11:36:53 +08:00
morris e8cafc1805 Merge branch 'bugfix/lp_uart_rx_iomux_pin_not_work_v5.2' into 'release/v5.2'
fix(uart): lp uart rx iomux pin was not working as expected (v5.2)

See merge request espressif/esp-idf!47611
2026-05-20 10:16:04 +08:00
Chen Chen 7b7bb4f6f2 docs(i2s): add note for the restriction of MCLK on esp32
Closes https://github.com/espressif/esp-idf/issues/18564
2026-05-15 16:38:10 +08:00
Song Ruo Jing 0428bd18bf 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:21:13 +08:00
Chen Chen bcae0e1c0a docs(i2c): update i2c_master_probe parameter comment
closes https://github.com/espressif/esp-idf/issues/18442
2026-04-13 15:13:50 +08:00
Chen Chen 41029ef278 ci(i2c): ignore known failure test case for legacy i2c driver 2026-04-07 16:06:27 +08:00
Chen Jichang 107548e016 change(parlio_tx): use shift edge instead sample edge
Made-with: Cursor
2026-04-02 18:41:32 +08:00
C.S.M c6795167c6 fix(i2c_master): Fix concurrency issue with task and interrupt when nack 2026-04-01 14:58:53 +08:00
Chen Chen f7a44d1b09 ci(i2c): bypass the know failure case for deprecated driver 2026-04-01 08:40:00 +08:00
laokaiyao 858f3602bd ci(legacy_adc_dac): ease ADC read restriction 2026-03-30 10:18:50 +08:00
Jiang Jiang Jian c32138bee2 Merge branch 'bugfix/fix_i2s_auto_port_issue_v5.2' into 'release/v5.2'
fix(i2s): fix the auto port failure when use simplex on ESP32 (v5.2)

See merge request espressif/esp-idf!43822
2026-03-16 11:35:30 +08:00
Song Ruo Jing 8c9f364f3a 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:04 +08:00
Song Ruo Jing d5f928c13d 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:04 +08:00
Adorjan White 2725a6cbc8 fix(usb_serial_jtag): tx_ring_buf not checked for successful allocation,
Closes https://github.com/espressif/esp-idf/pull/17945
2026-02-02 10:09:33 +08:00
Chen Jichang 5beb9ea1da feat(parlio): add buffer size alignment warning for c6
Closes https://github.com/espressif/esp-idf/issues/17970
2026-01-14 10:59:22 +08:00
morris 1e3d602c4e Merge branch 'fix/i2c_timeout_range_check_v5.2' into 'release/v5.2'
fix(i2c_master): Add i2c master timeout range check (v5.2)

See merge request espressif/esp-idf!44080
2026-01-08 10:30:22 +08:00
Chen Chen b17fe62b8d fix(i2c_master): Add i2c master timeout range check
Closes https://github.com/espressif/esp-idf/issues/17930
2026-01-07 10:09:11 +08:00
morris 55b6f2df37 refactor(tests): add missing sdkconfig files in the driver test 2026-01-06 16:06:29 +08:00
wanckl 6b82249447 feat(driver_spi): spi master support sleep retention(recovery) 2025-12-23 13:48:27 +08:00
Chen Yudong 844f5ce69a ci: rename wifi_two_dut to two_duts 2025-12-03 19:00:23 +08:00
laokaiyao 477ae34d01 fix(i2s): fix the auto port failure when use simplex on ESP32 2025-11-28 11:46:31 +08:00
Song Ruo Jing 432e992038 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 17:06:36 +08:00
Song Ruo Jing 2b69944222 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 17:06:36 +08:00
Song Ruo Jing b888adadae fix(uart): fix release pin logic if switching only one pin 2025-11-24 17:06:29 +08:00
morris 0d8a531a65 Merge branch 'feature/i2s_support_merge_simplex_to_duplex_v5.2' into 'release/v5.2'
feat(i2s): support to lazy constitute full-duplex mode (v5.2)

See merge request espressif/esp-idf!41845
2025-11-18 17:15:01 +08:00
Chen Jichang 211c46e345 fix(rmt): fix pm lock type to increase stability 2025-11-03 16:25:17 +08:00
morris 58003aea07 Merge branch 'bugfix/fixed_i2s_write_invalid_offset_issue_v5.2' into 'release/v5.2'
fix(i2s): fixed invalid offset in the big gap writing scenario (v5.2)

See merge request espressif/esp-idf!42755
2025-10-30 13:16:37 +08:00
Chen Jichang 0e6fd6d31c test(pcnt): expend assert value to decrease failure ratio 2025-10-27 11:11:50 +08:00
laokaiyao aae7e3cbed fix(i2s): fixed invalid offset in the big gap writing scenario 2025-10-23 11:53:31 +08:00
laokaiyao 8207fba17a feat(i2s): support to lazy constitute full-duplex mode 2025-10-17 10:28:14 +08:00
morris 2b20f03674 Merge branch 'feat/rmt_support_psram_v5.2' into 'release/v5.2'
fix(rmt): alloc channel memory from internal (v5.2)

See merge request espressif/esp-idf!42430
2025-10-14 14:26:08 +08:00
Chen Jichang fc45410ded fix(rmt): use memset to clear entire RMT memory block instead of single word
closes https://github.com/espressif/esp-idf/issues/17692
2025-10-13 11:03:50 +08:00
Chen Jichang f172bb9877 fix(rmt): alloc channel memory from internal 2025-10-10 18:17:21 +08:00
Chen Jichang 6243ff9ee3 fix(mcpwm): fix division by zero error in prescale
Closes https://github.com/espressif/esp-idf/issues/17665
2025-10-09 16:06:14 +08:00
Jiang Jiang Jian 9599b68578 Merge branch 'feat/uart_dma_support_v5.2' into 'release/v5.2'
feat(uart): uart dma support for internal usage on v5.2

See merge request espressif/esp-idf!41671
2025-10-09 10:53:45 +08:00