Commit Graph

50057 Commits

Author SHA1 Message Date
Zhou Xiao
ad62778bc0 fix(ble): fixed ci failures for backport 2026-04-28 12:57:14 +08:00
Zhou Xiao
5a9bb3c7ca feat(ble): add BLE UART daemon notify API 2026-04-28 11:12:10 +08:00
Zhou Xiao
a1708452ec docs(ble): document BLE UART bridge usage 2026-04-28 11:12:10 +08:00
Zhou Xiao
c6de8e7dff feat(ble): wire BLE UART bridge CLI 2026-04-28 11:12:10 +08:00
Zhou Xiao
be95b3fc73 feat(ble): add BLE UART daemon RPC API 2026-04-28 11:12:10 +08:00
Zhou Xiao
29dc646b21 feat(ble): add BLE UART bridge console 2026-04-28 11:12:10 +08:00
Zhi Wei Jian
4dd5e85749 feat(ble): Support nimble uart service
(cherry picked from commit 9de3eea3de)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-04-27 20:58:44 +08:00
Jiang Jiang Jian
7c1fd3fbbf Merge branch 'bugfix/lp_io_clock_control_revert_v6.0' into 'release/v6.0'
fix(gpio): Revert the fix for RTCIO config should be written if LPIO clk exists (v6.0)

See merge request espressif/esp-idf!47605
2026-04-20 17:55:20 +08:00
Mahavir Jain
853a83cd82 Merge branch 'fix/esp_tee_srv_tbl_loc_v6.0' into 'release/v6.0'
change(esp_tee): Move the internal memory secure service call table to IRAM (v6.0)

See merge request espressif/esp-idf!47551
2026-04-20 11:42:31 +05:30
Song Ruo Jing
22c48ff2b7 fix(gpio): Revert the fix for RTCIO config should be written if LPIO clk exists
revert the main logic in acb49e9520
The fix causes deep sleep wakeup IO unable to reset back to GPIO after
waking up from deep sleep.
2026-04-20 12:09:22 +08:00
Marius Vikhammer
116e71eeb7 Merge branch 'bugfix/pin_lightbulb_comp_v6.0' into 'release/v6.0'
fix(ble_mesh): pin broken lightbulb dependency (v6.0)

See merge request espressif/esp-idf!47665
2026-04-20 12:08:39 +08:00
Jiang Jiang Jian
fb33c54923 Merge branch 'bugfix/validate_ptk_generation_v6.0' into 'release/v6.0'
fix(esp_wifi): fail if ptk derivation fails (v6.0)

See merge request espressif/esp-idf!47691
2026-04-20 11:29:52 +08:00
Laukik Hase
440a5d1906 change(esp_tee): Move the internal memory secure service call table to IRAM
- Using PMA, the TEE IRAM is marked as R/X while TEE DRAM is marked as R/W.
  Moving the internal memory secure service call table from DRAM to IRAM
  makes it immutable.
2026-04-17 17:33:11 +05:30
Kapil Gupta
9d7811b076 fix(esp_wifi): fail if ptk derivation fails 2026-04-16 23:20:04 +05:30
Marius Vikhammer
750c6de624 fix(ble_mesh): pin broken lightbulb dependency 2026-04-16 15:41:36 +08:00
Marius Vikhammer
72376ac2b1 Merge branch 'ci/python-warning-v6.0' into 'release/v6.0'
ci: setup python warning level at common 6.0

See merge request espressif/esp-idf!47632
2026-04-16 13:28:26 +08:00
igor.udot
e63057db8e ci: setup python warning level at common 2026-04-15 17:11:39 +08:00
Jiang Jiang Jian
db22058940 Merge branch 'fix/fix_ot_cli_loop_v6.0' into 'release/v6.0'
fix(openthread): avoid ot_cli_loop busy loop by using select-based linenoise read (v6.0)

See merge request espressif/esp-idf!47313
2026-04-09 20:01:19 +08:00
Jiang Jiang Jian
9f1b780bd0 Merge branch 'fix/remove_psa_key_export_from_enhack_gen_v6.0' into 'release/v6.0'
fix(openthread): pre-export PSA key bytes in task context to fix ISR mutex crash (v6.0)

See merge request espressif/esp-idf!47370
2026-04-09 20:01:00 +08:00
Jiang Jiang Jian
2f2be4386e Merge branch 'feat/dpp_crypto_optimization_v6.0' into 'release/v6.0'
fix(esp_wifi): Changes to make DPP crypto faster (v6.0)

