Commit Graph

50718 Commits

Author SHA1 Message Date
chendejin
6f6815232e fix(802.15.4): remove comparison between txrx_at and ramp time 2026-06-01 13:17:43 +08:00
Jiang Jiang Jian
9d24b38a42 Merge branch 'fix/bring_back_ecjpake_config_v6.0' into 'release/v6.0'
fix(mbedtls): bring back deprecated config MBEDTLS_ECJPAKE_C (v6.0)

See merge request espressif/esp-idf!48623
2026-05-29 17:27:59 +08:00
Jiang Jiang Jian
6bdbae15c9 Merge branch 'fix/protocomm-close-session-id-mismatch_v6.0' into 'release/v6.0'
fix(protocomm): pass current session id when closing existing session (v6.0)

See merge request espressif/esp-idf!48734
2026-05-29 17:26:26 +08:00
Jiang Jiang Jian
43437de360 Merge branch 'bugfix/fix_some_rom_func_ld_issue_v6.0' into 'release/v6.0'
fix(wifi): fix som rom func ld issue(Backport v6.0)

See merge request espressif/esp-idf!49006
2026-05-29 11:37:00 +08:00
Jiang Jiang Jian
3747a7025d Merge branch 'fix/remove_intwdt_config_critical_for_chips_except_esp32_v6.0' into 'release/v6.0'
fix(esp_system): remove intwdt config critical area for chips except esp32 (v6.0)

See merge request espressif/esp-idf!48844
2026-05-29 10:27:59 +08:00
Jiang Jiang Jian
97db803782 Merge branch 'bugfix/hfp_reg_data_cb_v6.0' into 'release/v6.0'
fix: Remove the check for recv and send being NULL(6.0)

See merge request espressif/esp-idf!48615
2026-05-29 10:27:03 +08:00
Mahavir Jain
b31c2753bc Merge branch 'fix/fix_psa_ecdsa_driver_missing_checks_v6.0' into 'release/v6.0'
fix(mbedtls): fixes missing check before ecdsa verify (v6.0)

See merge request espressif/esp-idf!48947
2026-05-28 21:05:31 +05:30
muhaidong
cb733f5287 fix(wifi): fix som rom func ld issue 2026-05-28 16:10:20 +08:00
Jiang Jiang Jian
292d2cf23d Merge branch 'fix/mbedtls-threading-impl-kconfig-v6.0' into 'release/v6.0'
fix(mbedtls): make threading implementation exclusive (v6.0)

See merge request espressif/esp-idf!48850
2026-05-28 10:48:54 +08:00
Jiang Jiang Jian
aeaff69b61 Merge branch 'bugfix/esp_idf_h4_ci_issues_v6.0' into 'release/v6.0'
fix(esp_rom): fix RTC_SLEEP_MODE_REG addr mismatch v6.0

See merge request espressif/esp-idf!48787
2026-05-28 10:34:46 +08:00
Jiang Jiang Jian
3014675c87 Merge branch 'fix/for_cache_after_p4_wb_loss_issue_v6.0' into 'release/v6.0'
fix(esp_rom): avoid critical issue in writeback v6.0

See merge request espressif/esp-idf!48746
2026-05-28 10:34:00 +08:00
Island
bac0d603b9 Merge branch 'change/ble_update_lib_20260520_v6.0' into 'release/v6.0'
change(ble): [AUTO_MR] 20260520 - Update ESP BLE Controller Lib (6.0)

See merge request espressif/esp-idf!48770
2026-05-27 19:00:28 +08:00
harshal.patil
40de3df854 test(mbedtls): Add out-of-bounds test for the ECDSA hardware driver 2026-05-27 11:38:14 +05:30
Ashish Sharma
9de91ed9e5 fix(mbedtls): fixes missing check before ecdsa verify 2026-05-27 11:38:13 +05:30
ShenWeilong
d1930f9d45 fix(ble): won't add -Wno-unterminated-string-initialization for clang 2026-05-26 17:07:46 +08:00
luoxu
3dd06b7abe fix(bt): Normalize source paths for log compression pattern matching 2026-05-26 13:34:43 +08:00
ShenWeilong
d8c912eb4d change(bt): Separated bt/cmakelist to bt/controller/cmakelist and bt/porting/cmakelist 2026-05-25 21:01:21 +08:00
Jiang Guang Ming
da5f99a518 fix(mbedtls): make threading implementation exclusive
Ensure the pthread and alternate threading implementations cannot be enabled at the same time.
2026-05-25 13:52:12 +08:00
wuzhenghui
fcad5f0a1d fix(esp_system): fix build err if int_wdt is not enabled on esp32 2026-05-25 10:35:34 +08:00
wuzhenghui
e99ea90ee8 fix(esp_system): remove intwdt config critical area for chips except esp32 2026-05-25 10:35:30 +08:00
wanglei
66e2d08ed6 feat(esp_rom): do not patch Cache_WriteBack_All for bootloader build 2026-05-22 11:58:28 +08:00
wanglei
1f559a5558 fix(esp_rom): implement cache writeback related apis in iram
avoid critical issues caused by manual cache writeback and conflicting
writes. The issue exist on chips after esp32p4
2026-05-22 10:16:02 +08:00
hebinglin
db3cf7c792 fix(esp_rom): fix RTC_SLEEP_MODE_REG addr mismatch 2026-05-21 15:31:34 +08:00
zhaoweiliang
527c3a0ade change(ble): [AUTO_MR] Update lib_esp32c6 to 4adb29e0 2026-05-21 10:41:15 +08:00
zhaoweiliang
8782647ac7 change(ble): [AUTO_MR] Update lib_esp32c5 to 4adb29e0 2026-05-21 10:40:18 +08:00
zhaoweiliang
a4066942af change(ble): [AUTO_MR] Update lib_esp32h2 to 4adb29e0 2026-05-21 10:37:53 +08:00
Aditya Patwardhan
f7399e0069 fix(protocomm): pass current session id when closing existing session
sec1_new_session()/sec2_new_session() were calling sec*_close_session()
with the *new* session_id parameter instead of the existing
cur_session->id. The close handler validates `cur_session->id ==
session_id` before performing teardown, so the call always failed with
ESP_ERR_INVALID_STATE.

