Commit Graph
54844 Commits
Author SHA1 Message Date
Martin Vychodil 1563fdf69d Merge branch 'fix/fatfs-vfs-fcntl-setfl' into 'master'
fix(fatfs): preserve access mode in VFS F_SETFL

See merge request espressif/esp-idf!51880
2026-08-20 18:03:07 +08:00
morris d8df109e32 Merge branch 'feat/spi_master_ddr_mode' into 'master'
feat(driver_spi): master driver support DDR(DTR) clock mode

Closes IDFGH-12948

See merge request espressif/esp-idf!49810
2026-08-20 17:40:32 +08:00
morris 9d7270493b Merge branch 'feat/twai_add_usb_adapter_example' into 'master'
feat(driver_twai): twai add usb adapter example

See merge request espressif/esp-idf!50556
2026-08-20 17:39:48 +08:00
Fu Hanxi f15c6b7fef Merge branch 'ci/replace-cli-independent-xfail' into 'master'
tests: replace CLI-dependent xfail/skipif conditions

See merge request espressif/esp-idf!51842
2026-08-20 10:39:58 +02:00
Island 3c2884103f Merge branch 'idf/ble_audio_example_update' into 'master'
feat(ble_audio): Miscellaneous update for ISO & Audio examples

See merge request espressif/esp-idf!51812
2026-08-20 16:29:37 +08:00
Martin Vychodil 2ed759adcd Merge branch 'contrib/github_pr_18960' into 'master'
Fix default value type of FATFS_PRINT_LLI and FATFS_PRINT_FLOAT (GitHub PR)

Closes IDFGH-18122

See merge request espressif/esp-idf!51692
2026-08-20 15:42:50 +08:00
Fu Hanxi 289a17b3a2 tests: replace CLI-dependent xfail/skipif conditions 2026-08-20 09:14:41 +02:00
Marius Vikhammer 844a03718a Merge branch 'feat/c5_eco4_newlib_support' into 'master'
change(esp_libc): use C5 ECO4 ROM newlib functions

See merge request espressif/esp-idf!50280
2026-08-20 15:10:47 +08:00
Island 9e9a1b3ffc Merge branch 'refactor/ble-log-lifecycle' into 'master'
BLE Log Transaction Submit Decoupling & Potential SMP Lifecycle Race Fix

See merge request espressif/esp-idf!51889
2026-08-20 15:04:51 +08:00
Jiang Jiang Jian c3906243ca Merge branch 'contrib/github_pr_18990' into 'master'
Bool Kconfig options must use 'y'/'n' for defaults, not '0'/'1'. (GitHub PR)

Closes IDFGH-18162

See merge request espressif/esp-idf!51886
2026-08-20 14:41:53 +08:00
Mahavir Jain 6bf9b20dd9 Merge branch 'fix/tee_disallow_reentrant_sec_svc' into 'master'
fix(esp_tee): Reject re-entrant secure service calls from the REE

See merge request espressif/esp-idf!51330
2026-08-20 11:56:51 +05:30
Mahavir Jain dc73db9f18 Merge branch 'update/update_certs_bundle' into 'master'
Update esp_crt_bundle certificates

See merge request espressif/esp-idf!51768
2026-08-20 11:56:38 +05:30
Martin Vychodil ec48a1f244 Merge branch 'fix/idf-16024-nvs-api-docs' into 'master'
docs(nvs_flash): correct public API docs for error codes and space use

Closes IDF-16024

See merge request espressif/esp-idf!51590
2026-08-20 14:20:04 +08:00
morris fe465ae1fe Merge branch 'fix/psram-ecc-mspi-dma-align' into 'master'
fix(mspi): handle PSRAM ECC DMA alignment across MSPI users

Closes IDF-15850, IDF-15910, and IDF-15700

See merge request espressif/esp-idf!49987
2026-08-20 11:51:46 +08:00
morris fb8873278d Merge branch 'fix/lcd_test_build_error' into 'master'
fix(rgb_lcd): pass output color format in tests

See merge request espressif/esp-idf!51894
2026-08-20 11:34:25 +08:00
Liu Linyan d2fee5862a feat(ble_audio): Miscellaneous update for ISO & Audio examples 2026-08-20 11:24:32 +08:00
Marius Vikhammer 71ec4f2699 Merge branch 'fix/buildv2_ldgen_template_rebuild_test' into 'master'
fix(test_build_system): fix ldgen template rebuild test for build system v2

See merge request espressif/esp-idf!51732
2026-08-20 11:08:46 +08:00
morris cef40397d9 fix(rgb_lcd): pass output color format in tests 2026-08-20 10:06:21 +08:00
morris 49ff31f1b6 Merge branch 'fix/spi_flash_keep_program_erase_in_iram' into 'master'
fix(spi_flash): keep program and erase paths in IRAM