See merge request espressif/esp-idf!47385
2026-04-09 19:51:37 +08:00
Kapil Gupta
57aec74146 fix(esp_wifi): Changes to make DPP crypto faster (v6.0) 2026-04-09 19:51:36 +08:00
Jiang Jiang Jian
78822efdb0 Merge branch 'bugfix/oob_read_in_continue_packet_v6.0' into 'release/v6.0'
fix(bt/bluedroid): fix ACL reassembly dropping valid continuation fragments (v6.0)

See merge request espressif/esp-idf!47378
2026-04-09 14:36:57 +08:00
Mahavir Jain
7503c552f5 Merge branch 'fix/fix_protocomm_sec2_input_validations_v6.0' into 'release/v6.0'
fix(protocomm): fixes potential issues that can lead to crash during device provisioning (v6.0)

See merge request espressif/esp-idf!47305
2026-04-09 11:51:01 +05:30
Mahavir Jain
a7e77cda1d Merge branch 'fix/esp_tee_bbp_v6.0' into 'release/v6.0'
fix(esp_tee): Add missing input validation checks for TEE service calls (v6.0)

See merge request espressif/esp-idf!47361
2026-04-09 11:00:28 +05:30
Mahavir Jain
247cafb2cf Merge branch 'feat/reenable_rsa_4096_key_perf_test_v6.0' into 'release/v6.0'
fix(mbedtls): reenable RSA 4096 bit key performance test (v6.0)

See merge request espressif/esp-idf!47387
2026-04-09 10:37:41 +05:30
Jiang Jiang Jian
f690dadca8 Merge branch 'bugfix/fixed_conn_timeout_v6.0' into 'release/v6.0'
Bugfix/fixed conn timeout v6.0

See merge request espressif/esp-idf!47349
2026-04-09 11:35:59 +08:00
Ashish Sharma
bda099031e fix(mbedtls): reenable RSA 4096 bit key performance test 2026-04-09 10:26:10 +08:00
Jin Cheng
03c7e87202 fix(bt/bluedroid): moved L2CAP length check into start packets only 2026-04-08 20:39:55 +08:00
Jon Gilmore
051e0e671c fix(bt/bluedroid): fix ACL reassembly dropping valid continuation fragments
The minimum length check in `reassemble_and_dispatch()` applied the START packet minimum (`HCI_ACL_PREAMBLE_SIZE + L2CAP_LENGTH_SIZE` = 8 bytes) to **all** ACL packets, including continuation fragments. Continuation fragments only carry the 4-byte ACL preamble (handle + length) with no L2CAP header, so small but valid continuations (5-7 bytes) were incorrectly rejected as "too short."

This caused the first L2CAP PDU in a rapid burst of BLE GATT indications to be silently dropped. The partial reassembly was orphaned, then discarded when the next indication's START fragment arrived, producing:

```
E BT_HCI: ACL packet too short (len=5)
W BT_HCI: reassemble_and_dispatch found unfinished packet for handle with start packet. Dropping old.
```

Parse the ACL preamble first (requires only 4 bytes) to determine the boundary flag, then apply the L2CAP length check only to START packets. Continuation packets are now accepted with the correct minimum of `HCI_ACL_PREAMBLE_SIZE` (4 bytes).

- ESP32-S3 connected to a BLE peripheral that fragments indications at 40 bytes per L2CAP PDU
- Peripheral sends 8+ indications within ~200ms (burst of state changes)
- The final continuation fragment of the first indication is small (5-6 bytes after type stripping)
- 100% reproducible on every burst; confirmed on ESP-IDF 5.5.3, 5.5.4, and 6.0.0

Verified on ESP32-S3 with a Sub-Zero wall oven (SO3050PESP, firmware 8.5):
- **Before fix:** First indication in every burst lost (ACL reassembly failure)
- **After fix:** All indications in burst delivered correctly, including when the final continuation fragment is 5-6 bytes

Closes https://github.com/espressif/esp-idf/issues/18414
2026-04-08 20:39:55 +08:00
zwx
df41428fbf fix(openthread): pre-export PSA key bytes in task context to fix ISR mutex crash 2026-04-08 18:13:53 +08:00
Laukik Hase
7867f4a575 fix(esp_tee): Add missing input validation checks for TEE service calls
- MULTI_HEAP_ASSERT for TEE now aborts on failure, instead of ignoring the condition
- Prevent potential TEE OTA write bounds overflow
2026-04-08 14:05:28 +05:30
zhaoweiliang
ea68016cd1 fix(ble): fixed timeout disconnect issue on ESP32-C6 and ESP32-H2 2026-04-08 11:07:10 +08:00
zhaoweiliang
f7eae67f25 fix(ble): fixed timeout disconnect issue on ESP32-C5 2026-04-08 11:02:45 +08:00
Jiang Jiang Jian
d4bf404df6 Merge branch 'docs/c5_storage_docs_v6.0' into 'release/v6.0'
docs(storage): removed non-updated docs refs for C5 (v6.0)

