Commit Graph
54295 Commits
Author SHA1 Message Date
Jiang Jiang Jian 1c03ef78f3 Merge branch 'bugfix/ftm_calib_v6.1' into 'release/v6.1'
fix(ftm): tolerate small t2/t3 inversion in measurement validation (Backport v6.1)

See merge request espressif/esp-idf!52071
2026-09-02 17:23:25 +08:00
Jiang Jiang Jian bd51ab4afb Merge branch 'backport/backport_some_wifi_changes_v6.1_260902' into 'release/v6.1'
Backport/backport some wifi changes v6.1 20260902(backport v6.1)

See merge request espressif/esp-idf!52309
2026-09-02 17:22:33 +08:00
Aditya Patwardhan 984ea5ad81 fix(esp_http_server): reject Content-Length above UINT32_MAX
In httpd_parse.c, cb_headers_complete() converted the HTTP parser's
content_length (uint64_t) to the request's content_len (size_t) via an
unsafe cast through (int). On a 32-bit size_t target a Content-Length
above 4 GiB silently truncated, enabling request smuggling where the
server and an upstream proxy disagree on the body length (CWE-681).

Reject any Content-Length above UINT32_MAX with 413 Content Too Large
before any handler runs. UINT32_MAX is the largest body length the
server can represent in size_t content_len on every target, so this is
the maximum the server can support; no configuration knob is needed.

Closes SEC-102
Closes SEC-229

(cherry picked from commit 9d3f510c7f)
2026-09-02 17:19:39 +08:00
Alexey Gerenkov d965c1bfcf Merge branch 'fix/newlib_builds_v6.1' into 'release/v6.1'
Fix: newlib compatibility with libraries built with picolibc headers (v6.1)

See merge request espressif/esp-idf!51523
2026-09-02 17:14:06 +08:00
Alexey Gerenkov 89eb1c1516 Merge branch 'add_trace_doc_section_v6.1' into 'release/v6.1'
docs(esp_trace): restructure tracing docs with esp_trace as master (v6.1)

See merge request espressif/esp-idf!52264
2026-09-02 17:03:51 +08:00
Ashish Sharma b508d7bf9b feat(mbedtls): enable cross signed certificate verification support by default 2026-09-02 13:58:29 +05:30
morris 6a0c7764e7 Merge branch 'fix/dualcore_branch_predictor_cache_race_v6.1' into 'release/v6.1'
fix(spi_flash): disable branch prediction on the parked core during flash ops (v6.1)

See merge request espressif/esp-idf!52203
2026-09-02 16:19:36 +08:00
morris 5005636662 Merge branch 'feat/support_rgb_lcd_dma2d_v6.1' into 'release/v6.1'
feat(rgb_lcd): support draw bitmap using dma2d (v6.1)

See merge request espressif/esp-idf!51979
2026-09-02 16:18:08 +08:00
Rahul Tank f5e9410e62 Merge branch 'bugfix/fix_nimble_issue_310826_v6.1' into 'release/v6.1'
fix(nimble): Fix few nimble issues 31082026

See merge request espressif/esp-idf!52224
2026-09-02 13:31:33 +05:30
Shreyas Sheth f857d454fe fix(esp_wifi): Harden dpp Auth confirm and drop mismatched auth confirms 2026-09-02 13:28:28 +05:30
morris e75cbffafc Merge branch 'feat/support_rgb888_to_rgb565_v6.1' into 'release/v6.1'
feat(rgb_lcd): support convert rgb2rgb (v6.1)

See merge request espressif/esp-idf!52228
2026-09-02 15:56:56 +08:00
Mahavir Jain 2140e4752d Merge branch 'fix/hmac-ds-reset-corrupts-concurrent-mpi_v6.1' into 'release/v6.1'
fix(esp_security): don't reset DS peripheral in esp_hmac_calculate (v6.1)

