Commit Graph

26256 Commits

Author SHA1 Message Date
Luo Xu
fe4fb620b0 fix(ble_mesh): added internal buffer to store dfu targets
The protocol may still receive DFU-related packets from the
network (such as forwarded or retransmitted ones) after DFU ends,
while the user might release the targets immediately after DFU completion.
However, since the list head is not empty, the protocol could access
already-freed memory when iterating through the targets.


(cherry picked from commit 8c8b43f564)

Co-authored-by: luoxu <luoxu@espressif.com>
2026-02-09 17:43:17 +08:00
Luo Xu
d2245adf68 fix(ble_mesh): fix blob transfer failure handling and chunk processing
- Fix DFU server transfer error state ordering to ensure proper callback delivery
- Add validation to discard chunks when blob server is not in busy state
- Prevent chunk processing when server is not in active transfer state


(cherry picked from commit f959884b2f)

Co-authored-by: luoxu <luoxu@espressif.com>
2026-02-09 17:43:17 +08:00
Luo Xu
cf8a676ab6 fix(ble_mesh): ensure blob client/server work correctly with varying chunk sizes
(cherry picked from commit 3a8851422f)

Co-authored-by: luoxu <luoxu@espressif.com>
2026-02-09 17:43:16 +08:00
Luo Xu
a52fa35487 fix(ble_mesh): Miscellaneous fixes for blob
(cherry picked from commit c3faf5559a)

Co-authored-by: luoxu <luoxu@espressif.com>
2026-02-09 17:43:16 +08:00
Island
9fc328741a Merge branch 'feat/ble_mesh_alignment_to_v6.0_v5.2' into 'release/v5.2'
feat(ble_mesh): alignment to release/v6.0 (v5.2)

See merge request espressif/esp-idf!45348
2026-02-09 11:35:37 +08:00
morris
0f860c3954 Merge branch 'fix/usb_host_priorities_backport_v5.2' into 'release/v5.2'
fix(host/usb): Fixed deadlock that prevented closing devices from high priority tasks (backport to v5.2)

See merge request espressif/esp-idf!45633
2026-02-06 15:36:41 +08:00
morris
d08b711c59 Merge branch 'fix/min_rev_usage_v5.2' into 'release/v5.2'
fix: fix wrong REV_MIN usage for security, bt, efuse (v5.2)

See merge request espressif/esp-idf!45655
2026-02-06 12:05:19 +08:00
luoxu
e4e30d2bf6 feat(ble_mesh): fixed configuration of core nums 2026-02-06 11:15:20 +08:00
zhiweijian
9b10ee5a35 fix(ble/bluedroid): Fixed smp unit test failed if mbedTLS or TinyCrypt is enabled 2026-02-06 11:15:20 +08:00
luoxu
20c1055fbc feat(ble_mesh): update log compression for ble mesh lib 2026-02-06 11:15:20 +08:00
luoxu
252f7f0907 feat(ble_mesh): update lib commit to d48251ab82 2026-02-06 11:15:20 +08:00
luoxu
b640f05f6a feat(ble_mesh): alignment to release/v6.0 2026-02-06 11:15:20 +08:00
Island
72e9a9ef18 Merge branch 'feat/add_new_bluedroid_host_examples_v5.2' into 'release/v5.2'
feat(ble/bluedroid): Add new bluedroid host examples (v5.2)

See merge request espressif/esp-idf!44877
2026-02-05 10:50:51 +08:00
Xiao Xufeng
7a9200cd0a fix(bt): fix AGC_RECORRECT on ESP32-C3 when REV_MIN configured higher than 102 2026-02-05 01:52:01 +08:00
Tomas Rezucha
6a7a678e6e fix(host/usb): Fixed deadlock that prevented closing devices from high priority tasks
If in usb_host_interface_release() the underlying pipe was halted while having an URB in-flight,
usb_host_client_handle_events() may not have had a chance to process the URB yet.
Check if there are any pending URBs on the pipe before attempting to free it.

Closes https://github.com/espressif/esp-idf/issues/17707
2026-02-04 08:02:08 +01:00
Wang Meng Yang
2eec7186e5 Merge branch 'feat/set_encoder_params_v5.2' into 'release/v5.2'
fix(bt/bluedroid): Handle stream reconfiguration via stream close and re-open for A2DP ACP(v5.2)

See merge request espressif/esp-idf!45468
2026-02-03 13:42:37 +08:00
yangfeng
3cf0db55c3 fix(bt/bluedroid): Handle stream reconfiguration via stream close and re-open for A2DP ACP 2026-02-02 16:48:52 +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
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
zhiweijian
81b1f1e738 fix(ble/bluedroid): Unify BTM byte alignment 2026-01-30 20:25:11 +08:00
zhiweijian
f2ba0aa3be feat(ble/bluedroid): Add new bluedroid host examples 2026-01-30 20:24:33 +08:00
Shu Chen
ce41754cf3 Merge branch 'feat/multiple_instance_for_pending_table_v5.2' into 'release/v5.2'
Feat/multiple instance for pending table (v5.2)

See merge request espressif/esp-idf!45102
2026-01-29 07:24:17 +00:00
Xu Si Yu
610bd68a4a fix(802.15.4): move multipan and data request helpers into IRAM 2026-01-28 14:18:20 +08:00
Xu Si Yu
f798e08bc4 feat(802.15.4): add multipan pending table support 2026-01-28 14:18:04 +08:00
Astha Verma
8586b8d671 fix(nimble): fix esp_hid_device example when static_to_dynamic enabled 2026-01-28 12:18:34 +08:00
Astha Verma
4a0242d70b fix(nimble): Support for concatenation of same type UUID during adv data parsing 2026-01-28 12:18:34 +08:00
Astha Verma
7731d64376 fix(nimble): Reset HID service during deinit 2026-01-28 12:18:34 +08:00
Xu Si Yu
220aa00979 feat(802.15.4): add SW data request detection 2026-01-28 12:16:05 +08:00
Jiang Jiang Jian
bbc82ab138 Merge branch 'bugfix/fix_vendor_ie_and_espnow_issues_v5.2' into 'release/v5.2'
fix vendor ie and espnow issues (v5.2)