See merge request espressif/esp-idf!47107
2026-04-07 16:42:14 +08:00
Jiang Jiang Jian
61f6e2720b Merge branch 'feature/bdl_nand_extensions_v6.0' into 'release/v6.0'
feat(esp_blockdev): Updated BDL documentation (v6.0)

See merge request espressif/esp-idf!47287
2026-04-07 16:42:06 +08:00
Xu Si Yu
c9725b2300 fix(openthread): avoid ot_cli_loop busy loop by using select-based linenoise read 2026-04-07 14:52:25 +08:00
Jiang Jiang Jian
c4555d2afe Merge branch 'fix/picolibc_setvbuf_ionbf_workaround_v6.0' into 'release/v6.0'
fix(esp_libc): picolibc: add workaround for setvbuf on _IONBF (v6.0)

See merge request espressif/esp-idf!47162
2026-04-07 12:01:48 +08:00
Ashish Sharma
9b4cacf9cb fix(protocomm): fixes potential issues that can lead to crash during device provisioning 2026-04-07 11:09:37 +08:00
Martin Vychodil
38e1ec4aae feat(esp_blockdev): Updated BDL interface documentation 2026-04-06 21:16:54 +02:00
Mahavir Jain
6bf6897d0d Merge branch 'bugfix/external_mem_enc_docs_v6.0' into 'release/v6.0'
docs: update PSRAM and flash encryption docs with per-page and separate key capabilities (v6.0)

See merge request espressif/esp-idf!46955
2026-04-02 19:05:36 +05:30
Jiang Jiang Jian
621d47f602 Merge branch 'fix/remove_rwdt_workaround_for_p4_rev3.2_v6.0' into 'release/v6.0'
change(esp_rom): remove wdt_hal_config_stage API workaround for P4 ECO7 (v6.0)

See merge request espressif/esp-idf!47169
2026-04-02 15:56:19 +08:00
Mahavir Jain
64c744abb7 docs: update PSRAM and flash encryption docs with per-page and separate key capabilities 2026-04-02 12:20:24 +05:30
Mahavir Jain
6efad80468 Merge branch 'fix/ds_ctx_efuse_key_id_type_v6.0' into 'release/v6.0'
Preserve flash compatibility by reverting the modified `esp_ds_data_ctx_t` size (v6.0)

See merge request espressif/esp-idf!47032
2026-04-02 11:32:09 +05:30
Mahavir Jain
49231ec638 Merge branch 'bugfix/docs_anti_rollback_v6.0' into 'release/v6.0'
docs: clarify anti-rollback secure version bits for c2/c5 (v6.0)

See merge request espressif/esp-idf!47123
2026-04-02 11:29:30 +05:30
Jiang Jiang Jian
b563fe2766 Merge branch 'fix/esp32c61_rom_stack_addr_v6.0' into 'release/v6.0'
fix(soc): Correct the ESP32-C61 ROM stack start address (v6.0)

See merge request espressif/esp-idf!47150
2026-04-02 13:57:15 +08:00
Jiang Jiang Jian
30c30dddf3 Merge branch 'bugfix/fix_ci_issue_related_to_bss_max_idle_v6.0' into 'release/v6.0'
fix(ci): fix ci issue related to bss max idle test(backport v6.0)

See merge request espressif/esp-idf!47195
2026-04-02 11:20:13 +08:00
yinqingzhao
bff4bb0faa fix(ci): fix ci issue related to bss max idle test 2026-04-01 10:34:48 +08:00
wuzhenghui
909cc41d9a change(esp_rom): wdt_hal_config_stage fixed in rom_version: esp32p4-eco7-20260109 2026-03-31 16:00:01 +08:00
Alexey Lapshin
f5f531b7b2 fix(esp_libc): picolibc: add workaround for setvbuf on _IONBF 2026-03-31 12:28:27 +07:00
Laukik Hase
2f0e634586 fix(soc): Correct the ESP32-C61 ROM stack start address 2026-03-30 18:30:22 +05:30