Commit Graph
52121 Commits
Author SHA1 Message Date
Jiang Jiang Jian 71722673c5 Merge branch 'bugfix/fix_disconnect_failure_issue_v6.0' into 'release/v6.0'
fix(wifi): fix disconnect failure issue(Backport v6.0)

See merge request espressif/esp-idf!53155
2026-09-24 19:58:55 +08:00
Marius Vikhammer 215e40f567 Merge branch 'feat/hwloop_esp32p4_v3_0_v6.0' into 'release/v6.0'
fix(freertos): update HWLP state bug condition for ESP32P4 revision checks (v6.0)

See merge request espressif/esp-idf!53135
2026-09-24 19:03:08 +08:00
Mahavir Jain 6ff00c89d0 Merge branch 'test/tee_sec_stg_aead_len_bounds_v6.0' into 'release/v6.0'
test(esp_tee): fix oversized AEAD test to exercise the length check (v6.0)

See merge request espressif/esp-idf!53104
2026-09-24 15:30:05 +05:30
muhaidong 7869a94894 fix(wifi): fix disconnect failure issue 2026-09-24 17:21:55 +08:00
Jiang Jiang Jian 7bbf45f4ce Merge branch 'bugfix/ftm_heap_corruption_v6.0' into 'release/v6.0'
fix(ftm): Fix heap corruption by terminating FTM mid disconnection (Backports v6.0)

See merge request espressif/esp-idf!53010
2026-09-24 16:50:58 +08:00
Jiang Jiang Jian f933b9b86a Merge branch 'fix/roam_issues_fixes_v6.0' into 'release/v6.0'
Few roam fixes(v6.0)

See merge request espressif/esp-idf!53126
2026-09-24 14:34:58 +08:00
Rahul Tank 5e846b15db Merge branch 'bugfix/fix_gattc_temp_list_crash_v6.0' into 'release/v6.0'
fix(nimble): Fix GATTC temp-list crash (v6.0)

See merge request espressif/esp-idf!53141
2026-09-24 10:12:41 +05:30
Sumeet Singh 44d956cf6a fix(nimble): Fix GATTC temp-list crash (v6.0) 2026-09-23 17:51:29 +05:30
Jiang Jiang Jian 2cdef4901e Merge branch 'feature/esp_timer_is_active_when_cb_is_running_v6.0' into 'release/v6.0'
feat(esp_timer): Adds blocking stop API (v6.0)

See merge request espressif/esp-idf!52240
2026-09-23 19:51:56 +08:00
Konstantin Kondrashov 6b7d00fbad fix(freertos): update HWLP state bug condition for ESP32P4 revision checks 2026-09-23 11:15:28 +03:00
Euripedes Rocha fa95b0f5d8 Merge branch 'contrib/github_pr_19007_v6.0' into 'release/v6.0'
fix(esp_eth): avoid per-frame descriptor ring scan in RX task (GitHub PR) (v6.0)

See merge request espressif/esp-idf!53119
2026-09-23 09:50:53 +02:00
tarun.kumar ae5df60f12 fix(wifi): Send Low RSSI reason in BTM Query for roaming
Roaming previously used REASON_RSSI (5), which APs decode as Load
Balancing. Send Low RSSI (16) from RoamingApp and the example
without changing the public btm_query_reason enum.
2026-09-23 12:40:19 +05:30
tarun.kumar 6c6a3dafab fix(wifi) : Preserve SSID and authmode across disconnect for blacklist recovery 2026-09-23 12:40:05 +05:30
tarun.kumar 6ee8167739 fix(wifi) : Roam handle unregister issue 2026-09-23 12:33:31 +05:30
Konstantin Kondrashov 13b7a384e7 feat(esp_timer): Adds blocking stop function 2026-09-23 14:30:13 +08:00
Konstantin Kondrashov c6681c7ca0 refactor(esp_timer): Remove unnecessary nested list lock 2026-09-23 14:30:13 +08:00
Konstantin Kondrashov bebb748360 feat(esp_timer): esp_timer_is_active while callback is running 2026-09-23 14:30:13 +08:00
Wang Meng Yang d51737a36d Merge branch 'debug/debug_on_phy_retention_v6.0_rx_error' into 'release/v6.0'
fix(phy): fix phy retention phy i2c reg config on esp32-c5

