morris
dc3df80c12
Merge branch 'fix/set_dma_incr_fail_on_p4eco5_v5.5' into 'release/v5.5'
...
fix(gdma): fix set dma burst size failure on p4 v3.0 (v5.5)
See merge request espressif/esp-idf!44461
2025-12-23 23:41:47 +08:00
morris
cff4ebe8ff
Merge branch 'feat/support_parlio_gdma_eof_on_p4eco5_v5.5' into 'release/v5.5'
...
feat(parlio): support parlio gdma eof on p4 rev3.0 (v5.5)
See merge request espressif/esp-idf!44038
2025-12-23 22:40:38 +08:00
Chen Jichang
3678a25e4c
fix(gdma): fix set dma burst size failure on p4 v3.0
2025-12-23 11:22:47 +08:00
Jiang Jiang Jian
e0577ae677
Merge branch 'fix/fix_esp32s2_phy_issue_v55' into 'release/v5.5'
...
fix(phy): fix esp32s2 phy lib issue v55
See merge request espressif/esp-idf!44341
2025-12-18 15:48:01 +08:00
Island
8789584388
Merge branch 'bugfix/bug_ble_max_device_record_v5.5' into 'release/v5.5'
...
fix(ble/bluedroid): Fixed BLE incorrect device record count issue (v5.5)
See merge request espressif/esp-idf!43597
2025-12-18 14:29:52 +08:00
Island
a63ae743b1
Merge branch 'bugfix/fix_reconnect_failed_with_extend_adv_v5.5' into 'release/v5.5'
...
fix(ble/bluedroid): Fixed the issue that extend advertising might not restart if the connection fails (v5.5)
See merge request espressif/esp-idf!44251
2025-12-18 14:26:44 +08:00
Island
5cf7ec68bc
Merge branch 'bugfix/fix_ble_security_issue_2025_v5.5' into 'release/v5.5'
...
Fix potential CVE-2024-0039 out-of-bounds write in attp_build_value_cmd (v5.5)
See merge request espressif/esp-idf!43807
2025-12-18 14:25:15 +08:00
Island
51493f9445
Merge branch 'bugfix/fix_reattempt_sync_estab_v5.5' into 'release/v5.5'
...
fix(nimble): Add change to cancel sync in case of reattempt (v5.5)
See merge request espressif/esp-idf!43949
2025-12-18 14:21:18 +08:00
Jiang Jiang Jian
f230471ee6
Merge branch 'bugfix/fix_esp32_coex_cache_disable_crash_v5.5' into 'release/v5.5'
...
fix(coex): fix esp32 coex crash issue v5.5
See merge request espressif/esp-idf!44288
2025-12-18 14:05:52 +08:00
Jiang Jiang Jian
2a039e30d4
Merge branch 'bugfix/fix_bt_4205_v5.5' into 'release/v5.5'
...
Fixed BLE assert lld_con.c 1479 on ESP32-C3 and ESP32-S3(5106725) (v5.5)
See merge request espressif/esp-idf!44328
2025-12-18 13:59:23 +08:00
wangtao@espressif.com
c8ba727536
fix(phy): fix esp32s2 phy lib issue
2025-12-17 20:36:28 +08:00
zhanghaipeng
c4cc87501b
fix(ble/bledroid): fix codespell issues in bluedroid code
2025-12-17 17:10:58 +08:00
Chen Jian Hua
ebd08a5aa6
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(5106725)
...
- Fixed BLE assert lld_con.c 1479
(cherry picked from commit 22641241fa )
Co-authored-by: chenjianhua <chenjianhua@espressif.com >
2025-12-17 12:53:55 +08:00
Xiao Xufeng
27f1484774
test(esp_flash): fixed test config that c5 not support 120MHz
2025-12-17 12:16:55 +08:00
Xiao Xufeng
187f43a3bb
Revert "fix(esp_system): limit CPU clock to 160MHz in ESP32-C5 for flash encryption"
...
This reverts commit 3c5d2e6b58 .
2025-12-17 03:33:30 +08:00
Xiao Xufeng
faf6cc4f84
feat(spi_flash): implement dynamic CPU frequency switching workaround for encrypted writes
...
This commit implements a workaround that allows ESP32-C5 to run at 240MHz CPU frequency
normally, while automatically reducing CPU frequency during encrypted flash writes to
ensure correct operation. The frequency limit is chip revision dependent:
- v1.2 and above: limited to 160MHz during encrypted writes
- v1.0 and below: limited to 80MHz during encrypted writes
Key implementation details:
- Frequency limiting is triggered automatically when esp_flash_write_encrypted() is called
- Uses start() flags (ESP_FLASH_START_FLAG_LIMIT_CPU_FREQ) to integrate with OS layer
- Works with both PM enabled and disabled configurations
- Frequency is automatically restored after encrypted write completes
- For ESP32-C5 with 120MHz flash, Flash clock and timing registers are adjusted when
CPU frequency is reduced to 80MHz
- SPI1 timing registers are configured during frequency switching since encrypted writes
use SPI1 and must work correctly at reduced CPU frequencies
Code improvements:
- Use SOC_MSPI_FREQ_AXI_CONSTRAINED capability macro instead of hardcoded chip checks
- Control workaround via Kconfig (CONFIG_PM_WORKAROUND_FREQ_LIMIT_ENABLED) instead of
hardcoded macros
- Add comprehensive test cases covering various PM configurations and edge cases
This workaround enables ESP32-C5 applications to benefit from 240MHz CPU performance
while maintaining reliable encrypted flash write functionality.
2025-12-17 03:33:29 +08:00
Mahavir Jain
9ab736cbd1
fix(spi_flash): limit CPU clock to 160MHz for encrypted flash writes
2025-12-17 03:33:29 +08:00
liuning
3aa928d503
fix(coex): fix esp32 coex crash issue (7260f71)
2025-12-16 16:04:58 +08:00
Jiang Jiang Jian
e3d0b196c9
Merge branch 'bugfix/fix_regdma_data_race_v5.5' into 'release/v5.5'
...
fix: add mutex protection for software trigger RegDMA start to avoid data races V5.5
See merge request espressif/esp-idf!44168
2025-12-15 23:41:38 +08:00
Zhi Wei Jian
5452adbcb9
fix(ble/bluedroid): Fixed reconnection failed with extend adv
...
(cherry picked from commit ec4052c1c7 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2025-12-15 21:23:25 +08:00
Aditya Patwardhan
9bb7aa84fe
Merge branch 'feat/mbedtls_aes_tests_v5.5' into 'release/v5.5'
...
Only reallocate unaligned external AES and SHA buffers (v5.5)
See merge request espressif/esp-idf!44162
2025-12-15 14:25:22 +05:30
Akshat Agrawal
b81023c19e
bugfix(wifi): Resolve the memory corruption issue in FTM
2025-12-12 15:05:06 +05:30
harshal.patil
11c8f6aa94
fix(mbedtls/aes): Reallocate buffers only if in external RAM
2025-12-12 13:00:40 +05:30
Chen Jichang
0e541d8348
feat(parlio): support parlio gdma eof on p4 rev3.0
2025-12-12 11:50:49 +08:00
sibeibei
0f07ad18b6
fix: add mutex protection for software trigger RegDMA start to avoid data races
2025-12-11 20:32:53 +08:00
Jiang Jiang Jian
332c73b20b
Merge branch 'fix/fix_an_ot_trel_risk_v5.5' into 'release/v5.5'
...
fix(openthread): fix a potential stack overflow in TREL (v5.5)
See merge request espressif/esp-idf!43932
2025-12-11 16:42:26 +08:00
zwx
8a70704be6
fix(openthread): open nvs from the configured partition
2025-12-05 14:06:19 +08:00
zwx
acc569fd95
fix(802.15.4): fixed energy detection result
2025-12-05 12:20:23 +08:00
Xu Si Yu
26e23725da
feat(openthread): Use PSRAM by default for OpenThread message buffers when PSRAM is enabled
2025-12-05 12:20:11 +08:00
Xu Si Yu
74b294187d
fix(openthread): fix an error in Kconfig
2025-12-05 12:20:02 +08:00
Tan Yan Quan
5af377ce18
fix(openthread): resolve deadlock issues due to switching_lock
...
* esp-openthread: thread_zigbee/esp-openthread@4a650cc2f
* openthread: espressif/openthread@36b14d3ef
* esp-idf: espressif/esp-idf@871ec2c1e
2025-12-04 16:09:30 +08:00
Jiang Jiang Jian
871ec2c1ef
Merge branch 'feat/enable_lowpower_tests_for_p4_v3_v5.5' into 'release/v5.5'
...
feat: re-enable P4 pm/wakeup tests for rev3.0 (v5.5)
See merge request espressif/esp-idf!43760
2025-12-04 10:46:56 +08:00
Jiang Jiang Jian
ddb9f5d9dc
Merge branch 'fix/fix_mspi_write_stuck_after_reset_v5.5' into 'release/v5.5'
...
fix(esp_system): fix mspi write stuck after cpu/digital reset on c5/c61 (v5.5)
See merge request espressif/esp-idf!43732
2025-12-04 10:34:56 +08:00
Jiang Jiang Jian
b1e3248f23
Merge branch 'feat/update_libphy_for_c5_c61_v5.5' into 'release/v5.5'
...
feat(phy): update libphy to fix c5/c61 reset(backport v5.5)
See merge request espressif/esp-idf!43854
2025-12-03 19:48:28 +08:00
Jiang Jiang Jian
70ab2dde1b
Merge branch 'bugfix/oob_in_bta_dm_sdp_result_v5.5' into 'release/v5.5'
...
fix(bt/bluedroid): fixed an OOB write in bta_dm_sdp_result (v5.5)
See merge request espressif/esp-idf!43203
2025-12-03 16:49:49 +08:00
Jiang Jiang Jian
e492290391
Merge branch 'fix/increase_c61_default_sleep_out_overhead_us_v5.5' into 'release/v5.5'
...
fix(esp_hw_support): update DEFAULT_SLEEP_OUT_OVERHEAD_US for esp32c61 (v5.5)
See merge request espressif/esp-idf!43912
2025-12-03 13:49:12 +08:00
Zhang Hai Peng
d28b874e35
fix(ble/bluedroid): Fix security issues in GATT module
...
(cherry picked from commit f502b2aab1 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-12-03 11:54:24 +08:00
Zhang Hai Peng
ef96110b4d
fix(ble/bluedroid): Fix security issues in HCI module
...
(cherry picked from commit b163685c06 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-12-03 11:54:23 +08:00
Zhang Hai Peng
7c7f30aa09
fix(ble/bluedroid): Fix security issues in GAP module
...
(cherry picked from commit 1ed5a4465d )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-12-03 11:54:22 +08:00
Zhang Hai Peng
569854b55a
fix(ble/bluedroid): Add length check in prepare write response
...
(cherry picked from commit b03ff3cf21 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-12-03 11:54:22 +08:00
Zhang Hai Peng
1936ba80d7
fix(ble/bluedroid): Add boundary check for adv_handle in btm_ble_adv_set_terminated_evt
...
(cherry picked from commit d2baf3b0d4 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-12-03 11:54:21 +08:00
Zhang Hai Peng
1ab91f0b5f
fix(ble/bluedroid): Add NULL checks in GATT APIs
...
(cherry picked from commit a6730c7da6 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-12-03 11:54:20 +08:00
Zhang Hai Peng
8960e3ef50
fix(ble/bluedroid): Add NULL checks in esp_gap_ble_api
...
(cherry picked from commit b71c51564a )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-12-03 11:54:19 +08:00
Zhang Hai Peng
8ef83c2367
fix(ble/bluedroid): Add NULL check in esp_ble_gap_add_device_to_resolving_list
...
(cherry picked from commit 4b44d8e814 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-12-03 11:54:19 +08:00
Rahul Tank
71c8c34318
fix(nimble): Add change to cancel sync in case of reattempt
2025-12-03 09:24:02 +05:30
Jiang Jiang Jian
e8b98540b3
Merge branch 'bugfix/fix_some_bugs_related_to_ampdu_v5.5' into 'release/v5.5'
...
fix(wifi): fix some bugs related to ampdu(backport v5.5)
See merge request espressif/esp-idf!43848
2025-12-03 10:58:12 +08:00
Xu Si Yu
0f9c93d773
fix(openthread): fix a potential stack overflow in TREL
2025-12-03 10:36:11 +08:00
morris
a4b11386a1
Merge branch 'feat/esp32p4_eco5_adc_cali_v5.5' into 'release/v5.5'
...
feat(adc): support ADC calibration on ESP32P4 ECO5 (v5.5)
See merge request espressif/esp-idf!43778
2025-12-03 09:51:14 +08:00
Jiang Jiang Jian
a5cc517d31
Merge branch 'fix/core_system_fixes_for_p4_eco5_v5_5' into 'release/v5.5'
...
Core System fixes for p4 eco5 (v5.5)
See merge request espressif/esp-idf!43726
2025-12-02 19:56:22 +08:00
Jiang Jiang Jian
07d815b447
Merge branch 'fix/recursion_caused_due_to_unaligned_ext_mem_buf_v5.5' into 'release/v5.5'
...
AES driver should use internal buffers to perform chunk wise operations when external buffers are unaligned (v5.5)
See merge request espressif/esp-idf!43898
2025-12-02 16:37:04 +08:00