See merge request espressif/esp-idf!51650
2026-08-20 10:03:11 +08:00
morris 1c7d81f5f2 Merge branch 'feat/ppa_freetype_example' into 'master'
feat(ppa): add FreeType font compositing example

See merge request espressif/esp-idf!51707
2026-08-20 03:40:33 +08:00
Zhou Xiao 68ece6c8b6 refactor(ble_log): close the lifecycle gate before teardown
Introduce a seq_cst closing gate shared by the runtime and the LBM:
submitters increment the reference count before checking the inited
flag, and deinit closes the gate and waits for the count to drain
before deleting tasks, timers, queues, or buffers. A producer either
observes shutdown or its reference is visible to the wait, which makes
ble_log_deinit safe while write APIs are still active.

Submitters no longer block on the queue while holding a reference: a
timeout-0 send that cannot queue recycles the transport so its data
survives for the next flush.

Extract ble_log_ref_count_try_acquire/wait into the utility layer and
gate every LBM writer through ble_log_lbm_ref_acquire. ble_log_deinit
now closes the LBM gate first (ble_log_lbm_close) instead of clearing
the enable flag.
2026-08-19 23:17:46 +08:00
Zhou Xiao ccbc94cacc refactor(ble_log): decouple runtime submission ownership
Move transport ownership from the runtime to the LBM: submit and
recycle now hand the peripheral-owned flag explicitly instead of the
runtime reaching back into LBM buffers. The submit path never blocks
producers - a transport that cannot be queued is recycled immediately
so its data survives for the next flush.

