Commit Graph

39363 Commits

Author SHA1 Message Date
Xiao Xufeng
530b95fc29 change(version): Update version to 5.2.8 v5.2.8 2026-09-09 15:33:10 +08:00
Jiang Jiang Jian
48dc9aa655 Merge branch 'fix/esp32s2_aes_dma_psram_partial_block_hang_v5.2' into 'release/v5.2'
Avoid ESP32-S2 Crypto DMA stall on PSRAM output with partial blocks (v5.2)

See merge request espressif/esp-idf!52450
2026-09-08 11:52:40 +08:00
Jiang Jiang Jian
e4661e2d4b Merge branch 'bugfix/qos_not_reported_v5.2' into 'release/v5.2'
fix(bt/controller): update ESP32 libbtdm_app.a to fix missing QoS_Setup_Cmpl event (v5.2)

See merge request espressif/esp-idf!52494
2026-09-08 10:19:51 +08:00
Jin Cheng
e50072d0b7 fix(bt/controller): update ESP32 libbtdm_app.a to fix missing QoS_Setup_Cmpl event 2026-09-07 12:25:17 +08:00
Jiang Jiang Jian
b1861ff0b4 Merge branch 'fix/revert_dslp_phy_cb_out_of_critical_v5.2' into 'release/v5.2'
fix(esp_hw_support): Revert fix possible dead lock in deepsleep process (v5.2)

See merge request espressif/esp-idf!52445
2026-09-07 10:47:28 +08:00
harshal.patil
1a1ee1cb77 test(mbedtls): add partial-block PSRAM coverage for AES
Extend the CTR test data length to 6433 bytes so the trailing partial
block is exercised with external RAM buffers (which stalls the ESP32-S2
Crypto DMA on an unfixed driver).
2026-09-04 14:58:34 +05:30
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
wuzhenghui
02167ad695 fix(esp_hw_support): revert fix deepsleep deadlock with phy lock
This reverts commit 4bd0cf0617.
2026-09-04 16:48:14 +08:00
Jiang Jiang Jian
4f7226bb6e Merge branch 'bugfix/fix_nimble_issue_2608' into 'release/v5.2'
fix(nimble): Fix few nimble issues 2608 (v5.2)

See merge request espressif/esp-idf!52110
2026-08-28 19:36:24 +08:00
Jiang Jiang Jian
cc34b287a8 Merge branch 'bugfix/dpp_backport_v5.2' into 'release/v5.2'
fix(esp_wifi): Backport fix for phy ref cnt (bb1aa1d)

See merge request espressif/esp-idf!52165
2026-08-28 17:56:04 +08:00
Jiang Jiang Jian
fa007af38f Merge branch 'bugfix/qos_div_zero_v5.2' into 'release/v5.2'
fix(bt): update ESP32 libbtdm_app.a to fix several issues (v5.2)

See merge request espressif/esp-idf!52057
2026-08-28 13:56:58 +08:00
Shreyas Sheth
dfa7748c01 fix(esp_wifi): Backport fix for phy ref cnt
1) Fix phy ref cnt for power management for offchannel_tx
2026-08-28 09:57:02 +05:30
Jiang Jiang Jian
f9eb0fc601 Merge branch 'idf/ble_mesh_iv_recover_v5.2' into 'release/v5.2'
feat(ble_mesh): Enable IV Index recovery by default (5.2)

See merge request espressif/esp-idf!52105
2026-08-27 21:36:00 +08:00
Jiang Jiang Jian
f6e59498ff Merge branch 'fix/revert_dma_pool_default_caps_v5.2' into 'release/v5.2'
fix(heap): revert dma pool default malloc caps (v5.2)

See merge request espressif/esp-idf!52148
2026-08-27 21:35:31 +08:00
Jiang Jiang Jian
0dfa74b617 Merge branch 'change/ble_update_lib_20260824_v5.2' into 'release/v5.2'
change(ble): [AUTO_MR] 20260824 - Update ESP BLE Controller Lib (5.2)

See merge request espressif/esp-idf!52016
2026-08-27 20:29:31 +08:00
Jiang Jiang Jian
4e1b423458 Merge branch 'fix/ble_log_compression_issue_on_windows_v5.2' into 'release/v5.2'
fix(bt): fix BLE log compression build on Windows (5.2)

See merge request espressif/esp-idf!51242
2026-08-27 20:29:15 +08:00
Jiang Jiang Jian
a49a3bbac8 Merge branch 'feat/update_ble_feature_support_status_0813_v5.2' into 'release/v5.2'
feat(docs): update BLE feature support status for ISO and Core 6.1-6.3 (5.2)

