Commit Graph

51803 Commits

Author SHA1 Message Date
Alexey Gerenkov
2007a7c8db Merge branch 'feature/update-openocd-to-v0.12.0-esp32-20260831_v6.0' into 'release/v6.0'
feat(tools): update openocd version to v0.12.0-esp32-20260831 (v6.0)

See merge request espressif/esp-idf!52392
2026-09-04 17:32:14 +08:00
Alexey Gerenkov
3d678a280b Merge branch 'add_trace_doc_section_v6.0' into 'release/v6.0'
docs(esp_trace): restructure tracing docs with esp_trace as master (v6.0)

See merge request espressif/esp-idf!52265
2026-09-04 17:22:14 +08:00
morris
e214cf1b20 Merge branch 'feat/atomic-internal_v6.0' into 'release/v6.0'
fix(driver): allocate driver objects containing atomic variables from internal SRAM (v6.0)

See merge request espressif/esp-idf!52341
2026-09-04 17:18:55 +08:00
Rahul Tank
c0b30a11db Merge branch 'bugfix/fix_stale_conn_cccd_v6.0' into 'release/v6.0'
fix(nimble): fix crash on disconnect due to stale per-connection CCCD pool (v6.0)

See merge request espressif/esp-idf!51951
2026-09-04 14:42:22 +05:30
Fu Hanxi
14297ada26 Merge branch 'ci/apply-common-scripts-v6.0' into 'release/v6.0'
ci: apply common-scripts refactor (v6.0)

See merge request espressif/esp-idf!50991
2026-09-04 09:33:06 +02:00
Mahavir Jain
068fb15c0f Merge branch 'fix/crt-bundle-unaligned-reads_v6.0' into 'release/v6.0'
fix(mbedtls): read crt bundle byte-wise to avoid misaligned flash access (v6.0)

See merge request espressif/esp-idf!51724
2026-09-04 12:31:11 +05:30
Rahul Tank
a64ac3a8f6 fix(nimble): fix crash on disconnect due to stale per-connection CCCD pool 2026-09-04 12:17:48 +05:30
Island
6ecedac2cd Merge branch 'bugfix/fixed_ble_deinit_crash_issue_6.0' into 'release/v6.0'
fix(bt): fixed mempool deinit crash issue

See merge request espressif/esp-idf!52139
2026-09-04 14:35:26 +08:00
Mahavir Jain
64b477f8c9 fix(build): word-align the length symbol of embedded data files
The generated assembly emitted <name>_length immediately after the raw
payload bytes, so the 32-bit word landed misaligned whenever the data
size was not a multiple of 4. Consumers declare it as a 32-bit object
(e.g. `extern const size_t <name>_length` in the ULP firmware loaders),
so the compiler emits an alignment-assuming word load, which is a
misaligned flash read prone to spurious load faults on chips with
SOC_CPU_MISALIGNED_ACCESS_ON_PMP_MISMATCH_ISSUE (ESP32-C6/H2/H21).
2026-09-04 11:06:54 +05:30
Mahavir Jain
ec3877cf6c fix(mbedtls): read crt bundle byte-wise to avoid misaligned flash access
The offset table and the per-cert length fields of the certificate
bundle were read through uint16_t*/uint32_t* casts, which compile to
halfword/word loads at addresses with no alignment guarantee: bundles
supplied via esp_crt_bundle_set() can start anywhere, and cert entries
are byte-packed, so their 16-bit fields land at arbitrary offsets.

On chips with SOC_CPU_MISALIGNED_ACCESS_ON_PMP_MISMATCH_ISSUE (DIG-694:
ESP32-C6/H2/H21) a misaligned load from memory-mapped flash can take a
spurious "Load access fault" when it sits within two instructions of an
access to a differently-permissioned region, observed as a crash in
esp_crt_check_bundle()/CA callback during TLS handshakes with a bundle
that happened to be placed at an odd address.
2026-09-04 11:06:54 +05:30
ShenWeilong
d3b4dd9584 fix(ble): Check if there are illegal library files in controller lib path 2026-09-04 11:03:01 +08:00
ShenWeilong
3dbbafbbb3 fix(bt): fixed mempool deinit crash issue 2026-09-04 11:00:59 +08:00
Shu Chen
1ccc930b04 Merge branch 'fix/fix_openthread_netif_glue_deinit_issue_v6.0' into 'release/v6.0'
fix(openthread): fix stack deinit by reversing netif glue teardown and hardening workflow cleanup (v6.0)