See merge request espressif/esp-idf!52970
2026-09-23 14:26:53 +08:00
Scramble Tools eaa9ae6f8f fix(esp_eth): avoid per-frame descriptor ring scan in RX task
The RX task's drain loop called emac_esp_dma_get_remain_frames()
after every received frame, an O(backlog) walk of the descriptor
ring with a cache invalidate per descriptor. Under sustained load
the scan cost grows with the backlog, so the deeper the backlog
gets, the more time goes into scanning instead of draining, until
the task can no longer keep up and the DMA drops frames
continuously (measured ~3000 missed frames/s at 16k pkt/s
bidirectional on ESP32-P4 with 20 descriptors).

The loop only needs to know whether at least one more complete
frame is waiting, which emac_esp_dma_alloc_recv_buf() already
answers by checking a single descriptor, so exit the loop on that
instead. The full remain-frames count is kept only under
CONFIG_ETH_SOFT_FLOW_CONTROL, which genuinely needs it for the
pause-frame watermarks.

Related to https://github.com/espressif/esp-idf/issues/18800
2026-09-23 08:15:07 +02:00
Harshal Patil e6b038e7dc test(esp_tee): size the oversized-AEAD test buffer to the length it claims
The TEE checks REE buffer bounds before input length, so claiming 4097
bytes of a 31-byte buffer returned INVALID_ARG or INVALID_SIZE by layout.
2026-09-23 10:03:18 +05:30
Jiang Jiang Jian 3309bfc238 Merge branch 'bugfix/spp_deinit_crash_v6.0' into 'release/v6.0'
fix(bt/bluedroid): fixed heap corruption when deinit profiles during SDP discovery(v6.0)

See merge request espressif/esp-idf!53062
2026-09-23 12:03:38 +08:00
Island 7083227751 Merge branch 'backport/ble_log_host_init_v6.0' into 'release/v6.0'
fix(bt): initialize BLE Log in host-only mode (v6.0)

See merge request espressif/esp-idf!53030
2026-09-23 11:45:49 +08:00
Alexey Gerenkov 776dd21304 Merge branch 'feat/coredump_extram_attr_v6.0' into 'release/v6.0'
feat(coredump): add coredump_extram attribute (v6.0)

See merge request espressif/esp-idf!52652
2026-09-22 22:20:47 +08:00
Alexey Gerenkov 9fa0e7a071 Merge branch 'feat/enable_function_tracing_v6.0' into 'release/v6.0'
Enable function tracing (-finstrument-functions) (v6.0)

See merge request espressif/esp-idf!52656
2026-09-22 22:17:19 +08:00
Akshat Agrawal 4568709812 fix(ftm): Fix heap corruption by terminating FTM mid disconnection 2026-09-22 19:49:09 +08:00
Alexey Gerenkov 1f98b3aca9 Merge branch 'fix/nonstring_attr_declaration_v6.0' into 'release/v6.0'
fix(esp_common): detect nonstring attribute with __has_attribute (v6.0)

See merge request espressif/esp-idf!52626
2026-09-22 19:28:14 +08:00
Alexey Gerenkov ca833299b3 Merge branch 'riscv_panic_bp_fix_v6.0' into 'release/v6.0'
fix(esp_system/panic): ensure breakpoint set from panic handler gets hit afterwards (v6.0)

See merge request espressif/esp-idf!51828
2026-09-22 19:22:17 +08:00
Zhang Wen Xu 8a3a881b59 Merge branch 'fix/openthread-sleep-build-rules_v6.0' into 'release/v6.0'
ci(openthread): include sleep dependencies in build selection (v6.0)

