Roland Dobai
29dcff2cdc
fix(tools): seed IDF_VERSION before idf.py parses dependencies.lock
...
Any idf.py invocation could hang indefinitely with no output while
spawning an unbounded chain of "idf.py --version" subprocesses,
eventually exhausting system memory.
During init_cli(), idf.py parses the project's dependencies.lock to
vet trusted component-provided idf_ext.py extensions. If the lock
contains a component whose manifest has an "if: idf_version" clause,
evaluating it calls idf-component-manager's _get_idf_version(). Outside
a CMake build the IDF_VERSION environment variable is not set, so that
function falls back to running "idf.py --version" as a subprocess,
which re-enters init_cli() and recurses without bound.
During a normal CMake build the component manager runs as a subprocess
that already has IDF_VERSION in its environment (see build/config.env),
so the fallback is never reached. The recursion happens only because
idf.py runs component-manager code in-process during its own CLI
startup, outside that context.
Seed IDF_VERSION into os.environ early in init_cli(), before any
dependencies.lock parsing, using the subprocess-free
idf_version_from_cmake() helper. This gives in-process component-manager
code the same IDF_VERSION a CMake build would provide.
2026-05-15 16:30:46 +02:00
Jiang Jiang Jian
dc9276941e
Merge branch 'fix/ota_resumption_ci_failures_v6.0' into 'release/v6.0'
...
fix(examples): solve OTA resumption CI failures (backport v6.0)
See merge request espressif/esp-idf!48578
2026-05-15 20:29:10 +08:00
Jiang Jiang Jian
f2493f814e
Merge branch 'bugfix/fix_hidden_ap_rssi_does_not_update_issue_v6.0' into 'release/v6.0'
...
fix(wifi): fix hidden ap rssi update and owe beacon timeout issue(Backport v6.0)
See merge request espressif/esp-idf!48570
2026-05-15 19:45:29 +08:00
Jiang Jiang Jian
0f8be64290
Merge branch 'bugfix/hfp_co_build_err_v6.0' into 'release/v6.0'
...
fix(bt/bluedroid): fixed building errors in HFP datapath (v6.0)
See merge request espressif/esp-idf!48567
2026-05-15 19:24:14 +08:00
Rahul Tank
d4bf347f6a
Merge branch 'feat/add_nimble_log_compression_script_v6.0' into 'release/v6.0'
...
feat(nimble): Added missing NimBLE log compression scripts (v6.0)
See merge request espressif/esp-idf!48562
2026-05-15 15:02:45 +05:30
Jiang Jiang Jian
11fa0fe619
Merge branch 'feat/lcd_use_apll_clock_v6.0' into 'release/v6.0'
...
refactor(clk_tree): use general api to enable the clk (v6.0)
See merge request espressif/esp-idf!47814
2026-05-15 17:30:21 +08:00
nilesh.kale
62a67bbcb8
fix(examples): solve OTA resumption CI failures (backport v6.0)
...
This commit started threaded server to serve multiple clients
simultaneously in individual thread, eliminating the single-threaded
server limitation that caused the device's mid-OTA reconnect to time
out while the previous connection was still being torn down.
SSL is now wrapped per-connection inside the handler thread (in
setup()) so the main accept loop never blocks on a TLS handshake.
Closes IDFCI-3505
(cherry picked from commit 7647d54271 )
2026-05-15 14:08:39 +05:30
muhaidong
34b163d1d2
fix(wifi): fix hidden ap rssi update and owe beacon timeout issue
2026-05-15 16:28:52 +08:00
Jiang Jiang Jian
bd324b3311
Merge branch 'fix/rtc-io-invalid-clock-access-c5_v6.0' into 'release/v6.0'
...
fix(rtc_io): fixed invalid clock access on C5 (v6.0)
See merge request espressif/esp-idf!48511
2026-05-15 16:24:27 +08:00
Jiang Jiang Jian
1874f8d030
Merge branch 'ci/add_static_tx_buffer_case_v6.0' into 'release/v6.0'
...
ci: Add wifi static buffer case v6.0
See merge request espressif/esp-idf!48550
2026-05-15 16:14:53 +08:00
Jin Cheng
ad6f33e9d1
feat(ci): added example tests for HFP using external codec
2026-05-15 16:07:08 +08:00
Jin Cheng
f0d54d4a8c
fix(bt/bluedroid): fixed building errors in HFP datapath
2026-05-15 16:07:08 +08:00
Jiang Jiang Jian
99f67396f4
Merge branch 'contrib/github_pr_16149_v6.0' into 'release/v6.0'
...
fix(freertos): Avoid core switch deadlock on start (GitHub PR) (v6.0)
See merge request espressif/esp-idf!48290
2026-05-15 15:54:15 +08:00
Jiang Jiang Jian
60b925ffcf
Merge branch 'fix/bootloader-hooks-log-v2_v6.0' into 'release/v6.0'
...
fix(bootloader_hooks): Fix log_v2 support in bootloader hooks (v6.0)
See merge request espressif/esp-idf!48252
2026-05-15 15:52:06 +08:00
Jiang Jiang Jian
83a088da13
Merge branch 'feat/support_persistent_esp_rsa_ds_keys_v6.0' into 'release/v6.0'
...
Support persistent ESP RSA DS keys (v6.0)
See merge request espressif/esp-idf!48523
2026-05-15 15:46:46 +08:00
Sahil Yadav
36f0fd3962
feat(nimble): Added NimBLE log compression scripts in v6.0
2026-05-15 12:16:25 +05:30
Jiang Jiang Jian
0f06a3c7e7
Merge branch 'fix_https_request_ci_failure_v6.0' into 'release/v6.0'
...
fix(https_request): write host time to NVS to eliminate SNTP dependency in CI (backport v6.0)
See merge request espressif/esp-idf!48415
2026-05-15 14:11:29 +08:00
Jiang Jiang Jian
b3f8f074d9
Merge branch 'feat/support_bluedroid_key_log_v6.0' into 'release/v6.0'
...
Feat/support bluedroid key log (6.0)
See merge request espressif/esp-idf!48517
2026-05-15 14:10:01 +08:00
Jiang Jiang Jian
91b378565a
Merge branch 'feat/test_lp_core_debugging_v6.0' into 'release/v6.0'
...
feat(ulp): add pytest for debugging example (v6.0)
See merge request espressif/esp-idf!48255
2026-05-15 14:08:07 +08:00
Jiang Jiang Jian
fa801fe002
Merge branch 'contrib/github_pr_18495_v6.0' into 'release/v6.0'
...
fix(bootloader_support): Fix app verification when split across multiple mmaps (GitHub PR) (v6.0)
See merge request espressif/esp-idf!48271
2026-05-15 14:05:37 +08:00
Jiang Jiang Jian
a7b604fd33
Merge branch 'fix/lp_uart_data_bits_v6.0' into 'release/v6.0'
...
fix(ulp/lp_core): fix LP UART data_bits validation and add full word-length test coverage (v6.0)
See merge request espressif/esp-idf!48031
2026-05-15 14:03:13 +08:00
Jiang Jiang Jian
ecfe107ae5
Merge branch 'fix/x509_bundle_replace_unreliable_url_v6.0' into 'release/v6.0'
...
fix(examples): replace unreliable external URL in https_x509_bundle example (backport v6.0)
See merge request espressif/esp-idf!47718
2026-05-15 13:59:15 +08:00
Chen Jichang
d1a64bffc0
refactor(clk_tree): use general api to enable the clk
2026-05-15 13:55:37 +08:00
Jiang Jiang Jian
8f7209c611
Merge branch 'feature/update-gdb-to-17.1_20260402_v6.0' into 'release/v6.0'
...
feat(tools): update gdb version to 17.1_20260402 (v6.0)
See merge request espressif/esp-idf!47481
2026-05-15 13:54:50 +08:00
Jiang Jiang Jian
e5191e1612
Merge branch 'bugfix/idf_13957_v6.0' into 'release/v6.0'
...
bugfix: fix wifi loss packet and missing interrupt issues when switching root clock source
See merge request espressif/esp-idf!48432
2026-05-15 12:32:25 +08:00
Mahavir Jain
36f3329a23
Merge branch 'feature/recovery_bootloader_support_v6.0' into 'release/v6.0'
...
feat(bootloader): Support recovery bootloader for ESP32P4 (v6.0)
See merge request espressif/esp-idf!48468
2026-05-15 09:52:49 +05:30
harshal.patil
d8808f90b9
test(mbedtls/persistent_storage_format): Add ESP ITS NVS format-stability test app
2026-05-15 09:28:47 +05:30
harshal.patil
513efdf89a
refactor(mbedtls/test): Move the mbedtls test app to support multiple test apps
2026-05-15 09:28:42 +05:30
morris
a7b000df12
Merge branch 'docs/update_cn_trans_for_security_for_release6' into 'release/v6.0'
...
docs: Update CN translation for security docs
See merge request espressif/esp-idf!48509
2026-05-15 11:53:15 +08:00
harshal.patil
1d6b5f219e
feat(mbedtls/psa_esp_rsa_ds): Support persistent ESP-RSA DS driver
2026-05-15 09:17:09 +05:30
ding huan
084c1a9e8a
ci: Add wifi static buffer case
2026-05-15 11:33:04 +08:00
renpeiying
f54b53d86c
docs: Update CN translation for security docs
2026-05-15 11:31:41 +08:00
Jiang Jiang Jian
ffc12276ac
Merge branch 'bugfix/ulp_riscv_rtc_i2c_test_fix_v6.0' into 'release/v6.0'
...
fix(ulp_riscv_i2c): Fix spurious pass in RTC I2C multi-device test (v6.0)
See merge request espressif/esp-idf!48525
2026-05-15 10:45:00 +08:00
Alexey Lapshin
f9aafe76f3
feat(tools): update gdb version to 17.1_20260402
2026-05-15 10:01:30 +08:00
Marius Vikhammer
97c1ba269a
Merge branch 'feature/update_efuse_table_esp32h4_v6.0' into 'release/v6.0'
...
feat(efuse): Update efuse table for ESP32-H4 (v6.0)
See merge request espressif/esp-idf!48248
2026-05-15 09:54:28 +08:00
Marius Vikhammer
871e6d955e
Merge branch 'fix/console_repl_busy_loop_v6.0' into 'release/v6.0'
...
fix(console): Avoid REPL task busy loop when linenoise returns NULL (v6.0)
See merge request espressif/esp-idf!48387
2026-05-15 09:53:47 +08:00
Jiang Jiang Jian
b80bc9435d
Merge branch 'feat/add_ci_ut_test_for_auto_mode_connect_passive_channel_hidden_ap_v6.0' into 'release/v6.0'
...
Feat/add ci ut test for auto mode connect passive channel hidden ap v6.0(Backport v6.0)
See merge request espressif/esp-idf!47269
2026-05-14 20:34:21 +08:00
Konstantin Kondrashov
555e5bf271
fix(bootloader_hooks): Fix log_v2 support in bootloader hooks
...
Closes https://github.com/espressif/esp-idf/issues/18482
2026-05-14 14:09:31 +03:00
Chen Yudong
5b8d79a946
ci: use case attributes to filter cases
2026-05-14 19:05:24 +08:00
muhaidong
d0d8a85a8c
feat(ci): add ci test for auto mode connect passive chnnel hidden ap
2026-05-14 19:05:24 +08:00
Marius Vikhammer
bac55534a7
fix(examples): raise efuse ESP32-P4 CI partition offset for larger bootloader
...
Recovery bootloader support increased the ESP32-P4 bootloader image enough
that it no longer fits before 0xe000. Moving the partition table to 0x10000
restores slack for CI builds using secure boot and flash encryption together.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-14 13:59:23 +03:00
Rahul Tank
5e3ef3dec5
Merge branch 'bugfix/fix_vsprintf_crash_v6.0' into 'release/v6.0'
...
fix(nimble): Replace sensitive snprintf with hex character (v6.0)
See merge request espressif/esp-idf!48469
2026-05-14 15:31:38 +05:30
Zhang Wen Xu
cabc73ef54
Merge branch 'fix/fix_ot_ci_case_v6.0' into 'release/v6.0'
...
fix(openthread): fix openthread ci ping case (v6.0)
See merge request espressif/esp-idf!48518
2026-05-14 09:56:06 +00:00
sibeibei
51775582e6
bugfix(esp_hw_support):remove ESP32-C5 root clock auto gating bypass in sleep path
2026-05-14 17:16:52 +08:00
Jiang Jiang Jian
8a85777e40
Merge branch 'feat/support_bt_external_coex_v6.0' into 'release/v6.0'
...
feat(coex): supports external coexisence when bluetooth is enabled (Backport v6.0)
See merge request espressif/esp-idf!48360
2026-05-14 17:03:39 +08:00
Sudeep Mohanty
a2ea0da4e8
fix(ulp_riscv_i2c): Fix spurious pass in RTC I2C multi-device test
...
The test was passing without real I2C communication due to a GPIO
mismatch (slave on GPIO 6/7 vs RTC I2C master on GPIO 2/3), single-byte
zero-coincidence, unchecked ULP return values, and an insufficient
RTC I2C timeout.
Fix slave GPIOs, increase test length, check I2C return values, add
proper assertions, and set an adequate RTC I2C timeout.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-14 09:41:30 +02:00
Xu Si Yu
ab4451dd99
fix(openthread): increase the app size in the partition table for the example
2026-05-14 15:24:55 +08:00
Jiang Jiang Jian
0e34961c91
Merge branch 'feat/soc_usb_fsls_phy_num_backport_v6.0' into 'release/v6.0'
...
feat(soc): add SOC_USB_FSLS_PHY_NUM for USB-OTG targets (backport v6.0)
See merge request espressif/esp-idf!47937
2026-05-14 15:14:14 +08:00
Xu Si Yu
3c17a336f7
fix(openthread): fix openthread ci ping case
2026-05-14 15:02:40 +08:00
Jonas Jonsson
529d113d47
fix(freertos): Avoid core switch deadlock on start
...
With CONFIG_ESP_MAIN_TASK_AFFINITY_NO_AFFINITY=y the main task could
switch core between registering the idle hook and the while loop.
This would cause a deadlock were the current task was waiting for the
idle hook to run on the same core it's busy waiting.
Merge https://github.com/espressif/esp-idf/pull/16149
2026-05-14 14:43:39 +08:00