1657 Commits
Author SHA1 Message Date
harshal.patil d88cb2c719 fix(mbedtls/aes): fix ESP32-S2 Crypto DMA stall on PSRAM output with partial blocks
The ESP32-S2 Crypto DMA in-channel stalls silently when a receive
descriptor list transitions from external to internal RAM. The AES
driver hits this when a PSRAM-output operation has a trailing partial
block, as the internal stream descriptor is linked after the external
RAM data descriptors.

- esp_aes_process_dma(): process the block-aligned part and the partial
  block as two separate DMA operations, keeping each descriptor list
  uniform
- crypto_dma_ll_reset(): also reset the in-channel (per the TRM receive
  reset sequence), otherwise stale state from a preceding external-RAM
  operation corrupts the next operation's output

The GCM DMA path is unaffected; it never operates on PSRAM buffers.
2026-09-04 14:58:33 +05:30
Chen ChenandCursor b775cbf268 fix(hal): prevent overflow in fractional clock division
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 14:47:06 +08:00
morris 9db78e59b3 Merge branch 'fix/uart_is_enable_check_error_on_s3_v5.2' into 'release/v5.2'
Fix ESP32-S3 uart2 is_enabled check error (v5.2)

See merge request espressif/esp-idf!49352
2026-07-22 18:25:57 +08:00
Jiang Jiang Jian 3157e5ee9a Merge branch 'fix/adc_monitor_error_on_ch8_9_on_s3_v5.2' into 'release/v5.2'
Fix ADC Continuous Monitor Callback Failure for ADC1 Channels 8/9 on ESP32-S3 (v5.2)