See merge request espressif/esp-idf!52398
2026-09-04 02:45:20 +00:00
Rahul Tank
93f74eb464 Merge branch 'bugfix/fix_nimble_issues_3092026_v6.0' into 'release/v6.0'
feat(nimble): Fix few nimble issues 03092026(v6.0)

See merge request espressif/esp-idf!52355
2026-09-04 05:50:01 +05:30
Wang Meng Yang
ff0587bde0 Merge branch 'bugfix/avrcp_version_compatibility_v6.0' into 'release/v6.0'
fix(bt): Fix the issue of AVRCP version compatibility (v6.0)

See merge request espressif/esp-idf!52087
2026-09-04 08:13:00 +08:00
Wang Meng Yang
2d5899d022 Merge branch 'fix/bluedroid_aireview_v6.0' into 'release/v6.0'
Fix/bluedroid aireview (v6.0)

See merge request espressif/esp-idf!51480
2026-09-04 07:55:43 +08:00
Fu Hanxi
cba7d2aae4 ci: move check_submodule_sync to ci/actions/common 2026-09-03 20:25:14 +02:00
Fu Hanxi
df8086abe3 fix(bluedroid): disable Clang vectorization for GATT
Avoid an Xtensa Clang vectorizer crash when compiling gatt_sr.c at -O2.
2026-09-03 20:25:13 +02:00
Fu Hanxi
3627752631 tests: replace CLI-dependent xfail/skipif conditions
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

# Conflicts:
#	docs/en/contribute/esp-idf-tests-with-pytest.rst
#	docs/zh_CN/contribute/esp-idf-tests-with-pytest.rst
#	tools/test_apps/system/panic/pytest_panic.py
2026-09-03 20:25:13 +02:00
Fu Hanxi
88b2ffcde6 ci: use main branch of ci/actions/common 2026-09-03 20:25:13 +02:00
Fu Hanxi
64d767f050 ci: fix double quotes with MR_MODIFIED_FILES 2026-09-03 20:25:13 +02:00
Fu Hanxi
fa4a2bfb83 ci(windows): fix fetch submodule path issue 2026-09-03 20:25:13 +02:00
Fu Hanxi
a001547d7f ci: move check_submodule_sync to pre_deploy stage 2026-09-03 20:25:13 +02:00
Fu Hanxi
52f2ccdd8f ci: custom constraint branch 2026-09-03 20:25:13 +02:00
Fu Hanxi
5fd30885b3 ci: apply common-scripts CI refactor 2026-09-03 20:25:12 +02:00
Fu Hanxi
0a86d7b8e7 ci: remove pip-cache and other unused jobs 2026-09-03 20:24:50 +02:00
Fu Hanxi
ddb9fd017c ci: apply idf-ci 1.x 2026-09-03 20:24:50 +02:00
Rahul Tank
aa69fb8119 Merge branch 'bugfix/fix_kconfig_warnings_v6.0' into 'release/v6.0'
fix(nimble): move BTDM defaults to esp32 (v6.0)