See merge request espressif/esp-idf!45437
2026-01-28 10:34:03 +08:00
Jiang Jiang Jian
d0f5fc5c3a Merge branch 'bugfix/wps_reg_crash_v5.2' into 'release/v5.2'
fix(wifi): Add check before allocating eapol sm (v5.2)

See merge request espressif/esp-idf!45251
2026-01-27 17:22:30 +08:00
Jiang Jiang Jian
7474618dfc Merge branch 'feature/support_7.6.1_pvt_auto_dbias_v5.2' into 'release/v5.2'
feat(esp32c6): auto adjust LDO voltage using pvt function (v5.2)

See merge request espressif/esp-idf!44095
2026-01-27 17:16:25 +08:00
zhangyanjiao
b41dae1e43 fix(wifi): fixed the vendor ie length issue 2026-01-27 16:33:32 +08:00
zhangyanjiao
22ca387edb fix(wifi): fixed the vendor ie issue and espnow issue 2026-01-27 16:33:12 +08:00
Jiang Jiang Jian
574e303475 Merge branch 'feat/set_max_sync_conn_v5.2' into 'release/v5.2'
feat(bt): set BR/EDR max sync conn eff for Bluedroid HFP on ESP32 (v5.2)

See merge request espressif/esp-idf!45245
2026-01-27 11:37:12 +08:00
Shreyas Sheth
8f41cb0cfa fix(esp_wifi): Backport some wifi fixes
- Fix incorrect allocation of eb due to rsn ie len mismatch
- Set default NVS sae pwe value to SAE_PWE_BOTH for ap and station
2026-01-26 16:43:41 +05:30
zlq
d11300b3e3 feat(esp32c6): auto adjust LDO voltage using pvt function 2026-01-26 18:02:40 +08:00
Jiang Jiang Jian
665b2e4290 Merge branch 'fix/ieee802154_sec_frame_config_v5.2' into 'release/v5.2'
fix(802.15.4): fixed security frame configuration (v5.2)

See merge request espressif/esp-idf!45356
2026-01-26 10:39:39 +08:00
Jiang Jiang Jian
528c1d5ee2 Merge branch 'bugfix/idfci-7928_v5.2' into 'release/v5.2'
backport v5.2: fix ci failed test case of Automatic light occurs when tasks are suspended

See merge request espressif/esp-idf!45214
2026-01-26 10:34:48 +08:00
yangfeng
0085dc5793 feat(bt): set BR/EDR max sync conn eff for Bluedroid HFP on ESP32
Closes https://github.com/espressif/esp-idf/issues/18060
2026-01-23 17:38:22 +08:00
Augusto Zanellato
5ed7ec99a2 fix(storage/spiffs): fix readdir setting errno on directory end
spiffs_res_to_errno maps `SPIFFS_ERR_END_OF_OBJECT` to EIO which breaks the common contract where
errno should be 0 if readdir iterated through all the entries in a directory.

The fix is explicitly checking for `SPIFFS_ERR_END_OF_OBJECT` and in that case set errno to 0.
2026-01-22 15:02:36 +01:00
zwx
497548c8d5 fix(802.15.4): locate the ieee802154_sec_clear on the noflash 2026-01-22 19:47:45 +08:00
Rahul Tank
c6e865eabc Merge branch 'bugfix/fix_memory_leak_in_deinit_v5.2' into 'release/v5.2'
fix(nimble): Fixed invalid access to already freed memory in deinit sequence (v5.2)

See merge request espressif/esp-idf!45237
2026-01-22 15:22:00 +05:30
zwx
c61a9d1ab6 fix(802.15.4): fixed security frame configuration 2026-01-22 15:15:50 +08:00
Michael (XIAO Xufeng)
8853cf7b4a Merge branch 'fix/cpu_reset_dma_v5.2' into 'release/v5.2'
dma: fixed issue that DMA are not reset when CPU reset (v5.2)

See merge request espressif/esp-idf!42852
2026-01-22 14:08:18 +08:00
Rahul Tank
adfb928148 fix(nimble): Fix memory leak in controller/stack deinit sequence 2026-01-22 09:39:03 +05:30
Island
80a01edc53 Merge branch 'fix/ble_mesh_eliminate_deprecated_warn_for_mbt_v5.2' into 'release/v5.2'
fix(ble_mesh): eliminate deprecated warning for mbt (v5.2)

See merge request espressif/esp-idf!44626
2026-01-22 11:43:58 +08:00
Marius Vikhammer
87e3887c29 ci(core): fixed esp_event not running properly in CI 2026-01-22 09:13:03 +08:00
Xiao Xufeng
07bd3a910f dma: fixed issue that DMA are not reset when CPU reset
When DMA keep writing the memory, some data may be corrupted after reset. For example, the stack of bootloader may be overwritten and failed to boot until a higher scope of reset (Core).
2026-01-22 02:58:20 +08:00
Island
1875d5773d Merge branch 'change/ble_update_lib_20260113_v5.2' into 'release/v5.2'
change(ble): [AUTO_MR] 20260113 - Update ESP BLE Controller Lib (v5.2)

See merge request espressif/esp-idf!45190
2026-01-21 11:39:54 +08:00
Sajia
814a353016 fix(wifi): Free eapol sm before alloc for new connection 2026-01-19 13:29:52 +05:30