See merge request espressif/esp-idf!53053
2026-09-22 11:13:32 +00:00
cjin 5192977812 fix(phy): fix phy retention phy i2c reg config on esp32-c5 2026-09-22 16:04:21 +08:00
Zhou Xiao f4ec0e19b6 fix(bt): initialize BLE Log in host-only mode
Initialize and deinitialize BLE Log from the Bluedroid host lifecycle when the local
controller is disabled. Guard controller mbuf handling with BLE_LOG_LL_ENABLED so host-
only builds do not depend on controller headers.

Update NimBLE to b6e2f93db269ad2bba8715953cb56f93bae4fc2f to provide the corresponding
host-only initialization. Combine the host initialization fix and the final NimBLE
revision into one prerequisite commit.
2026-09-22 14:46:50 +08:00
xiongweichaoandCursor a72a6b60fb fix(bt/bluedroid): fixed heap corruption when deinit A2DP/HID during SDP discovery
Cancel in-flight SDP searches before freeing discovery databases in BTA AV
and HID Host. Otherwise a late SDP response can be parsed into a freed
buffer after esp_a2d_*_deinit / HID host disable, the same class of
corruption as JV/SPP deinit.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-22 14:14:34 +08:00
xiongweichao 2b2b88a33c fix(bt/bluedroid): fixed heap corruption when deinit SPP during SDP discovery
bta_jv_disable() reset the control block and let BTA_JvFree() release
p_sdp_db/p_sdp_raw_data while an SDP service search could still be in
progress. Late SDP responses were then parsed into the freed discovery
database and corrupted the heap, so the crash surfaced much later in an
unrelated malloc(), inside TLSF remove_free_block().

Cancel the search first. SDP_CancelServiceSearch() moves the connection
control block to SDP_DISC_WAIT_CANCEL, and sdp_disc_server_rsp() matches
none of its PDU cases in that state, so a late response is rejected
instead of being written into the database.

Reachable from both esp_spp_deinit() and esp_bt_l2cap_deinit(), e.g. when
an application deinitializes SPP before ESP_SPP_DISCOVERY_COMP_EVT
arrives.
2026-09-22 14:14:34 +08:00
morris 1a70765bb3 Merge branch 'fix/twai_fix_eventgroup_usf_v6.0' into 'release/v6.0'
fix(driver_twai): fix potential crash when node_delete from high priority task (v6.0)

See merge request espressif/esp-idf!52917
2026-09-22 09:27:07 +08:00
zwx 80e85837c3 ci(openthread): include sleep dependencies in build selection 2026-09-22 09:07:36 +08:00
Euripedes Rocha fd36f9c040 Merge branch 'fix/emac_intr_defines_v6.0' into 'release/v6.0'
fix(emac): correct DMA status interrupt bit masks (v6.0)

See merge request espressif/esp-idf!52959
2026-09-21 12:26:40 +02:00
Marius Vikhammer ab9ade47b0 Merge branch 'bugfix/pm_hw_support_dep_v6.0' into 'release/v6.0'
fix(ci): close missing quote in system build-test-rules if clause (v6.0)

See merge request espressif/esp-idf!52995
2026-09-21 15:45:04 +08:00
Jiang Jiang Jian 51db976bd7 Merge branch 'bugfix/ftm_calib_v6.0' into 'release/v6.0'
fix(ftm): tolerate small t2/t3 inversion in measurement validation (Backport v6.0)

See merge request espressif/esp-idf!52072
2026-09-21 14:37:26 +08:00
Marius Vikhammer e7200710d3 fix(ci): close missing quote in system build-test-rules if clause
An unclosed string made the whole system test-app manifest invalid, so
the auto-suspend disable rule never applied to ESP32-S2.
2026-09-21 13:57:30 +08:00
Akshat Agrawal 9283e9fae9 fix(ftm): tolerate small t2/t3 inversion in measurement validation
- Update ftm calib values for C5,C6,C3,C61
2026-09-21 11:00:00 +05:30
Rahul Tank 686de59aeb Merge branch 'bugfix/cache_refresh_compilation_issue_v6.0' into 'release/v6.0'
fix(nimble): Fix build when gatt client disabled (v6.0)

