Commit Graph

51126 Commits

Author SHA1 Message Date
Tomáš Rohlínek
0188e1fe7b feat(esp_blockdev): add build-time ioctl command reservation overlap checker
(cherry picked from commit a9f545bcea)
2026-06-30 16:53:44 +02:00
Mahavir Jain
93056b5253 Merge branch 'fix/fix_sbv2_psa_algo_check_v6.0' into 'release/v6.0'
fix(secure_boot_v2): select correct secure boot algorithm based on key

See merge request espressif/esp-idf!49856
2026-06-30 18:17:45 +05:30
Euripedes Rocha
3a070009e9 Merge branch 'test/lwip_mbedtls_psa_v6.0' into 'release/v6.0'
fix(lwip): Fix mbedtls PSA API (v6.0)

See merge request espressif/esp-idf!48827
2026-06-30 14:06:45 +02:00
Jiang Jiang Jian
b6eebf3c8a Merge branch 'bugfix/mbedtls_rsa_base_reduction_hw_crt_v6.0' into 'release/v6.0'
fix(mbedlts): Enable hardware CRT for RSA-4096 via base reduction (v6.0)

See merge request espressif/esp-idf!49850
2026-06-30 19:34:52 +08:00
Wang Meng Yang
5f4062d827 Merge branch 'bugfix/ai_review_btu_common_v6.0' into 'release/v6.0'
fix: Fix the critical issues of btu and bt_common from AI review report (v6.0)

See merge request espressif/esp-idf!50122
2026-06-30 19:25:09 +08:00
Martin Vychodil
484cc4f068 Merge branch 'fix/fatfs_instance_init_v6.0' into 'release/v6.0'
Fix: various FATFS/VFS fixes (v6.0)

See merge request espressif/esp-idf!50101
2026-06-30 18:07:13 +08:00
Jiang Jiang Jian
af3cf03943 Merge branch 'bugfix/esp_idf_ulp_wakeupcauses_record_v6.0' into 'release/v6.0'
fix(ulp): record wakeup causes before lp core request sleep v6.0

See merge request espressif/esp-idf!49142
2026-06-30 16:48:50 +08:00
Jiang Jiang Jian
5277adb597 Merge branch 'bugfix/update_supplicant_nist_api_v6.0' into 'release/v6.0'
fix(wpa_supplicant): migrate aes_wrap to PSA NIST-KW API (v6.0)

See merge request espressif/esp-idf!49323
2026-06-30 15:55:23 +08:00
morris
255cce5d1f Merge branch 'feat/spiram_enc_exempt_v6.0' into 'release/v6.0'
feat(esp_psram): add option to carve unencrypted PSRAM region (v6.0)

See merge request espressif/esp-idf!48810
2026-06-30 15:22:36 +08:00
Jiang Jiang Jian
d40f9586c5 Merge branch 'bugfix/ai_review_a2dp_v6.0' into 'release/v6.0'
fix(bt): Fix the critical issues related to A2DP from AI review report (v6.0)

See merge request espressif/esp-idf!50128
2026-06-30 12:03:32 +08:00
Jiang Jiang Jian
e47b08a291 Merge branch 'feature/add_blockdev_docs_v6.0' into 'release/v6.0'
feat(storage/blockdev): Add documentation including contracts for operations (v6.0)

See merge request espressif/esp-idf!47204
2026-06-30 12:02:35 +08:00
Jiang Jiang Jian
799a89adc1 Merge branch 'backport/49647-v6.0' into 'release/v6.0'
ci: fix pytest markers (backport v6.0)

See merge request espressif/esp-idf!49692
2026-06-30 11:59:26 +08:00
Jiang Jiang Jian
a30c384b00 Merge branch 'feature/update-qemu-to-esp_develop_9.2.2_20260417_v6.0' into 'release/v6.0'
feat(tools): update qemu version to esp_develop_9.2.2_20260417 (v6.0)

See merge request espressif/esp-idf!48884
2026-06-30 11:53:00 +08:00
morris
ee5766760e Merge branch 'fix/fix_gdma_crc_stuck_with_large_input_v6.0' into 'release/v6.0'
fix(gdma): fix crc stuck with large input (v6.0)

See merge request espressif/esp-idf!49361
2026-06-30 11:03:34 +08:00
morris
b5c96c43e4 Merge branch 'refactor/jpeg_encoder_example_v6.0' into 'release/v6.0'
feat(jpeg): simplify encode example and add pytest coverage (v6.0)

See merge request espressif/esp-idf!50140
2026-06-30 10:24:36 +08:00
Island
518eabeb7d Merge branch 'bugfix/fix_bluedroid_static_random_conn_rpa_v6.0' into 'release/v6.0'
fix(ble/bluedroid): skip identity conversion for static random direct connect (6.0)