Cross-context ownership accesses go through explicit atomic helpers:
release-store on recycle pairs with acquire-loads in the flush paths,
and the inflight high-water mark stays a relaxed CAS-max (a plain
volatile update races the runtime hook's statistics reads).
2026-08-19 23:15:07 +08:00
Mahavir Jain b27a1cd318 Merge branch 'change/gen_crt_bundle_unify_output' into 'master'
change(mbedtls/crt_bundle): Unify gen_crt_bundle output with esp-pylib

Closes IDF-15331

See merge request espressif/esp-idf!51556
2026-08-19 19:38:29 +05:30
Mahavir Jain ad59a903b7 Merge branch 'fix/esp32s2_aes_dma_psram_partial_block_hang' into 'master'
Avoid ESP32-S2 Crypto DMA stall on PSRAM output with partial blocks

See merge request espressif/esp-idf!51796
2026-08-19 19:29:59 +05:30
Mahavir Jain 53076b8aad Merge branch 'feat/enable_dpu_region_protection_for_esp32s31' into 'master'
feat: enable cpu region protection for esp32s31

Closes IDF-15238

See merge request espressif/esp-idf!49270
2026-08-19 19:13:11 +05:30
richardsonnick acebd79894 fix(examples): use 'n' instead of '0'/'false' for bool Kconfig defaults
'0' and 'false' are not valid values for a bool symbol. The parser emits
a note and falls back to 'n', so the resulting configuration is correct
but the build is noisy. Set the two remaining example symbols to
'default n' to make the value explicit and silence the note.
2026-08-19 09:25:15 -04:00
radek.tandler f16d3f3cf6 docs(nvs_flash): correct public API docs for error code
-align nvs.h / nvs_handle.hpp Doxygen with the implementation: fix return codes
-guard nvs_open against a NULL out_handle
2026-08-19 15:25:12 +02:00
wanckl d25d82923f feat(driver_twai): add usb<->twai candlelight example 2026-08-19 21:00:12 +08:00
Island 58d66f4bc5 Merge branch 'fix/fixed_qa_test_issues_for_s31' into 'master'
fix(ble): fixed occasional sched assertion for scan scenario

Closes BLERP-3055 and BLERP-3056

See merge request espressif/esp-idf!51848
2026-08-19 20:35:13 +08:00
morris 67cfad9a11 Merge branch 'fix/multi_dev_test_decrase_timeout' into 'master'
fix(ci): reduce peripheral multi dev test timeout time

See merge request espressif/esp-idf!51834
2026-08-19 19:59:23 +08:00
Espressif BOT 1004336f7a change(mbedtls/crt_bundle): Update esp_crt_bundle certificates 2026-08-19 17:08:51 +05:30
Laukik Hase fd73878204 fix(esp_tee): Reject re-entrant secure service calls from the REE 2026-08-19 16:36:16 +05:30
Pranav Sonawane 5d760b7a4a change(mbedtls/crt_bundle): Unify gen_crt_bundle output with esp-pylib
gen_crt_bundle.py now uses the shared esp-pylib library instead of its own
logging and argument parsing, so its messages look the same as the rest of
the ESP-IDF Python tools.
2026-08-19 16:22:57 +05:30
Mahavir Jain 30e851857c Merge branch 'fix/mbedtls_gcm_multipart_and_ecp_pubkey' into 'master'
Fix/mbedTLS port layer security fixes (394, 1214, 1206)

Closes SEC-1214, SEC-394, and SEC-1206

See merge request espressif/esp-idf!51096
2026-08-19 16:21:43 +05:30
Rahul Tank 42e02b7d02 Merge branch 'bugfix/irk_smp_bond_issue' into 'master'
fix(nimble): Fix unpair_oldest_peer deleting wrong device

Closes BCI-603

See merge request espressif/esp-idf!46230
2026-08-19 16:17:25 +05:30
morris 09a65392d4 Merge branch 'feat/support_rgb888_to_rgb565' into 'master'
feat(rgb_lcd): support convert rgb2rgb

Closes IDF-14142

See merge request espressif/esp-idf!49359
2026-08-19 18:13:53 +08:00
Martin VychodilandCursor ac76f19285 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.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 11:41:24 +02:00
wanckl a9ce9e4abf feat(driver_spi): master driver support DDR(DTR) clock mode 2026-08-19 17:22:45 +08:00
Jiang Jiang Jian f1cbff98e3 Merge branch 'bugfix/dpp_stray_auth_confirm' into 'master'
fix(esp_wifi): Harden dpp Auth confirm and drop mismatched auth confirms

Closes WIFIBUG-2032 and WIFIBUG-2075

See merge request espressif/esp-idf!51554
2026-08-19 17:15:35 +08:00
Mahavir Jain 200cae8317 Merge branch 'feat/ws-control-frame-handler' into 'master'
feat(esp_http_server): separate control frame handler for WS server

Closes IDFGH-17509

See merge request espressif/esp-idf!50616
2026-08-19 14:20:16 +05:30
Chen Chen 79c3ec77d0 fix(spi_flash): keep program and erase paths in IRAM 2026-08-19 16:50:08 +08:00
Mahavir Jain d1fc1ed6b9 Merge branch 'contrib/github_pr_18922' into 'master'
fix(esp_https_server): restore use_secure_element initializer in HTTPD_SSL_CONFIG_DEFAULT() (GitHub PR)

Closes IDFGH-18077

See merge request espressif/esp-idf!51540
2026-08-19 13:45:15 +05:30
Jiang Jiang Jian 8c301616f8 Merge branch 'fix/fix_esp32p4_missing_pvt_clock' into 'master'
fix(esp_hw_support): fix esp32p4 PVT clock lost

See merge request espressif/esp-idf!51756
2026-08-19 16:12:21 +08:00
wanckl 8889acc3d1 fix(ci): reduce peripheral multi dev test timeout time 2026-08-19 15:30:55 +08:00
Sergei Silnov 76a34b3f85 Merge branch 'feat/consume_root_managed_components_from_component_manager' into 'master'
feat: Consume root-managed components from IDF Component Manager

Closes PACMAN-1262, PACMAN-1266, IDFCI-10131, and IDF-14259

See merge request espressif/esp-idf!48609
2026-08-19 09:30:32 +02:00
harshal.patil 95f1582f4b test(mbedtls): add partial-block PSRAM coverage for AES and AES-GCM
Extend the CTR test data length to 6433 bytes so the trailing partial
block is exercised with external RAM buffers (which stalls the ESP32-S2
Crypto DMA on an unfixed driver), and add AES-GCM PSRAM tests verified
against internal RAM references.
2026-08-19 11:27:52 +05:30
harshal.patil 6fe4f4f174 fix(mbedtls/aes): fix ESP32-S2 Crypto DMA stall on PSRAM output with partial blocks
The ESP32-S2 Crypto DMA in-channel stalls silently when a receive
descriptor list transitions from external to internal RAM. The AES
driver hits this when a PSRAM-output operation has a trailing partial
block, as the internal stream descriptor is linked after the external
RAM data descriptors.

- esp_aes_process_dma(): process the block-aligned part and the partial
  block as two separate DMA operations, keeping each descriptor list
  uniform
- crypto_dma_ll_reset(): also reset the in-channel (per the TRM receive
  reset sequence), otherwise stale state from a preceding external-RAM
  operation corrupts the next operation's output

The GCM DMA path is unaffected; it never operates on PSRAM buffers.
2026-08-19 11:27:42 +05:30
Ashish Sharma 5bd8050985 test(esp_http_server): cover WebSocket control-frame handler 2026-08-19 12:45:08 +08:00
Ashish Sharma 0d664083d0 docs(esp_http_server): document the WebSocket control-frame handler 2026-08-19 12:45:08 +08:00
Ashish Sharma cfad6727fe feat(esp_http_server): add dedicated WebSocket control-frame handler
Closes https://github.com/espressif/esp-idf/issues/18448
2026-08-19 12:45:08 +08:00