Effect: when a peer started a new provisioning session while another was
already active, the previous session's PSA keys, AES context, SRP handle
and username buffer were leaked instead of being destroyed. The cleared
session struct was overwritten by the new session, leaking the previous
key handles inside PSA Crypto and (for security2) leaking heap memory
for the username and SRP context.

Fix: pass cur_session->id so the close path actually executes the
teardown (psa_destroy_key/psa_cipher_abort/esp_srp_free/free) before the
new session takes over.
2026-05-20 12:37:18 +05:30
yangfeng
001dc26361 fix: Remove the check for recv and send being NULL 2026-05-18 15:13:58 +08:00
Ashish Sharma
7f8dc336a6 fix(mbedtls): bring back deprecated config MBEDTLS_ECJPAKE_C 2026-05-18 14:56:18 +08:00
Jiang Jiang Jian
8f3d8b41c3 Merge branch 'feat/support_esp3261_cert_test_example_v6.0' into 'release/v6.0'
feat(phy): support esp32c61 example cert test and antenna(Backport v6.0)

See merge request espressif/esp-idf!48596
2026-05-16 10:27:40 +08:00
Jiang Jiang Jian
f9f299a9fa Merge branch 'fix/freertos_delete_with_caps_smp_race_v6.0' into 'release/v6.0'
fix(freertos): close vTaskDeleteWithCaps cross-core delete race on SMP preview kernel (v6.0)

See merge request espressif/esp-idf!48600
2026-05-16 10:27:26 +08:00
Jiang Jiang Jian
603f91e2fd Merge branch 'fix/s3_xip_opt_os_startup_v6.0' into 'release/v6.0'
fix(mspi): fixed possible boot failure in some builds when psram is enabled (v6.0)

See merge request espressif/esp-idf!48583
2026-05-16 10:26:41 +08:00
Jiang Jiang Jian
6006c9cba1 Merge branch 'feat/riscv-spiram-stack-pointer-update-before-restart_v6.0' into 'release/v6.0'
fix(esp_system): fix PSRAM stack crash in esp_restart_noos on RISC-V SPIRAM chips (v6.0)

See merge request espressif/esp-idf!48067
2026-05-16 08:22:38 +08:00
Zhang Wen Xu
a1ba61203e Merge branch 'fix/disable_i2c_master_clk_while_hw_hop_processing_v6.0' into 'release/v6.0'
fix(esp_phy): check hw freq hop done before disabling common clock (v6.0)

See merge request espressif/esp-idf!48558
2026-05-15 17:54:02 +00:00
Jiang Jiang Jian
4c36706b41 Merge branch 'backport/backport_dfs_channel_check_and_max_tb_tu_power_v6.0' into 'release/v6.0'
fix(wifi): fix dfs channel check and max tb ru power issues(backport v6.0)

See merge request espressif/esp-idf!48594
2026-05-16 01:39:57 +08:00
Jiang Jiang Jian
7c4a5faed6 Merge branch 'fix/component_manager_version_v6.0' into 'release/v6.0'
Tools: seed IDF_VERSION before idf.py parses dependencies.lock (v6.0)

See merge request espressif/esp-idf!48607
2026-05-16 01:39:34 +08:00
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
Sudeep Mohanty
9b01655989 fix(freertos): close vTaskDeleteWithCaps cross-core delete race on SMP preview kernel
Replace the eTaskGetState() polling guard in prvTaskDeleteWithCaps()
with a per-core xTaskGetCurrentTaskHandleForCore() check, so the
predicate matches vTaskDelete()'s immediate-vs-deferred decision. This
closes the taskTASK_SCHEDULED_TO_YIELD race against the IDLE-deferred
TCB cleanup on the SMP preview kernel; behaviour is unchanged on the
default IDF kernel and on single-core targets.
2026-05-15 15:29:32 +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
yinqingzhao
ab2a904330 fix(wifi): fix dfs channel check and max tb ru power issues 2026-05-15 19:48:16 +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
muhaidong
33bbd87a80 feat(phy): support esp32c61 example cert test and antenna 2026-05-15 19:34:52 +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
Xiao Xufeng
475ec39cb4 fix(mspi): fixed possible boot failure in some builds when psram is enabled
A typical scenario is: when XIP on PSRAM enabled, compiler optimization level is Os. Under certain binary layout, boot hangs and backtrace points to `esp_sleep_config_gpio_isolate`.

The root cause is that, during PSRAM initialization, it calls esp_gpio_reserve, which happens to place before the reported function. However, after call, there is no barrier before the clock adjustment in `mspi_timing_enter_low_speed_mode`. The clock gets changed when the cache is still fetching data, resulting in the corrupted data in the end of the cache line.

This commits add spi_flash_disable_cache as a barrier to make sure the cache transactions is finished before the clock switch.
2026-05-15 17:31:37 +08:00
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
sibeibei
65d9ecb75c feat(phy): update PHY libraries and improve PLL temperature tracking
1. Allow customization of temperature deltas for PHY track PLL.

2. Fix abnormal PHY state which may trigger task watchdog timeout.
2026-05-15 17:14:39 +08:00
zwx
26bf1eba50 fix(esp_phy): check hw freq hop done before disabling common clock 2026-05-15 17:14:34 +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