See merge request espressif/esp-idf!52198
2026-09-02 12:55:04 +05:30
yinqingzhao 0553d097cd fix(wifi): config flash frequency to 80M in iperf sdkconfig 2026-09-02 15:17:31 +08:00
yinqingzhao 5cd0da1f37 feat(wifi): support disable dfs channels in apsta example 2026-09-02 15:17:31 +08:00
Chen Jichang 11e005e2e0 fix(dsi): add missing analog circuity config for SI issue 2026-09-02 15:16:40 +08:00
Chen Jichang 7133a54828 feat(dsi): add timeout check for lp cmd rx 2026-09-02 15:16:40 +08:00
Mahavir Jain 0158ad3d99 Merge branch 'fix/crt_bundle_cert_header_oob_v6.1' into 'release/v6.1'
Validate cert header extent before reading it in bundle check (v6.1)

See merge request espressif/esp-idf!51997
2026-09-02 11:53:14 +05:30
Martin Vychodil bf4d205494 Merge branch 'fix/reenable_sdmmc_tests_p4_v6.1' into 'release/v6.1'
fix(storage): Re-enable SDMMC related tests for P4 (v6.1)

See merge request espressif/esp-idf!52266
2026-09-01 18:27:38 +08:00
Adam Múdry e1f6ec686c fix(sdmmc): release aligned DMA buffer on card deinit 2026-09-01 12:27:09 +02:00
cjin dd809a9ef8 change(ble): Update lib_esp32h4 to 19f4fcca 2026-09-01 17:38:16 +08:00
cjin e62f358958 change(ble): Update lib_esp32s31 to 19f4fcca 2026-09-01 17:38:16 +08:00
cjin e89ec27231 change(ble): Update lib_esp32c6 to 304d435f 2026-09-01 17:38:15 +08:00
cjin 071704e151 change(ble): [AUTO_MR] Update lib_esp32c5 to 304d435f 2026-09-01 17:37:29 +08:00
cjin c7cbf2d387 change(ble): [AUTO_MR] Update lib_esp32h2 to 304d435f 2026-09-01 17:34:23 +08:00
Roland Dobai 5b5a89403a Merge branch 'fix/mcp_subprocess_stdin_v6.1' into 'release/v6.1'
fix(tools): detach MCP tool subprocess stdin from JSON-RPC pipe (v6.1)

See merge request espressif/esp-idf!52282
2026-09-01 10:43:45 +02:00
Erhan Kurubas e48023f388 docs(jtag-debugging): syncronize EN and CN versions 2026-09-01 08:45:18 +02:00
Erhan Kurubas ea6e93264c docs(esp_trace): fix dangling README link to the tracing guide 2026-09-01 08:45:18 +02:00
Zhang Shuxian f6bbbf90c6 docs: Update CN translation for tracing
(cherry picked from commit 35deba1bd7)
2026-09-01 08:45:18 +02:00
Erhan Kurubas bd09970094 docs(esp_trace): restructure tracing docs with esp_trace as master
Reorganize the tracing documentation so esp_trace is the master
component, with app_trace, SystemView, and Gcov referenced from it.

(cherry picked from commit 6c6490d54c)
2026-09-01 08:45:18 +02:00
Akshat Agrawal b95ad5669f fix(ftm): tolerate small t2/t3 inversion in measurement validation
- Update FTM calibration for esp32c5, C61, C6, C3
2026-09-01 14:18:47 +08:00
yinqingzhao c2809548f7 feat(wifi): support fixed ampdu rate 2026-09-01 14:18:47 +08:00
yinqingzhao bee83ee3b1 feat(wifi): support max bandwidth negotiation 2026-09-01 14:18:47 +08:00
Sarvesh Bodakhe 76c56a7b8d fix(wifi): fix NAN availability time bitmap parsing issue
Accept spec-legal NAN availability time bitmaps (period > 512 TU,
bitmap length > 4, full 9-bit start offset) so iPhone secured NDP
setup is no longer rejected with NDL_UNACCEPTABLE.

Fixes NAN NDP interop with the iPhone 17 series.