See merge request espressif/esp-idf!50085
2026-06-30 10:24:28 +08:00
Island
e73366f64c Merge branch 'bugfix/fix_bluedroid_rpa_whitelist_conn_v6.0' into 'release/v6.0'
Fix connection failure when using RPA with whitelist filtering(ESP32) (6.0)

See merge request espressif/esp-idf!50091
2026-06-30 10:23:12 +08:00
Rahul Tank
cd0ad239a6 Merge branch 'bugfix/nimble_issues_02062026_v6.0' into 'release/v6.0'
fix(nimble):  Fix few nimble issues 02062026 (v6.0)

See merge request espressif/esp-idf!49153
2026-06-29 21:52:48 +05:30
David Cermak
9c0809ef21 feat(lwip): Migrate lwip to mbedtls PSA API
Update submodule: git log --oneline fd432e4e..20f8b073
  - feat(lwip): migrate to to PSA API interface (espressif/esp-lwip@20f8b0739)
  - test: Fix multiple defs of util vars (espressif/esp-lwip@e9b8482e7)
  - ci: Add support for building tests/apps with both gcc and clang (espressif/esp-lwip@2a14051bf)
  - try to fix unit test compiling with clang (espressif/esp-lwip@6933a63cb)
  - apps/snmp: Remove @retval tags on void methods (espressif/esp-lwip@b6209dcf8)
  - snmp: Mention struct field removal in UPGRADING (espressif/esp-lwip@6659cf1f2)
  - snmp: remove unused prev field from snmp_varbind (espressif/esp-lwip@f32188001)
  - snmp: remove handling of varbind->prev because it is never used (espressif/esp-lwip@46660d5cf)
  - snmp: fix dangling pointer in snmp_traps (espressif/esp-lwip@0e3e97f8d)
2026-06-29 16:12:53 +02:00
Mahavir Jain
d5dff24868 Merge branch 'fix/remove_nonexistent_crypto_registers_c61_v6.0' into 'release/v6.0'
Remove non-existent crypto registers (ESP32-C61) (v6.0)

See merge request espressif/esp-idf!49450
2026-06-29 19:01:30 +05:30
Rahul Tank
ab7f9a8cac Merge branch 'bugfix/fix_security_proto_nimble_v6.0' into 'release/v6.0'
fix(protocomm): harden nimble/bluedroid transport size handling (v6.0)

See merge request espressif/esp-idf!49180
2026-06-29 18:01:00 +05:30
Island
6e73125228 Merge branch 'feat/spi_log_qa_frame_check_v6.0' into 'release/v6.0'
feat(ble_log): add FINAL_STAT session-end frame and flush hook before controller restart (6.0)

See merge request espressif/esp-idf!49958
2026-06-29 20:25:50 +08:00
Zhang Hai Peng
af02bd9018 fix(ble/bluedroid): return ESP_ERR_INVALID_ARG for invalid conn params
Return ESP_ERR_INVALID_ARG instead of ESP_FAIL when connection
parameter validation fails


(cherry picked from commit 6c53838e66)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-29 19:04:29 +08:00
Zhang Hai Peng
add48e6f2c fix(ble/bluedroid): add context to GATTC reg-notify cache warning
Include client_if, handle, bd_addr, and server cache state in the
warning logged when notification registration skips handle validation.


(cherry picked from commit 1085a32be8)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-29 19:04:29 +08:00
Zhang Hai Peng
b13f63fd7f fix(ble/bluedroid): report conn param update failure for unknown BD_ADDR
Route unknown BD_ADDR and other immediate failures through the existing
need_cb path so ESP_GAP_BLE_UPDATE_CONN_PARAMS_EVT is always delivered.


(cherry picked from commit f9eaeb5e84)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-29 19:04:29 +08:00
Zhang Hai Peng
0217c922fe fix(ble/bluedroid): preserve ATT error on prepare write completion
Skip prepare-write echo validation when the GATT stack reports a
non-success status. ATT Error Response carries no prepare-write echo
body (rsp_len=0), so the check incorrectly overwrote errors such as
GATT_INSUF_AUTHENTICATION (0x05) with GATT_INVALID_PDU (0x04).


(cherry picked from commit d5b9350d0f)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-29 19:04:29 +08:00
Zhang Hai Peng
a8ee33b38f fix(ble/bluedroid): preserve HCI status on BLE 4.2 GAP failures
Return BTM_HCI_ERROR | hci_status from legacy BLE 4.2 GAP HCI command
paths instead of mapping failures to BTM_ILLEGAL_VALUE or
BTM_NO_RESOURCES. Add btm_ble_status_from_hci() helper and propagate
real status through scan start/stop completion callbacks.


(cherry picked from commit 47dd785a18)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-29 19:04:29 +08:00
Zhang Hai Peng
005e8029a9 feat(ble/bluedroid): Optimize Bluedroid memory usage
- Delete unused device records (~356B each)


