Commit Graph
34102 Commits
Author SHA1 Message Date
Jiang Jiang Jian bb3f9b29b9 Merge branch 'contrib/github_pr_18815_v5.5' into 'release/v5.5'
Fix minor issues in sd (GitHub PR) (v5.5)

See merge request espressif/esp-idf!51437
2026-08-25 10:53:13 +08:00
Jiang Jiang Jian 60115cf982 Merge branch 'fix/crt-bundle-unaligned-reads_v5.5' into 'release/v5.5'
fix(mbedtls): read crt bundle byte-wise to avoid misaligned flash access (v5.5)

See merge request espressif/esp-idf!51725
2026-08-25 10:52:21 +08:00
Jiang Jiang Jian 5f5f86c0eb Merge branch 'fix/heap_trace_stack_corruption_v5.5' into 'release/v5.5'
fix(heap): avoid stack smash when heap tracing stack depth is 0 (v5.5)

See merge request espressif/esp-idf!51522
2026-08-25 10:51:18 +08:00
Jiang Jiang Jian b97e58f89e Merge branch 'bugfix/nvs-deinit-open-handle-leak_v5.5' into 'release/v5.5'
fix(nvs_flash): delete leftover handles on partition deinit (v5.5)

See merge request espressif/esp-idf!51358
2026-08-25 10:50:23 +08:00
Jiang Jiang Jian 8bc2c28cab Merge branch 'fix/esp-event-security-fixes_v5.5' into 'release/v5.5'
fix(esp_event): multiple security and stability fixes (v5.5)

See merge request espressif/esp-idf!51049
2026-08-25 10:47:44 +08:00
Jiang Jiang Jian 1597d07086 Merge branch 'contrib/github_pr_18829_v5.5' into 'release/v5.5'
fix(spiffs): fix off-by-one in spiffsgen.py obj name length check (GitHub PR) (v5.5)

See merge request espressif/esp-idf!50916
2026-08-25 10:45:11 +08:00
Rahul Tank 5161857730 Merge branch 'bugfix/gatt_cach_disconn_v5.5' into 'release/v5.5'
fix(nimble): gatt caching crash on disconnect (v5.5)

See merge request espressif/esp-idf!51965
2026-08-24 21:38:00 +05:30
Jiang Jiang Jian c94f345ef6 Merge branch 'fix/fix_dslp_phy_close_rf_deadlock_v5.5' into 'release/v5.5'
fix(esp_hw_support): fix deepsleep deadlock with phy lock (v5.5)

See merge request espressif/esp-idf!51938
2026-08-24 19:53:54 +08:00
Roland Dobai b1dcd31af1 Merge branch 'fix/harden_empty_toolchain_output_v5.5' into 'release/v5.5'
fix: harden build against empty toolchain output (v5.5)

See merge request espressif/esp-idf!51645
2026-08-24 13:27:43 +02:00
Wang Meng Yang 2f3dc5dd64 Merge branch 'bugfix/bta_disable_not_run_v5.5' into 'release/v5.5'
fix(bt/bluedroid): fixed BTA event dispatch race during module disable (v5.5)

See merge request espressif/esp-idf!51976
2026-08-24 17:29:10 +08:00
Mahavir Jain 82609edeae Merge branch 'fix/disable-key-mgr_v5.5' into 'release/v5.5'
Disable Key Manager support (v5.5)

See merge request espressif/esp-idf!51392
2026-08-24 11:56:19 +05:30
Astha Verma a1fc650365 fix(nimble): Fixed gatt caching crash on disconnect 2026-08-24 11:28:09 +05:30
Jin Cheng 4824c598ae fix(bt/bluedroid): fixed BTA event dispatch race during module disable
- Gate bta_sys_event() on both 'is_reg' and 'reg[id]' to prevent
  stale event delivery.
- Defer bta_sys_deregister() to the end of profile disable handlers
  to ensure pending DISABLE events are processed.
- Add disabling flag to HFP AG for tracking asynchronous teardown.
2026-08-24 10:49:31 +08:00
wuzhenghui 5e835e9b70 fix(esp_hw_support): fix deepsleep deadlock with phy lock 2026-08-21 14:46:39 +08:00
harshal.patil 6459793edd change(security): disable Key Manager support on ESP32-C5/P4/S31
The Key Manager hardware peripheral in its current form needs further
design changes before it can be offered as a production feature.
Until a revised peripheral design is available, withdraw ESP-IDF
support for it on all Key Manager capable targets.
2026-08-21 11:47:41 +05:30
Dhimas Ardinata d42d785455 fix(esp_eth): make openeth ISR log DRAM-safe
Keep the ISR from touching flash-resident log strings while cache is disabled.

