Jiang Jiang Jian
a5ecb8a5dc
Merge branch 'bugfix/fix_some_ble_bugs_2503_v5.0' into 'release/v5.0'
...
Bugfix/fix some ble bugs 2503 (v5.0)
See merge request espressif/esp-idf!38287
2025-04-22 10:08:08 +08:00
zhanghaipeng
287f45ad8b
fix(ble/bluedroid): Fix potential uint32_t overflow in BLE btu_start_timer
2025-04-21 19:15:09 +08:00
Zhang Hai Peng
3a16029484
fix(ble/bluedrooid): Fixed memory leak issue when deinit the host
...
(cherry picked from commit 6becf74cbb )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-04-21 16:28:50 +08:00
Zhang Hai Peng
1660aa1a84
fix(ble/bluedroid): Fix missing event reporting in esp_ble_create_sc_oob_data
...
(cherry picked from commit f291725936 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-04-21 16:28:50 +08:00
Zhang Hai Peng
be5aa8712b
fix(ble/bluedroid): Fixed BLE crash when disable bluedroid host
...
(cherry picked from commit 9dfa6ab0e9 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-04-21 16:28:50 +08:00
Chen Jian Hua
f726c1d454
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(a684dd5)
...
- Fixed clear legacy adv error when adv not exist
- Disable anonymous extended adv reporting
- Fixed BLE assert lld_adv.c 2992
- Fixed heap assert due to adv data buffer double freeing
- Fixed BLE 0x08 disconnect when the win size is greater than half of the conn interval
(cherry picked from commit 4602665e5d )
Co-authored-by: chenjianhua <chenjianhua@espressif.com >
2025-04-21 14:33:18 +08:00
Jiang Jiang Jian
36a8ce4896
Merge branch 'fix/blemesh25-92_v5.0' into 'release/v5.0'
...
fix(ble_mesh): fixed issues with decrypt failed when resending messages (v5.0)
See merge request espressif/esp-idf!38556
2025-04-21 14:07:47 +08:00
Jiang Jiang Jian
77819073b7
Merge branch 'bugfix/tsens_read_abnormal_value_v5.0' into 'release/v5.0'
...
fix: tsens read abnormal value in esp32c2eco4(backport v5.0)
See merge request espressif/esp-idf!38553
2025-04-21 11:40:30 +08:00
Jiang Jiang Jian
26e70c3969
Merge branch 'bugfix/fix_phy_data_partition_restoring_default_fails_issue_v5.0' into 'release/v5.0'
...
fix(phy): fix phy data partition restoring default fails issue(Backport v5.0)
See merge request espressif/esp-idf!38552
2025-04-21 11:06:31 +08:00
Jiang Jiang Jian
0e567403ba
Merge branch 'fix/revert_esp32s2_phy_lib_v50' into 'release/v5.0'
...
fix(phy): revert esp32s2 libphy txrx time change
See merge request espressif/esp-idf!38554
2025-04-19 15:04:36 +08:00
Sarvesh Bodakhe
455df4ff02
fix(wifi): Avoid writing to NVS if station configuration is not changed
...
Fixes the regression introduced by e93ddfd739
2025-04-19 10:20:16 +05:30
Luo Xu
9e944c86a5
fix(ble_mesh): fixed issues with decrypt failed when resending messages
...
(cherry picked from commit 4803cea3cc )
Co-authored-by: luoxu <luoxu@espressif.com >
2025-04-18 20:23:26 +08:00
Jiang Jiang Jian
5082a268a6
Merge branch 'bugfix/crypto_reset_on_exit_v5.0' into 'release/v5.0'
...
fix(esp_system): reset crypto peripherals before device restart (v5.0)
See merge request espressif/esp-idf!38480
2025-04-18 19:27:10 +08:00
wangtao@espressif.com
ee271a44af
fix(phy): revert esp32s2 libphy txrx time change
2025-04-18 19:16:13 +08:00
sibeibei
aeeccb7a7c
fix: tsens read abnormal value in esp32c2eco4
2025-04-18 19:05:27 +08:00
muhaidong
26d9925393
fix(phy): fix phy data partition restoring default fails issue
...
Closes https://github.com/espressif/esp-idf/issues/14698
2025-04-18 17:49:16 +08:00
linruihao
1d6002c6c2
fix(bt/controller): Fixed access external memory in isr context
2025-04-18 15:56:48 +08:00
Jin Cheng
8bd0b2dcff
fix(bt/controller): update libbtdm_app.a
...
- fixed errors in the coexistance of ACL and SCO
- fixed dynamic priority config error in dual mode
2025-04-18 15:56:31 +08:00
Jiang Jiang Jian
ef9dbc787b
Merge branch 'fix/fix_wifi_connect_mem_leakage_v50' into 'release/v5.0'
...
fix(wifi): fix wifi connect mem leakage v50
See merge request espressif/esp-idf!38488
2025-04-18 14:43:32 +08:00
Island
5fe7b4c80f
Merge branch 'change/ble_update_lib_20250414_v5.0' into 'release/v5.0'
...
change(ble): [AUTO_MR] 20250414 - Update ESP BLE Controller Lib (v5.0)
See merge request espressif/esp-idf!38490
2025-04-18 11:09:18 +08:00
Jiang Jiang Jian
2d8537a8f9
Merge branch 'bugfix/no_write_evt_report_v5.0' into 'release/v5.0'
...
fix(bt): fixed spp not reporting write event(v5.0)
See merge request espressif/esp-idf!38462
2025-04-17 15:38:55 +08:00
Zhou Xiao
3673c57cdd
fix(ble): remove null pointer assert in npl event deinit
...
(cherry picked from commit ece108c0bf )
Co-authored-by: Zhou Xiao <zhouxiao@espressif.com >
2025-04-17 14:05:22 +08:00
Zhou Xiao
fb1267a01a
change(ble): bugs fixed on spi ble log
...
* removed spi master in iram select for flash only firmware
* fixed memory issue in transaction init function
* fixed memory issue in transaction deinit function
2025-04-17 14:05:22 +08:00
cjin
4124ce77aa
feat(ble): use new section for ble sleep on ESP32-C2
2025-04-17 14:05:22 +08:00
Jiang Jiang Jian
43005566ac
Merge branch 'fix/some_issues_in_bt_controller_v5.0' into 'release/v5.0'
...
fix(bt): fixed some issues in bt controller(backport v5.0)
See merge request espressif/esp-idf!38446
2025-04-17 12:50:17 +08:00
Jiang Jiang Jian
2122c077de
Merge branch 'change/allow_keep_sar_poweron_in_light_sleep_v5.0' into 'release/v5.0'
...
change(esp_hw_support): allow sar power keep on during lightsleep (v5.0)
See merge request espressif/esp-idf!38427
2025-04-17 11:12:38 +08:00
Zhou Xiao
3adf9fd579
change(ble): [AUTO_MR] Update lib_esp32c2 to fca2b9ea
...
(cherry picked from commit 09467baed0 )
Co-authored-by: Zhou Xiao <zhouxiao@espressif.com >
2025-04-17 10:53:37 +08:00
wangtao@espressif.com
22bc32930c
fix(wifi): fix wifi connect mem leakage
2025-04-17 10:45:46 +08:00
Jiang Jiang Jian
152eb37307
Merge branch 'fix/fix_incorrect_ota_address_assignment_v5.0' into 'release/v5.0'
...
fix(nimble): Fix incorrect OTA address type assignment (v5.0)
See merge request espressif/esp-idf!38352
2025-04-17 10:37:34 +08:00
Mahavir Jain
f22fd00f93
fix(esp_system): reset crypto peripherals before device restart
...
This change addresses a rare but critical issue observed on certain
ESP32-C3 and ESP32-S3 devices, where secure boot verification
intermittently fails due to improper cleanup of crypto peripherals
during a restart.
Background – Restart Behavior in IDF
------------------------------------
In ESP-IDF, when the device restarts (via `esp_restart()` or due to a
panic/exception), a partial peripheral reset is performed followed by a
CPU reset. However, until now, crypto-related peripherals were not
included in this selective reset sequence.
Problem Scenario
----------------
If a restart occurs while the application is in the middle of a bignum
operation (i.e., using the MPI/Bignum peripheral), the ROM code may
encounter an inconsistent peripheral state during the subsequent boot.
This leads to transient RSA-PSS secure boot verification failures.
Following such a failure, the ROM typically triggers a full-chip reset
via the watchdog timer (WDT). This full reset clears the crypto
peripheral state, allowing secure boot verification to succeed on the
next boot.
Risk with Aggressive Revocation
-------------------------------
If secure boot aggressive revocation is enabled (disabled by default in
IDF), this transient verification failure could mistakenly lead to
revocation of the secure boot digest.
If your product configuration has aggressive revocation enabled,
applying this fix is strongly recommended.
Frequency of Occurrence
-----------------------
The issue is rare and only occurs in corner cases involving
simultaneous use of the MPI peripheral and an immediate CPU reset.
Fix
---
This fix ensures that all crypto peripherals are explicitly reset prior
to any software-triggered restart (including panic scenarios),
guaranteeing a clean peripheral state for the next boot and preventing
incorrect secure boot behavior.
2025-04-16 20:45:18 +08:00
xiongweichao
5abe6e4c52
fix(bt): fixed spp not reporting write event
2025-04-16 17:14:23 +08:00
Jiang Jiang Jian
bb02c680fa
Merge branch 'fix/fix_uart_console_broken_after_sleep' into 'release/v5.0'
...
fix(esp_hw_support): fixed gpio sleep switching filling junk data to the console UART FIFO (v5.0)
See merge request espressif/esp-idf!38426
2025-04-16 16:40:10 +08:00
gongyantao
90c4674d4f
fix(bt): fixed some issues in bt controller
...
- add check for Wi-Fi channel
- fix the incorrect unit of duration_min in cpb tx
- recalculate the channel map when afh is enabled
- fix incorrect vendor event count causing an assertion failure
2025-04-16 15:24:54 +08:00
Shreeyash
04f9e94dea
fix(nimble): Fix incorrect OTA address assignment
2025-04-16 11:54:18 +05:30
wuzhenghui
6af2629bcd
fix(esp_hw_support): fix unused OSC source deinit breaks XTAL32K configuration
2025-04-15 22:07:23 +08:00
wuzhenghui
2d1501f25d
fix(esp_hw_support): fix current leakage if ext32k slow clock source not exists
2025-04-15 22:06:05 +08:00
wuzhenghui
f421ec9443
change(esp_hw_support): allow sar power keep on during lightsleep
2025-04-15 22:00:24 +08:00
wuzhenghui
9dc0805ccb
fix(esp_hw_support): fixed gpio sleep switching filling junk data to the console UART FIFO
2025-04-15 21:57:04 +08:00
Jiang Jiang Jian
cc29434655
Merge branch 'refactor/sae_pt_flag_v5.0' into 'release/v5.0'
...
refactor(wifi): Optimize wifi bin size for station mode (Backport v5.0)
See merge request espressif/esp-idf!38312
2025-04-15 14:37:06 +08:00
Jiang Jiang Jian
60d1381286
Merge branch 'bugfix/esp32s2_memprot_clear_v5.0' into 'release/v5.0'
...
fix(esp_hw_support): clear the memory protection interrupt status on boot (backport v5.0)
See merge request espressif/esp-idf!38056
2025-04-15 14:14:37 +08:00
Jiang Jiang Jian
f3e272a293
Merge branch 'bugfix/handle_missing_unlock_v5.0' into 'release/v5.0'
...
fix(nimble): Fixed one missing ble_hs_unlock() (v5.0)
See merge request espressif/esp-idf!38197
2025-04-15 10:44:33 +08:00
Omar Chebib
ffe8d09f17
fix(esp_hw_support): clear the memory protection interrupt status on boot
...
Fixes https://github.com/espressif/esp-idf/issues/15359
2025-04-14 19:05:36 +08:00
Sajia
3d0ceacd35
refactor(wifi): Optimize wifi bin size for station mode
2025-04-14 14:26:13 +05:30
Jiang Jiang Jian
4426dd5e8d
Merge branch 'fix/sdmmc_write_sectors_dma_always_send_cmd13_v5.0' into 'release/v5.0'
...
fix(sdmmc): sdmmc_write_sectors_dma always check card status after write (v5.0)
See merge request espressif/esp-idf!34344
2025-04-14 15:04:17 +08:00
Jiang Jiang Jian
e8d1e3ced7
Merge branch 'fix/ssdmmc_send_cmd_set_relative_addr_rca_v5.0' into 'release/v5.0'
...
fix(sdmmc): Retry to get another RCA if the previous response was 0 (v5.0)
See merge request espressif/esp-idf!34348
2025-04-14 15:03:07 +08:00
Jiang Jiang Jian
0318fe86ba
Merge branch 'refactor/improve_p4_psram_timing_tuning_point_selection_v5.0' into 'release/v5.0'
...
mspi: improve p4 psram timing tuning point selection (v5.0)
See merge request espressif/esp-idf!38192
2025-04-14 15:01:34 +08:00
tarun.kumar
04b73079b4
fix(esp_wifi): Modifying os_time_t datatype for platform and compiler independence
2025-04-10 13:05:55 +05:30
Rahul Tank
5321b3726e
fix(nimble): Fixed one missing ble_hs_unlock()
2025-04-10 11:29:07 +05:30
Jiang Jiang Jian
e8d066f8d4
Merge branch 'fix/fix_sleep_reject_on_esp32_v5.0' into 'release/v5.0'
...
fix(esp_hw_support): fix short duration sleep requests rejected in pd_flash lightsleep (v5.0)
See merge request espressif/esp-idf!38225
2025-04-10 11:15:48 +08:00
armando
9a713f9b7d
refactor(mspi): improved timing tuning max consecutive success points calculation
2025-04-10 10:49:02 +08:00