See merge request espressif/esp-idf!51704
2026-09-03 21:28:58 +05:30
Rahul Tank
56fa9afcda fix(blufi): Fix BLUFI NimBLE deinit race due to disconnect callbacks 2026-09-03 21:27:16 +05:30
Rahul Tank
938ce4f4d1 fix(nimble): bound PAwR synced connect retries in the example 2026-09-03 21:27:16 +05:30
Astha Verma
c525108495 fix(nimble): Fixed gatt caching crash on disconnect 2026-09-03 21:27:16 +05:30
Rahul Tank
edf77262e7 fix(nimble): Fix unpair_oldest_peer deleting wrong device
Sort bond entries by bond_count after in-place updates to maintain correct
eviction order, and log IRK resolving-list failures instead of failing the bond.
2026-09-03 21:27:16 +05:30
Rahul Tank
79a570a953 fix(nimble): Add separate helper functions to register notification/indication 2026-09-03 21:27:16 +05:30
Rahul Tank
f8953541b2 fix(nimble): Add fix to handle service reset during server start 2026-09-03 21:27:16 +05:30
Rahul Tank
dae4696357 fix(nimble): Fix adding device to resolving list when defer connection 2026-09-03 21:27:16 +05:30
Rahul Tank
0bd286209f fix(nimble): Added change to stop adv before starting new adv 2026-09-03 21:27:16 +05:30
Rahul Tank
c6e702c5c9 fix(nimble): Remove extra free to avoid double free 2026-09-03 21:27:15 +05:30
Rahul Tank
ec228607c8 fix(nimble): Fixes for various NimBLE CVEs 2026-09-03 21:27:15 +05:30
Rahul Tank
7aecabef17 fix(nimble): Deliver PAwR peripheral CONNECT via sync callback 2026-09-03 21:27:15 +05:30
Rahul Tank
d198b8fd91 fix(nimble): update sbom file with cve details 2026-09-03 21:27:15 +05:30
chenjianhua
9bd7168fa1 feat(bt): Add host-agnostic BT OSAL and shared BLE profile task
- Add bt_osal: event queues, mutexes, semaphores, callouts, etc.
- Add the shared BLE profile task and event queue
- Bring both up and tear them down in the host init/deinit paths
- Add unit tests for the OSAL and the profile task

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-03 21:27:15 +05:30
Shreeyash Bhakare
a2739c9ee1 fix(nimble): Added security related fixes 2026-09-03 21:27:15 +05:30
Martin Vychodil
b522b887ab Merge branch 'fix/generic_bdl_helper_functions_change_api_v6.0' into 'release/v6.0'
fix(storage): Add support for large generic partition BDLs (v6.0)

See merge request espressif/esp-idf!51915
2026-09-03 23:43:55 +08:00
Martin Vychodil
9cfc2a6aab Merge branch 'fix/reenable_sdmmc_tests_p4_v6.0' into 'release/v6.0'
fix(storage): Re-enable SDMMC related tests for P4 (v6.0)

See merge request espressif/esp-idf!52267
2026-09-03 23:36:40 +08:00
Martin Vychodil
62041d5fc6 Merge branch 'fix/sdmmc_dma_aligned_buffer_leak_v6.0' into 'release/v6.0'
fix(sdmmc): release aligned buffer on card deinit (v6.0)

See merge request espressif/esp-idf!52258
2026-09-03 23:35:18 +08:00
Martin Vychodil
412a55dfa6 Merge branch 'fix/sdmmc_fatfs_dma_psram_non_cached_region_v6.0' into 'release/v6.0'
fix(sdmmc): Validate DMA buffer address range (v6.0)

See merge request espressif/esp-idf!51150
2026-09-03 23:24:51 +08:00
Roland Dobai
186ce4d6b5 Merge branch 'fix/windows_tests_v6.0' into 'release/v6.0'
ci(tools): Fix Windows pytest_build_system idf_copy gitlinks and log_cli hang (v6.0)

See merge request espressif/esp-idf!52334
2026-09-03 16:00:30 +02:00
Jiang Jiang Jian
b6d80c87c0 Merge branch 'backport/backport_dialog_token_ds_parameter_and_max_bw_nego_changes_v6.0' into 'release/v6.0'
feat(wifi): support max bandwidth negotiation(backport v6.0)

See merge request espressif/esp-idf!51945
2026-09-03 20:48:49 +08:00
Martin Vychodil
b3c7657f80 Merge branch 'fix/idf-16024-nvs-api-docs_v6.0' into 'release/v6.0'
docs(nvs_flash): correct public API docs for error codes and space use (v6.0)

See merge request espressif/esp-idf!52333
2026-09-03 20:45:36 +08:00
Mahavir Jain
314b53a605 Merge branch 'change/mmu_psram_anti_fi_bootloader_size_v6.0' into 'release/v6.0'
change(hal): exclude PSRAM anti-FI check from bootloader build (v6.0)

See merge request espressif/esp-idf!51609
2026-09-03 17:57:04 +05:30