Closes #18644
2026-08-21 01:33:31 +00:00
Martin Vychodil 75ff3d22a4 fix(fatfs): preserve access mode in VFS F_SETFL
F_SETFL was replacing the whole flags word, so fcntl(fd, F_SETFL, O_APPEND)
made F_GETFL report O_RDONLY|O_APPEND. Keep O_ACCMODE and apply only POSIX
status flags.
2026-08-20 14:45:44 +02:00
morris c197d718bc Merge branch 'feat/isp_dpc_support_v5.5' into 'release/v5.5'
feat(isp): support isp dpc dead pixel correction (v5.5)

See merge request espressif/esp-idf!51471
2026-08-20 11:21:57 +08:00
morris 7f93ab7147 Merge branch 'feat/csi_swap_and_format_conversion' into 'release/v5.5'
CSI 16 bit swap and format conversion  (v5.5)

See merge request espressif/esp-idf!45700
2026-08-20 11:11:29 +08:00
Rahul Tank 93f18f1383 Merge branch 'bugfix/irk_smp_bond_issue_v5.5' into 'release/v5.5'
fix(nimble): Fix unpair_oldest_peer deleting wrong device (v5.5)

See merge request espressif/esp-idf!51837
2026-08-19 16:24:04 +05:30
Mahavir Jain 8abc28d71e 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-08-19 13:43:21 +05:30
Wang Meng Yang 2caf79b402 Merge branch 'fix/aireview_pbap_v5.5' into 'release/v5.5'
fix(bt_pbap): Fix some bugs in bluedroid PBAP (v5.5)

See merge request espressif/esp-idf!51729
2026-08-19 10:42:01 +08:00
Wang Meng Yang 9fcbdc00ef Merge branch 'bugfix/ai_review_a2dp_v5.5' into 'release/v5.5'
fix(bt): Fix the critical issues related to A2DP from AI review report (v5.5)

See merge request espressif/esp-idf!50129
2026-08-19 10:38:19 +08:00
gaoxu 12174eb90e feat(isp): support ISP DPC, add tests and use it in multi pipeline example 2026-08-19 09:30:36 +08:00
Rahul Tank 6c52b417f1 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-08-18 12:46:43 +05:30
Jiang Jiang Jian 57f61e7933 Merge branch 'bugfix/fix_some_wifi_bugs_260706_v5.5' into 'release/v5.5'
fix(wifi): fix some wifi bugs 260706 v5.5(Backport v5.5)

See merge request espressif/esp-idf!50397
2026-08-18 14:35:26 +08:00
Rahul Tank 57c627ce6c Merge branch 'feat/add_register_notif_indic_v5.5' into 'release/v5.5'
fix(nimble): Add separate helper functions to register indication (v5.5)

See merge request espressif/esp-idf!51800
2026-08-18 11:48:53 +05:30
Jiang Jiang Jian 79d99dfafc Merge branch 'docs/update_coexist_docs_v5.5' into 'release/v5.5'
docs(coex): enable coexist docs for c61 (v5.5)

See merge request espressif/esp-idf!51380
2026-08-18 12:00:20 +08:00
yangfeng 26dfcb0c86 fix(bt): Fix compatibility with A2DP API legacy usage methods
- Modify the timing of API calls in the A2DP example
- Closes https://github.com/espressif/esp-idf/issues/18786
2026-08-18 11:26:53 +08:00
yangfeng c1a1c97189 fix(bt): Fix the critical issues related to A2DP from AI review report
AVDT:
- Roll back CCB allocation when cmd/rsp queue creation fails
- Free media packet on invalid handle in AVDT_WriteReqOpt
- Zero-init timeout failure message before GETCAP callback
- Initialize lcid_tbl to 0xFF to avoid mapping to tc_tbl[0]
BTA/AVRCP:
- Use size_t for AVRC message copy buffer allocation
- Allocate before register in BTA_AvEnable
- Guard BTA_AvRegister callback when enable never completed
- Remove invalid free of inline Cover Art image_descriptor
A2DP BTC/API:
- Default g_a2dp_on_deinit to true before profile init
- Reject source audio send when A2DP is deiniting
- Add shutdown state check in btc_a2dp_sink_shutdown
- Guard A2DP source timer against freed dynamic local param
2026-08-18 11:26:53 +08:00
gaoxu 5a062218c0 feat(csi): support CSI format conversion and bit swap 2026-08-18 11:14:03 +08:00
Shu Chen e93c339dfc Merge branch 'feat/support_multipan_feature_rcp_20260603_v5.5' into 'release/v5.5'
feat(openthread): support multipan feature for RCP (v5.5)

See merge request espressif/esp-idf!51779
2026-08-18 02:49:37 +00:00
Rahul Tank 14b61b5b7f fix(nimble): Add separate helper functions to register notification/indication 2026-08-18 07:37:38 +05:30
Martin Vychodil 12d5921057 Merge branch 'fix/sdmmc_fatfs_dma_psram_non_cached_region_v5.5' into 'release/v5.5'
fix(sdmmc): Validate DMA buffer address range (v5.5)