See merge request espressif/esp-idf!49509
2026-06-29 15:06:42 +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
harshal.patil c19a35990f fix(secure_boot): range-check ECDSA r,s in bootloader before ROM verify 2026-06-16 15:17:49 +05:30
harshal.patil 6d25d74aa6 fix(esp_common): Add esp_fault_internal.h for use by G0 components
In release/v5.x, esp_fault.h resides in the esp_hw_support (G1)
component, so the G0 components (hal, esp_rom) must not depend on it.
Copy its contents to esp_common as esp_fault_internal.h, keep
esp_fault.h as a compatibility wrapper around it, and switch the hal
and esp_rom ECDSA/ECC code to the internal header.
2026-06-16 15:17:49 +05:30
harshal.patilandAshish Sharma 046a3bb908 fix(mbedtls): validate ECDSA signature range and harden ECC memory power-down
Co-Authored-By: Ashish Sharma <ashish.sharma@espressif.com>
2026-06-16 15:17:49 +05:30
gaoxu 4a2a634f66 fix(adc): fix ADC monitor channel 8/9 error
(Closes https://github.com/espressif/esp-idf/issues/17768)
2026-06-10 15:10:40 +08:00
gaoxu 389093e9cb fix(uart): fix ESP32-S3 uart2 is_ enabled check error
(Closes https://github.com/espressif/esp-idf/issues/18690)
2026-06-05 17:35:12 +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 ecfe3b8c3e Merge branch 'fix/adc_clk_div_error_v5.2' into 'release/v5.2'
Fix ADC continuous sample frequency and clock divide error on H2/C5/C61 (v5.2)

See merge request espressif/esp-idf!47980
2026-05-20 10:17:15 +08:00
gaoxu 180597a1d6 fix(adc): fix ESP32-H2/C5/C61 clock divide error 2026-04-29 12:04:03 +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
Song Ruo Jing 9d2d125c85 fix(flash): flash erase operation may fail to raise PMS exception 2026-04-10 15:51:02 +08:00
Jiang Jiang Jian fae7503e65 Merge branch 'bugfix/fix_legacy_touch_driver_stuck_after_dsleep_v5.2' into 'release/v5.2'
fix(legacy_touch): fixed the read stuck issue after deep sleep (v5.2)

See merge request espressif/esp-idf!46013
2026-04-09 12:21:40 +08:00
Jiang Jiang Jian fc8ced73ee Merge branch 'fix/esp32_adc_continuous_loss_sample_v5.2' into 'release/v5.2'
Fix/esp32 adc continuous loss sample (v5.2)

See merge request espressif/esp-idf!42832
2026-04-09 12:21:11 +08:00
morris de9d6cfcc0 Merge branch 'bugfix/fix_temp_sensor_affect_by_adc_v5.2' into 'release/v5.2'
Bugfix/fix temp sensor affect by adc v5.2

See merge request espressif/esp-idf!47031
2026-04-08 10:37:53 +08:00
gaoxu 380627f5e2 fix(adc): fix ESP32 ADC continuous loss sample times 2026-04-08 10:00:05 +08:00
laokaiyao 50416e2161 fix(legacy_touch): fixed the read stuck issue after deep sleep 2026-04-07 16:03:02 +08:00
morris 291075ddf2 Merge branch 'fix/wrong_channel_gpio_num_on_p4_adc2_5.2' into 'release/v5.2'
feat(adc): add adc_continuous_parse_data api (v5.2)

See merge request espressif/esp-idf!46774
2026-04-07 14:17:51 +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
gaoxu 729f344435 fix(tsens): fix temp_sensor affect by adc reset 2026-03-27 17:22:33 +08:00
gaoxu 4de3b4e25a feat(adc): add adc_continuous_parse_data api 2026-03-19 18:39:27 +08:00
muhaidong 40f5755a7c fix(wifi): fix external coexistence depends on wifi connect issue 2026-03-10 17:40:51 +08:00
liuning 1907b8a02e feat(phy): add check for required clock bits during phy enable 2026-03-09 16:52:49 +08:00
liuning 82517904ca bugfix(wifi): fix incomplete phy initialization due to absence of bb clocks at coexistence scenarios 2026-03-06 17:17:21 +08:00
Zhang Wen Xu 7ad29770c4 Merge branch 'feat/split_154_hal_components_v5.2' into 'release/v5.2'
feat(ieee802154): separated the 802.15.4 HAL codes from the HAL component (v5.2)

See merge request espressif/esp-idf!44970
2026-01-30 12:34:03 +00:00
Xu Si Yu 220aa00979 feat(802.15.4): add SW data request detection 2026-01-28 12:16:05 +08:00
laokaiyao 632e15c2ca fix(parlio_rx): fixed opposite sample edge issue
Closes https://github.com/espressif/esp-idf/issues/18012
2026-01-15 12:07:42 +08:00
zwx 066669c26a feat(ieee802154): separated the 802.15.4 HAL codes from the HAL component 2026-01-09 17:07:10 +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 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
gaoxu 4cb5c59532 fix(adc): fix ESP32C6 ADC get high result after enable 2025-11-03 17:07:01 +08:00
laokaiyao 8207fba17a feat(i2s): support to lazy constitute full-duplex mode 2025-10-17 10:28:14 +08:00
C.S.M 7d3447ad48 feat(uhci): Add uhci (uart-dma) support on current chips 2025-09-25 10:48:31 +08:00
Li Shuai 855492fa2e change(hal): add hal interface to configure pau regdma wait timeout parameter 2025-08-28 19:09:08 +08:00
laokaiyao 3b034c6886 feat(i2s): add PLL240M clock source on S3 and C6
Closes https://github.com/espressif/esp-idf/issues/17056
2025-08-26 15:20:36 +08:00
Jiang Jiang Jian 1e4482d1f2 Merge branch 'bugfix/ledc_update_duty_wait_v5.2' into 'release/v5.2'
fix(ledc): duty_start bit should wait for its self-clear before next set on esp32 (v5.2)

See merge request espressif/esp-idf!41281
2025-08-22 15:46:23 +08:00
Jiang Jiang Jian 300d52a3d3 Merge branch 'bugfix/gpio_esp32_workaround_v5.2' into 'release/v5.2'
fix(gpio): fix ESP32 GPIO sleep mode handling (v5.2)

See merge request espressif/esp-idf!41259
2025-08-22 15:45:02 +08:00
Song Ruo Jing 377d92e960 fix(ledc): duty_start bit should wait for its self-clear before next set on esp32 2025-08-14 19:28:02 +08:00
Song Ruo Jing dddb4e5e58 fix(gpio): fix ESP32 GPIO sleep mode handling
The previous workaround does not work, the backup/restore should apply to RTC IO registers.
2025-08-14 16:13:22 +08:00
wuzhenghui c6d13ec757 fix(esp_hw_support): fix MODEM_ADC_COMMON_FE destroyed by modem powerdown lightsleep 2025-08-08 12:02:33 +08:00
nilesh.kale 623bf9b602 feat: enabled ECDSA-P192 support for ESP32H2 2025-07-22 11:26:25 +05:30
Marius Vikhammer b11b97ca9b feat(lp_core): added support for LP-IO as LP-core wakeup source 2025-07-02 17:54:43 +08:00
armando 7a59713121 fix(cache): fixed SOC_CACHE_FREEZE_SUPPORTED not defined on c3/c2 issue 2025-06-25 09:49:16 +08:00
Jiang Jiang Jian 6dc1044aec Merge branch 'fix/fix_esp_timer_accuracy_when_do_dfs_v5.2' into 'release/v5.2'
fix(esp_hw_support): improve esp timer accuracy on DFS for esp32 & esp32s2 (v5.2)

See merge request espressif/esp-idf!39342
2025-05-26 19:55:04 +08:00
wuzhenghui 52296887bf fix(esp_hw_support): update LACT clock prescale immediately when APB changes on esp32 2025-05-22 14:58:39 +08:00
Song Ruo Jing e182cfac59 fix(uart): correct C3/S3 module enable porcedure to avoid undesired line noise 2025-05-20 15:49:29 +08:00
C.S.M 11216d293a fix(i2c): Fix that fsm reset cause i2c scl frequency changed on esp32s2 2025-04-29 17:30:34 +08:00