(cherry picked from commit 7d1c0e9a32)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-29 19:04:29 +08:00
Zhang Hai Peng
ad3a325cc9 fix(ble/bluedroid): cap Read By Type response length at ATT maximum
Read By Type Response Length is one octet (max 255). When MTU was
large enough to return a long characteristic value in one pair, the
server wrote (UINT8)(value_len + 2) and overflowed (e.g. 513 -> 1),
so the client rejected the PDU as GATT_INVALID_PDU (0x04).

Cap server value to 253 bytes per pair, clamp the length byte, and
continue long reads via Read Blob when the capped size is returned.


(cherry picked from commit 97905afccc)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-29 19:04:29 +08:00
Zhang Hai Peng
50b98393c6 fix(ble/bluedroid): Fixed potential double Execute Write Response
(cherry picked from commit 0a93ccd3b3)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-29 19:04:29 +08:00
Zhang Hai Peng
be3b2cf56b fix(ble/bluedroid): unblock sync HCI cmd on Command Status error
Release the BLE sync semaphore and record HCI status when a
synchronous command is rejected via Command Status, since no
Command Complete event follows.


(cherry picked from commit 29ae92f4ef)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-29 19:04:29 +08:00
Zhang Hai Peng
78f1bd2ccf fix(ble/bluedroid): set REQ_WAITING before GATTC service-change rediscovery
When service change cancels in-progress discovery, bta_gattc_disc_cmpl()
re-triggers discovery without marking auto_update as REQ_WAITING. If a
client command is queued in p_q_cmd, bta_gattc_start_discover() refuses
to restart and the command is never dispatched.


(cherry picked from commit 13926bb9bc)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-29 19:04:29 +08:00
Zhang Hai Peng
702972227d fix(ble/bluedroid): reject adv data on legacy directed ext adv
(cherry picked from commit c339cec380)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-29 19:04:29 +08:00
Zhang Hai Peng
3a0344e321 fix(ble/bluedroid): skip identity conversion for static random direct connect
Do not rewrite static or non-resolvable random peer addresses to
identity type 0x03 when CONFIG_BT_BLE_RPA_SUPPORTED is enabled.


(cherry picked from commit 2ef10ef488)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-29 19:04:29 +08:00
Rahul Tank
d645a68bde fix(protocomm): harden nimble transport size handling 2026-06-29 18:18:49 +08:00
Sumeet Singh
5dfb38a6d3 fix(nimble): Add npl locks to avoid race condition (v6.0) 2026-06-29 15:45:00 +05:30
Astha Verma
b0f278ec19 fix(nimble): Added l2cap_coc throughput examples 2026-06-29 15:41:54 +05:30
Rahul Tank
13ce6692eb fix(nimble): Gaurd ble_hs_log_mbuf/flat_buf against non-DEBUG log level 2026-06-29 15:38:45 +05:30
Island
0ced163703 Merge branch 'feat/add_ble_core_6x_feature_for_bluedroid_v6.0' into 'release/v6.0'
Feat/add ble core 6x feature for bluedroid (6.0)

See merge request espressif/esp-idf!50053
2026-06-29 17:59:32 +08:00
Sumeet Singh
dbe2e860da fix(nimble): Change remaining vars from Static to Dynamic (v6.0) 2026-06-29 15:25:37 +05:30
Rahul Tank
f783d3a7eb fix(nimble): Deinit NimBLE stop event in host task 2026-06-29 15:25:37 +05:30
Rahul Tank
609ad13324 fix(nimble): Fix for clang compilation issues 2026-06-29 15:25:37 +05:30
Rahul Tank
b633c5e2a5 fix(nimble): Add support for shorter connection intervals 2026-06-29 15:25:37 +05:30
Rahul Tank
b2ab997d3f fix(nimble): Fix compilation issues in Gatt SPS service 2026-06-29 15:25:37 +05:30
Rahul Tank
3b270b8c67 fix(nimble): Remove extra/unwanted prints 2026-06-29 15:25:36 +05:30
Mayank Tyagi
562a32ba46 fix(nimble): Avoid deadlock caused by local writes taking s_hidd_mutex 2026-06-29 15:25:36 +05:30
Mayank Tyagi
7c151a7082 fix(nimble): Always read initial BAS level 2026-06-29 15:25:36 +05:30
Mayank Tyagi
842941b488 fix(nimble): Forward HID report/control/protocol writes as HIDD events 2026-06-29 15:25:36 +05:30
Mayank Tyagi
0a90976237 feat(nimble): ADD BLE HCI logging support for ESP Insights 2026-06-29 15:25:36 +05:30
Ashish Sharma
72041a1e79 Merge branch 'fix/sb_digest_revocation_workflow_v6.0' into 'release/v6.0'
change(bootloader): honor SECURE_BOOT_ALLOW_UNUSED_DIGEST_SLOTS during first boot (v6.0)

See merge request espressif/esp-idf!49713
2026-06-29 17:46:30 +08:00