Commit Graph

54868 Commits

Author SHA1 Message Date
hebinglin
53adc12692 feat(esp_security): make esp32h4 esp32h21 on-demand crypto clock management optional 2026-08-27 23:16:00 +08:00
hebinglin
df77b4bd38 feat(esp_hw_support): support esp32h4/h21 clk tree management 2026-08-27 14:40:42 +08:00
Island
b033a9fedd Merge branch 'chore/ble-log-unused-code' into 'master'
chore: BLE Log Unused Code Cleanup

See merge request espressif/esp-idf!51910
2026-08-21 14:55:08 +08:00
morris
611d227326 Merge branch 'feat/i2s_recorder_example_startup_discard' into 'master'
feat(i2s): add turn-on time config for mic recorder example

See merge request espressif/esp-idf!51810
2026-08-21 13:06:41 +08:00
Mahavir Jain
059f4ad22e Merge branch 'test/fix_inplace_ctr_psram_test_sw_aes' into 'master'
test(mbedtls): fix in-place AES-CTR PSRAM test on targets without AES hardware

See merge request espressif/esp-idf!51921
2026-08-21 10:07:32 +05:30
morris
1c13ed9bf3 Merge branch 'fix/esp_idf_h4_pmu_icg_mapping' into 'master'
fix(esp_hw_support): pmu_icg_mapping define mistake

See merge request espressif/esp-idf!51905
2026-08-21 11:49:03 +08:00
Marius Vikhammer
b95b1bbf1f Merge branch 'bugfix/cmakev2-coredump-default-component' into 'master'
fix(cmakev2): include config-selected default components

See merge request espressif/esp-idf!49614
2026-08-21 10:16:27 +08:00
harshal.patil
b85c05d556 test(mbedtls): fix in-place AES-CTR PSRAM test on targets without AES hardware
With MBEDTLS_PSA_ASSUME_EXCLUSIVE_BUFFERS enabled, an in-place
psa_cipher_update() reaches the selected cipher implementation without
defensive buffer copies. The ESP AES PSA driver accepts an in-place
update of any length for CTR (PSA classifies CTR as a stream cipher, so
the driver's block_length is 1), but on targets without the AES
peripheral (e.g. ESP32-C61) the operation falls back to the mbedtls
builtin cipher layer, which rejects in-place updates whose length is
not a multiple of the block size (MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA,
surfacing as PSA_ERROR_INVALID_ARGUMENT).

Round the in-place test length down to a block multiple when
CONFIG_MBEDTLS_HARDWARE_AES is not set; partial-block PSRAM coverage is
retained through the separate-buffer alignment tests.
2026-08-20 18:46:09 +05:30
Jiang Jiang Jian
0276131402 Merge branch 'feat/support_adaptive_bandwidth_negotiation' into 'master'
feat(wifi): support adaptive bandwidth negotiation

Closes FCS-1858

See merge request espressif/esp-idf!46129
2026-08-20 21:13:38 +08:00
Jiang Jiang Jian
9ad859a1e4 Merge branch 'fix/esp32s31_cpu_clk_src_dependency' into 'master'
fix(esp_hw_support): fix esp32s31 cpu clk src dependency

Closes BT-4455

See merge request espressif/esp-idf!51572
2026-08-20 20:53:03 +08:00
Jiang Jiang Jian
535fa4c3b2 Merge branch 'bugfix/bta_disable_not_run' into 'master'
fix(bt/bluedroid): fix BTA event dispatch race during moduel disable

See merge request espressif/esp-idf!51809
2026-08-20 19:35:35 +08:00
Jiang Jiang Jian
643070c243 Merge branch 'bugfix/hci_cmd_proc' into 'master'
fix(bt/bluedroid): fixed the function prototype of the command handler of READ LOCAL SUPPORTED CODECS.

Closes BTQABR2023-888

See merge request espressif/esp-idf!51832
2026-08-20 19:35:24 +08:00
Martin Vychodil
9d8b1812fd Merge branch 'fix/generic_bdl_helper_functions_change_api' into 'master'
fix(storage): Add support for large generic partition BDLs

See merge request espressif/esp-idf!51687
2026-08-20 18:36:42 +08:00
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
hebinglin
27fe024e30 fix(esp_hw_support): pmu_icg_mapping define mistake 2026-08-20 17:23:26 +08:00
Zhou Xiao
afc12706a0 refactor(ble_log): simplify timestamp sync scheduling 2026-08-20 16:41:29 +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
wuzhenghui
a3b62bc3c4 fix(esp_hw_support): fix ESP32-S31 CPU/DFS clk_tree refcount and keep clock source during DFS 2026-08-20 16:00:52 +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
Zhou Xiao
33cddfae15 refactor(ble_log): remove obsolete unit test hooks 2026-08-20 15:33:02 +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
5c0facdaba fix(cmakev2): include config-selected default components 2026-08-20 11:09:58 +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