See merge request espressif/esp-idf!51151
2026-08-17 20:22:38 +08:00
Frantisek Hrbata a78ee285c9 fix: harden build against empty toolchain output
On some Windows systems, antivirus, endpoint-security or DLP/encryption
software intercepts short-lived toolchain processes and strips their
stdout when the build captures it through a pipe, while the same command
prints its output normally when run by hand. The tool exits successfully
but returns nothing, and each build step that reads toolchain output then
failed with a different, cryptic error far from the real cause:

- CMake configuration aborted with "Unknown arguments specified" in
  components/xtensa/project_include.cmake, or "check_expected_tool_version
  invoked with incorrect arguments" in components/esp_common.
- ldgen turned the empty objdump output into an opaque pyparsing
  "Expected 'In archive'" traceback.
- idf_tools.py silently reported the compiler/debugger version as
  "unknown", sending users into a fruitless reinstall loop.

Detect the empty result at each consumer and fail (or warn) with an
actionable message that names the likely cause and the remedy:

- tools/cmake/compiler_query.cmake: new __compiler_query() helper runs a
  compiler query and fails with a clear error on empty or failed output.
  It is a standalone module included by the build system utilities, so
  that it is available to the esp_common and xtensa project_include.cmake
  files that call it. The xtensa if() arguments are now quoted so an
  empty result no longer collapses into a parse error.
- tools/ldgen/ldgen.py: _run_objdump() rejects empty objdump output, and
  non-empty-but-unparsable section info is caught and re-raised as a clear
  LdGenFailure instead of a raw pyparsing traceback.
- tools/idf_tools.py: empty version output now warns with the cause and
  returns UNKNOWN_VERSION instead of silently reporting "unknown".

Closes https://github.com/espressif/esp-idf/issues/18727

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2026-08-17 19:04:43 +08:00
Ondrej Kosta 75b59f9866 fix(esp_eth): fixed Ethernet PHY HW reset timing in common PHY code 2026-08-17 12:07:36 +02:00
Euripedes Rocha de2df030e4 Merge branch 'bugfix/l2tap-test-errno-v5.5' into 'release/v5.5'
test(esp_netif): clear errno before L2TAP asserts v5.5

See merge request espressif/esp-idf!51762
2026-08-17 10:47:27 +02:00
Xu Si Yu bfd38b6d4c fix(openthread): fix configuration-related issues 2026-08-17 14:16:47 +08:00
Wang Meng Yang 9d7bd46045 Merge branch 'change/refactor_hidh_datapath_v5.5' into 'release/v5.5'
Change/refactor hidh datapath[backport v5.5]

See merge request espressif/esp-idf!51280
2026-08-17 10:25:28 +08:00
morris ba1fc474b2 Merge branch 'feat/move_flash_120_out_from_experimental_v5.5' into 'release/v5.5'
feat(flash): p4 flash 120MHz is no longer experimental feature (v5.5)

See merge request espressif/esp-idf!51700
2026-08-17 10:08:13 +08:00
linruihao ef2d22cd4f docs(coex): enable coexist docs for c61 2026-08-17 07:58:32 +08:00
Rahul Tank 222d32c462 Merge branch 'bugfix/fix_restart_gatt_svr_v5.5' into 'release/v5.5'
fix(nimble): Add fix to handle service reset during server start (v5.5)

See merge request espressif/esp-idf!51563
2026-08-16 09:56:56 +05:30
muhaidong ed4de45046 fix(wifi): fix some wifi bugs 260706 v5.5
1. support weak func for wifi lmac assert
2. post disconnect event after disassociation tx callback
2026-08-15 10:49:30 +08:00
muhaidong f622b7d8ce fix(wifi): support weak func for wifi lmac assert 2026-08-15 10:49:30 +08:00
muhaidong 1bca3365bc fix(coex): remove unsupported external coex soc caps 2026-08-15 10:49:30 +08:00
Shu Chen 55e2e8e629 Merge branch 'fix/154_mac_receive_at_v5.5' into 'release/v5.5'
fix(ieee802154): skip receive_at when rx window already expired (v5.5)

See merge request espressif/esp-idf!51365
2026-08-14 11:22:57 +00:00
Rahul Tank f542038478 fix(nimble): Add fix to handle service reset during server start 2026-08-14 13:51:54 +05:30
Xu Si Yu 3079c4b9e3 feat(openthread): support multipan feature for RCP 2026-08-14 15:07:15 +08:00
Xu Si Yu de8d87d8de feat(openthread): initialize multiple_instances source directory 2026-08-14 15:06:18 +08:00
Xu Si Yu d3cbea1a8c fix(ieee802154): clear RX buffer state on MAC init 2026-08-14 15:06:18 +08:00