See merge request espressif/esp-idf!52815
2026-09-21 10:50:36 +05:30
Shu Chen ea9ca71227 Merge branch 'pr_18845_v6.0' into 'release/v6.0'
fix(openthread): restore ot_network_auto_start() call in ot_br example (IDFGH-17984) (v6.0)

See merge request espressif/esp-idf!52858
2026-09-20 08:20:17 +00:00
Jiang Jiang Jian b1b8c9fbbc Merge branch 'fix/backport_nan_fixes_v6.0' into 'release/v6.0'
fix(nan): Backport a few open NDP fixes (Backport v6.0)

See merge request espressif/esp-idf!50835
2026-09-20 14:40:38 +08:00
Jiang Jiang Jian ef9f2453ff Merge branch 'fix/supplicant_checks_v6.0' into 'release/v6.0'
Fixed OOB read on short FT auth and RRM action frames(v6.0)

See merge request espressif/esp-idf!52709
2026-09-20 14:39:20 +08:00
morris 96961a89ae Merge branch 'feat/lz4-image_v6.0' into 'release/v6.0'
refactor(lcd): use LZ4-compressed binary images in i80_controller example (v6.0)

See merge request espressif/esp-idf!52946
2026-09-20 13:25:25 +08:00
morris 6a63083112 refactor(lcd): use LZ4-compressed binary images in i80_controller example
- Remove the EXAMPLE_LCD_IMAGE_SOURCE Kconfig option (embedded binary vs
  file system) and always load images from LittleFS.
- Convert the PNG images into LZ4-compressed LVGL binary images (.bin)
at
  build time using LVGLImage.py, and flash them to a LittleFS partition.
- Upgrade lvgl to 9.6.0 and add the espressif/lz4 component; link the
external LZ4 library into lvgl.
- Split the example: main.c focuses on the esp_lcd i80 API, while the
LVGL
  porting (lvgl_port.c) and the UI (lvgl_demo_ui.c) live in separate
files.
- Rework the demo animation to use the LVGL animation engine (lv_anim)
with
  easing paths instead of a manual software timer for smoother
rendering.
- Remove the embedded C image arrays (esp_logo.c, esp_text.c) and the
  obsolete sdkconfig.ci.image_in_{bin,fs} variants.
2026-09-20 09:49:04 +08:00
Astha Verma 8946ea2d7a fix(nimble): Connect with OTA address for host based privacy 2026-09-18 17:22:25 +05:30
Rahul Tank 05e2ad7bb2 Merge branch 'bugfix/l2cap_coc_disconnect_v6.0' into 'release/v6.0'
fix(nimble): fix l2cap_coc throughput disconnect on esp32c2 (v6.0)

See merge request espressif/esp-idf!52829
2026-09-18 16:41:49 +05:30
Ondrej Kosta b5fb8a6d79 fix(emac): correct DMA status interrupt bit masks
Align fatal-bus-error through normal-summary status flags with
dmastatus bit positions, and fix the FATAL_BUS_ERROR typo.
2026-09-18 12:11:39 +02:00
Wang Meng Yang 906c6ee688 Merge branch 'change/optimize_bredr_perf_coex_v6.0' into 'release/v6.0'
change(coex): optimize bredr acl performance in coexistence scenes (v6.0)

See merge request espressif/esp-idf!52896
2026-09-18 14:44:56 +08:00
Wang Meng Yang 00940a344d Merge branch 'bugfix/fix_hfp_api_status_check_v6.0' into 'release/v6.0'
fix(bt/bluedroid): check HFP audio status before forwarding SCO data (v6.0)

See merge request espressif/esp-idf!52890
2026-09-18 14:39:42 +08:00