See merge request espressif/esp-idf!51850
2026-08-27 20:28:24 +08:00
Jiang Jiang Jian
56cf33255e Merge branch 'bugfix/fix_bluedroid_gatt_discover_downstream_stall_v5.2' into 'release/v5.2'
fix(ble/bluedroid): allow osi_event re-post during POSTING window (5.2)

See merge request espressif/esp-idf!52040
2026-08-27 20:27:51 +08:00
wuzhenghui
f992f12bd8 fix(heap): revert DMA pool MALLOC_CAP_DEFAULT caps 2026-08-27 19:50:26 +08:00
Jiang Jiang Jian
2626422601 Merge branch 'bugfix/a2dp_sink_nego_sbc_v5.2' into 'release/v5.2'
fix(bt): do not cap AVDTP Discover results by local SEP count (v5.2)

See merge request espressif/esp-idf!51755
2026-08-27 19:19:13 +08:00
Jiang Jiang Jian
e57be8e604 Merge branch 'fix/fix_psk_hint_key_null_dereference_v5.2' into 'release/v5.2'
Fix/fix psk hint key null dereference (v5.2)

See merge request espressif/esp-idf!52096
2026-08-27 18:10:02 +08:00
Wei Yuhan
62e96170f1 feat(docs): fix PAST and randomized adv channel indexing status
Gate PAST on SOC_ESP_NIMBLE_CONTROLLER, mark randomized advertising
channel indexing host columns as NA, and limit controller experimental
status to NimBLE controllers except ESP32-C2.
2026-08-27 17:54:13 +08:00
Jiang Jiang Jian
12417bb077 Merge branch 'fix/fix_bt_sleep_rejection_under_wifi_config' into 'release/v5.2'
fix(ble): fix sleep rejection if wifi enh config enabled on esp32-c6

See merge request espressif/esp-idf!51873
2026-08-27 17:54:00 +08:00
Wei Yuhan
8a3b146d67 feat(docs): update BLE feature support status for ISO and Core 6.1-6.3
Mark ISOAL/ISO features as experimental when SOC_BLE_ISO_SUPPORTED,
add unsupported Core Spec 6.1-6.3 features, and move NimBLE LL Extended
Feature Set target to 2026/12.
2026-08-27 17:53:47 +08:00
Wei Yuhan
2e99ceefad feat(docs): Updated BLE support features status 2026-08-27 17:51:38 +08:00
Jiang Jiang Jian
555c0837e2 Merge branch 'fix/fix_dslp_phy_close_rf_deadlock_v5.2' into 'release/v5.2'
fix(esp_hw_support): fix possible dead lock in deepsleep process (v5.2)

See merge request espressif/esp-idf!51935
2026-08-27 17:41:41 +08:00
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
morris
e447237892 Merge branch 'fix/i2s_tdm_5slot_clock_test_v5.2' into 'release/v5.2'
fix(hal): prevent overflow in fractional clock division (v5.2)

See merge request espressif/esp-idf!51434
2026-08-26 18:51:31 +08:00
Rahul Tank
a01916d093 fix(nimble): Fix ECC HW byte-order and dropped SOC_ESP_NIMBLE_CONTROLLER 2026-08-26 15:51:28 +05:30
Rahul Tank
97963f57ee fix(nimble): bound PAwR synced connect retries in the example 2026-08-26 15:49:36 +05:30
Rahul Tank
75428d48e6 fix(nimble): Added change to stop adv before starting new adv 2026-08-26 15:49:31 +05:30
Liu Linyan
b8c3479672 feat(ble_mesh): Enable IV Index recovery by default
(cherry picked from commit 8e59eb4850)

Co-authored-by: Liu Linyan <liulinyan@espressif.com>
2026-08-26 17:34:39 +08:00
Ashish Sharma
7306f543df fix(esp-tls): guard against NULL PSK hint to prevent crash 2026-08-26 17:26:06 +08:00
Jin Cheng
b5aecb9349 fix(bt): update ESP32 libbtdm_app.a to fix several issues
- fixed IntegerDividedByZero during Qos negotiation.
  Closes https://github.com/espressif/esp-idf/issues/18951
- ignored the check for bandwidth and retransmission effort when Host
  accepts the SCO connection request.
2026-08-26 09:20:15 +08:00
Zhang Hai Peng
df0fe25bda fix(ble/bluedroid): allow osi_event re-post during POSTING window
Do not reject osi_thread_post_event() when only POSTING is set.
QUEUED already prevents double-queueing; rejecting POSTING caused
HCI downstream lost wakeup. Add generic osi_event and hci downstream
diagnostics for post failures.


(cherry picked from commit 011138ffd9)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-08-25 19:55:06 +08:00
Zhang Hai Peng
dfd8d39c0a docs(bt): clarify Bluedroid GATT signed write API comments
Correct misleading CHAR_PROP_BIT_AUTH wording and document CSRK-based
signed write usage for server permissions and client write APIs.