(cherry picked from commit 42651e1ee1)
2026-09-01 14:18:47 +08:00
Sarvesh Bodakhe 7aee122f30 fix(wpa_supplicant): accept NIK follow-up key descriptor with Key Type=0
iPhone (and hostap) set Key Type=0 in the pairing NIK follow-up Shared-Key
Descriptor (key_info=0x1340) since the NIK is not a pairwise key. We required
the pairwise bit and rejected the frame before decryption, so the NIK
exchange timed out and pairing was torn down. Require only the Encrypted
Key Data bit.

(cherry picked from commit 94988c5aa4)
2026-09-01 14:18:47 +08:00
sibeibei 897dd47eb5 fix(scan): prioritize if1_conn check for home channel return logic
(cherry picked from commit 2b528716be)
2026-09-01 14:18:47 +08:00
wangtao@espressif.com afce86cd7b fix(wifi): fix wifi scan and wps connect issue
(cherry picked from commit bbccbd5b1d)
2026-09-01 14:18:47 +08:00
muhaidong 102d09de53 fix(wifi): fix disconnect failure issue
(cherry picked from commit 33d39c304f)
2026-09-01 14:18:47 +08:00
yinqingzhao 7c3f1589f2 fix(wifi): add workaround for s31 beacon timestamp issue
(cherry picked from commit ab8568f547)
2026-09-01 14:18:47 +08:00
Marek FialaandCursor cf09ccd766 fix(tools): send mcp-server startup diagnostics to stderr
idf.py mcp-server printed startup, shutdown, and error messages on
stdout. On the stdio MCP transport, stdout is the JSON-RPC channel, so
those non-JSON lines can confuse or break strict clients. Route them to
stderr like the other diagnostics in mcp_ext.py.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-01 08:10:23 +02:00
Marek Fiala a6c3f023a2 fix(tools): detach MCP tool subprocess stdin from JSON-RPC pipe
idf.py mcp-server tool handlers were spawning idf.py without redirecting
stdin, so the child inherited the long-lived MCP JSON-RPC transport and
could hang indefinitely on tools/call. Pass stdin=subprocess.DEVNULL on
every spawn of idf.py.

Closes https://github.com/espressif/esp-idf/issues/18961
2026-09-01 08:10:23 +02:00
Chen Chen 86c3a1fbc7 fix(spi_flash): keep program and erase paths in IRAM 2026-09-01 11:56:26 +08:00
Island 429855b705 Merge branch 'feat/adapt_uhci_code_260824_v6.1' into 'release/v6.1'
refactor(hci): switch HCI UART DMA transport to UHCI driver APIs (6.1)

See merge request espressif/esp-idf!52161
2026-09-01 11:28:39 +08:00
wuzhenghui aaccbdd47c fix(spi_flash): integrate branch prediction control during cache operations 2026-09-01 02:42:19 +00:00
Ashish Sharma 7e808c82ea fix(spi_flash): disable branch prediction on the parked core during flash ops 2026-09-01 02:42:19 +00:00
Adam Múdry 14f9605be2 fix(storage): Re-enable SDMMC related tests for P4 2026-08-31 15:11:10 +02:00
Rahul Tank a32623ec88 fix(nimble): move BTDM defaults to esp32
BTDM_CTRL_MODE_* exists only on classic ESP32. Shared
sdkconfig.defaults caused unknown-symbol warnings on other targets.
2026-08-31 20:27:23 +08:00
Rahul Tank 2961c16685 fix(nimble): Fix issues found in review for nimble examples 2026-08-31 20:27:23 +08:00
Astha Verma 64d3d6a9c3 fix(nimble): Restore throughput after switching from LE Coded PHY 2026-08-31 20:27:23 +08:00
Rahul Tank 891278ef2a fix(nimble): Fix ECC HW byte-order and dropped SOC_ESP_NIMBLE_CONTROLLER 2026-08-31 20:27:23 +08:00
Rahul Tank 98ee8310b5 fix(nimble): Fix for clang compilation issues 2026-08-31 20:27:23 +08:00