(cherry picked from commit 8d230c7650)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-08-25 19:55:05 +08:00
zhaoweiliang
48010a1e2a change(ble): [AUTO_MR] Update lib_esp32c6 to cdaefea1 2026-08-25 15:09:14 +08:00
zhaoweiliang
a8dbbb6910 change(ble): [AUTO_MR] Update lib_esp32h2 to cdaefea1 2026-08-25 15:08:58 +08:00
wuzhenghui
4bd0cf0617 fix(esp_hw_support): fix deepsleep deadlock with phy lock 2026-08-21 11:36:04 +08:00
Chen Chen
b775cbf268 fix(hal): prevent overflow in fractional clock division
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 14:47:06 +08:00
cjin
eeffada095 fix(ble): fix sleep rejection if wifi enh config enabled on esp32-c6 2026-08-19 15:23:27 +08:00
yangfeng
3ac7132d4c fix(bt): do not cap AVDTP Discover results by local SEP count
- Closes https://github.com/espressif/esp-idf/issues/18848
2026-08-13 19:32:43 +08:00
Luo Xu
bfc255a373 fix(bt): fix BLE log compression build on Windows
The BLE log compression feature (CONFIG_BT_LOG_CRITICAL_ONLY ->
BLE_COMPRESSED_LOG_ENABLE) failed to build on Windows while working
correctly on Linux, due to two shell/platform-specific issues in the
compression script.

1. Module/source argument quoting. CMakeLists.txt passes the
   semicolon-separated module and source lists wrapped in single quotes
   ("'${MODULES}'") to protect ';' from POSIX shells, which strip them.
   cmd.exe does not treat single quotes as quoting characters, so on
   Windows the quotes reached the script literally and
   args.module.split(';') produced "'BLE_MESH" / "BLE_HOST'" instead of
   the clean names. These never matched the YAML module keys, every
   module was skipped ("Skipping module ... - config not found"), the
   compressed sources were never generated, and the build failed. Strip
   surrounding quote characters before splitting; this is a no-op on
   Linux/macOS where the shell already removed them.

2. CRLF line endings. With core.autocrlf=true the IDF sources are
   checked out as CRLF on Windows. The generated *_log_index.h macros
   use backslash-newline line-continuation; a backslash followed by
   '\r\n' is not a valid continuation in C, producing floods of syntax
   errors when the header is compiled. Write generated headers with
   newline='' to force LF, and normalize source content to LF right
   after reading so '\r' embedded inside multi-line argument expressions
   is also handled. Byte offsets stay consistent because both tree-sitter
   parsing and tag replacement operate on the normalized content.

Verified by full clean builds of examples/bluetooth/esp_ble_mesh/
vendor_models/vendor_client (esp32c6, bluedroid + mesh) from both
cmd.exe and PowerShell; both produce an identical vendor_client.bin.

(cherry picked from commit aa9b565a6d)

Co-authored-by: luoxu <luoxu@espressif.com>
2026-08-12 14:15:55 +08:00
Jiang Jiang Jian
e717ab43ad Merge branch 'bugfix/fix_all_pvt_bug_for_c6_backport_v5.2' into 'release/v5.2'
feat(pvt): fix all pvt bug for c6 on release v5.2

See merge request espressif/esp-idf!51668
2026-08-11 16:29:09 +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
Jiang Jiang Jian
7b7cd05583 Merge branch 'bugfix/a2dp_api_init_check_v5.2' into 'release/v5.2'
fix(bt): Fix compatibility with A2DP API legacy usage methods (v5.2)

See merge request espressif/esp-idf!51335
2026-08-11 13:58:00 +08:00
Jiang Jiang Jian
88cc8eafbb Merge branch 'fix/disable_i2c_master_clk_while_hw_hop_processing_v5.2' into 'release/v5.2'
fix(esp_phy): check hw freq hop done before disabling common clock (v5.2)

See merge request espressif/esp-idf!48564
2026-08-11 13:11:59 +08:00
yanzihan@espressif.com
18b9ec8df5 feat(pvt): fix all pvt bug for c6 on release v5.2 2026-08-11 12:16:21 +08:00
Jiang Jiang Jian
6a82b9f18e Merge branch 'bugfix/fix_wifi_bugs_260810_v5.2' into 'release/v5.2'
fix(pm): fix chip cant sleep when disconnecting at probe process&fix scan and connect issue v5.2

See merge request espressif/esp-idf!51651
2026-08-11 10:25:30 +08:00
Chen Jichang
71fb87b77f fix(rmt): fix loop tx can trigger done event 2026-08-10 19:14:30 +08:00