36603 Commits

Author SHA1 Message Date
Island
7812a5df33 Merge branch 'bugfix/fix_ble_coded_phy_performance_with_wifi_coex' into 'master'
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(51d9dfde)

Closes BT-4348

See merge request espressif/esp-idf!48851
2026-05-27 21:32:47 +08:00
Mahavir Jain
a004840c04 Merge branch 'ci/esp_tee_fuzzing' into 'master'
ci(esp_tee): Add fuzzing tests for verifying service call behaviour with random inputs

Closes IDF-12698

See merge request espressif/esp-idf!37851
2026-05-27 18:35:45 +05:30
Mahavir Jain
1fc4f6653a Merge branch 'fix/https-redirect-downgrade' into 'master'
fix(esp_http_client): block HTTPS-to-HTTP redirect downgrade

See merge request espressif/esp-idf!47553
2026-05-27 17:30:36 +05:30
Mahavir Jain
fb65f973f1 Merge branch 'contrib/github_pr_18641' into 'master'
fix(protocomm): prevent out-of-bounds write in console line buffer (GitHub PR)

Closes IDFGH-17699

See merge request espressif/esp-idf!48865
2026-05-27 17:17:00 +05:30
Mahavir Jain
2a4b4f2954 Merge branch 'feat/fix_ws_server_httpd_queue_work_silent_drop' into 'master'
fix(esp_http_server): prevent silent message drop in httpd_queue_work

Closes IDFGH-17642

See merge request espressif/esp-idf!48533
2026-05-27 16:56:35 +05:30
Tomas Rohlinek
ff1099f39b Merge branch 'feat/refactor_stdio_vfs' into 'master'
feat(storage/stdio): refactor stdio vfs

Closes IDF-15109

See merge request espressif/esp-idf!44351
2026-05-27 11:36:05 +02:00
Armando (Dou Yiwen)
59579d146e Merge branch 'change/change_psram_io_log' into 'master'
psram: changed cs io log to debug level

See merge request espressif/esp-idf!48371
2026-05-27 09:31:06 +00:00
Chen Chen
7b4a2c6d98 Merge branch 'fix/i2s_sample_rate_restriction' into 'master'
fix(i2s): fix test issue on esp32s31 & esp32h4

Closes IDF-15609

See merge request espressif/esp-idf!48641
2026-05-27 16:30:21 +08:00
Rahul Tank
0183eb84bb Merge branch 'bugfix/fix_crash_due_to_error_print' into 'master'
fix(nimble): Update excessive logging prints in failure scenario

See merge request espressif/esp-idf!48867
2026-05-27 10:59:10 +05:30
morris
69171b79bc Merge branch 'srmao/esp_driver_dma_esp32p4_rev1_tests' into 'master'
test(esp_driver_dma): add esp32p4 rev1 test apps

Closes IDF-15450 and IDF-15443

See merge request espressif/esp-idf!48888
2026-05-27 12:06:12 +08:00
Gao Xu
db3d01d412 Merge branch 'feat/basic_rng_support_h4' into 'master'
RNG support and refactor on ESP32-H4

Closes IDF-12265

See merge request espressif/esp-idf!45361
2026-05-27 11:14:38 +08:00
morris
90e0b94ed6 test(dma): reenable unit test for esp32p4 rev1 targets 2026-05-27 10:32:34 +08:00
Chen Chen
faa917e2e6 fix(i2s): fix test issue on esp32s31 & esp32h4 2026-05-27 10:02:43 +08:00
Armando (Dou Yiwen)
3905bcecd3 change(psram): changed cs io log to debug level
Signed-off-by: Armando (Dou Yiwen) <douyiwen@espressif.com>
2026-05-27 01:18:58 +00:00
Erhan Kurubas
5bcaf281e2 Merge branch 'feat/esp_trace_example' into 'master'
esp_trace example library integration

See merge request espressif/esp-idf!48605
2026-05-26 17:38:22 +02:00
Aditya Patwardhan
bf1c92341d Merge branch 'fix/fix_psa_ecdsa_driver_missing_checks' into 'master'
fix(mbedtls): fixes missing check before ecdsa verify

See merge request espressif/esp-idf!48818
2026-05-26 17:50:33 +05:30
Sudeep Mohanty
8a2e56810c Merge branch 'task/v2_aware_component_and_test_gates' into 'master'
fix(components): linux host-build failure fixes+ disable esp_tee in buildv2 + esp_hw_support and xtensa fixes

See merge request espressif/esp-idf!48743
2026-05-26 13:09:58 +02:00
gaoxu
43317018d1 refactor(rng): use adc_ll apis for ESP32-h4 and refactor rng_ll_enable/disable 2026-05-26 19:02:41 +08:00
Rahul Tank
f2ff83ac2e fix(nimble): Removed prints causing excessive logging 2026-05-26 16:16:57 +05:30
Rahul Tank
51bd9a27c4 Merge branch 'bugfix/nimble_hid_fixes_lock' into 'master'
fix(nimble): Avoid deadlock caused by local writes taking s_hidd_mutex

See merge request espressif/esp-idf!48853
2026-05-26 15:55:06 +05:30
Wang Lei
041aa425fa Merge branch 'fix/cache_wb_patch_skip_bootloader' into 'master'
fix(esp_rom): Cache_WriteBack_All patch should skip bootloader

See merge request espressif/esp-idf!48901
2026-05-26 18:01:01 +08:00
Mahavir Jain
716391b19e Merge branch 'fix/tls-session-verify-and-hostname-warn' into 'master'
Draft: fix(esp-tls): fix TLS session resumption bypassing CA verification and clarify skip_common_name behavior

See merge request espressif/esp-idf!47426

Related https://github.com/espressif/esp-idf/issues/9392
2026-05-26 15:20:43 +05:30
Ashish Sharma
3282de557e fix(esp_http_server): take ctrl_sock_semaphore on shutdown and async wake
httpd_stop() and httpd_req_async_handler_complete() both pushed
messages onto the control mbox via cs_send_to_ctrl_sock() without
reserving a slot in ctrl_sock_semaphore. Once the silent-drop fix
made the semaphore unconditional, the bypass became a real bug:
when the mbox is saturated by pending httpd_queue_work() items the
unguarded sendto() can return ENOBUFS, and even when it succeeds it
leaves the semaphore overstating free slots until the consumer
drains the message — a window during which a concurrent
httpd_queue_work() can take a slot but still find the mbox full.

Acquire the semaphore (portMAX_DELAY) before both sends and give it
back on send failure so the take/give invariant is preserved. The
httpd task is the consumer in both paths, so blocking is bounded
and deadlock-free. Reword the stale "no-op give on full" comment in
httpd_process_ctrl_msg() to reflect that only the recv-error path
relies on the cap behavior now.
2026-05-26 17:21:24 +08:00
Ashish Sharma
c911c781ae fix(esp_http_server): prevent silent message drop in httpd_queue_work
Closes https://github.com/espressif/esp-idf/issues/18563
2026-05-26 17:21:23 +08:00
Wu Zheng Hui
574b843868 Merge branch 'change/optimize_sleep_gpio_configure' into 'master'
change(sleep_gpio): streamline GPIO sleep configuration logic

See merge request espressif/esp-idf!48845
2026-05-26 17:14:06 +08:00
Island
833c55e867 Merge branch 'fix/fixed_an_acl_timeout_issue' into 'master'
fix(ble): Updated libble[a7487a7] and libbtdm[9ce603a]

See merge request espressif/esp-idf!48830
2026-05-26 17:09:06 +08:00
Sudeep Mohanty
301eeba878 Merge branch 'task/buildv2_hygiene_and_dep_declarations' into 'master'
fix(components): generic dep-declaration and scope-leakage hygiene exposed by cmakev2

See merge request espressif/esp-idf!48739
2026-05-26 10:18:22 +02:00
Laukik Hase
8abc7269d1 ci(esp_tee): Add fuzzing tests for verifying service call behaviour 2026-05-26 13:13:45 +05:30
Tomáš Rohlínek
92725e92d5 fix(esp_stdio): add fd-table locking, per-fd flag checks, and Kconfig cleanup 2026-05-26 08:56:51 +02:00
wanglei
b2a8695c15 fix(esp_rom): Cache_WriteBack_All patch should skip bootloader 2026-05-26 14:24:58 +08:00
harshal.patil
a24bd0bf10 test(mbedtls): Add out-of-bounds test for the ECDSA hardware driver 2026-05-26 11:01:57 +05:30
morris
f1e8fe393a Merge branch 'feat/debug_probe_esp32s31' into 'master'
feat(debug): add esp32s31 debug probe support

Closes IDF-14798

See merge request espressif/esp-idf!48849
2026-05-26 12:26:29 +08:00
wuzhenghui
d19c0b1746 change(sleep_gpio): streamline GPIO sleep configuration logic 2026-05-26 12:20:59 +08:00
Island
6e2660655a Merge branch 'feat/ble-log-iram-optim' into 'master'
opt(bt): Move SPI Tx Callback to Flash When SPI ISR IN IRAM Disabled

See merge request espressif/esp-idf!48835
2026-05-26 11:41:36 +08:00
Renz Christian Bagaporo
17a9a5cf21 Merge branch 'ci/reenable_unicore_bl_test_h4' into 'master'
test(ci): re-enable skipped ESP32-H4 unicore bootloader tests

Closes IDF-15620

See merge request espressif/esp-idf!48556
2026-05-26 10:45:46 +08:00
Jiang Jiang Jian
3caea56d78 Merge branch 'fix/fix_put_phy_init_bin_into_partiiton_when_embed' into 'master'
fix(phy): fix still put multiple phy init date bin into flash when...

See merge request espressif/esp-idf!48847
2026-05-26 10:22:27 +08:00
Jiang Jiang Jian
a14770e597 Merge branch 'fix/add_owe_check_pmf_disable' into 'master'
fix(wifi) : Add Mode/threshold checks in esp_wifi_disable_pmf_config()

Closes WIFIBUG-1876

See merge request espressif/esp-idf!48713
2026-05-26 10:20:56 +08:00
Aditya Patwardhan
4540181c62 fix(esp-tls): clarify skip_common_name and warn when SNI is disabled
The skip_common_name flag was named for the legacy CN field but actually
suppresses the entire mbedtls_ssl_set_hostname() call -- disabling
hostname matching against CN/SAN AND Server Name Indication. Update the
doxygen to describe the real effect, and emit a per-call WARN inside the
SNI-disable branch so debug-only use does not slip into production
unnoticed.
2026-05-25 21:58:18 +05:30
Aditya Patwardhan
c5f20937bd fix(esp-tls): close CA-verification bypass during session resumption
The session-resumption else-if in set_client_config() short-circuited
the CA verification chain when only client_session was supplied. Remove
the branch so session-only configs fall through to the normal error /
skip-verify path; resumption no longer silently disables CA validation.
2026-05-25 21:58:18 +05:30
Aditya Patwardhan
cec6f5bff4 fix(esp_http_client): require https->https for cross-scheme redirects
esp_http_client_set_redirection() now rejects any redirect target whose
scheme is not https:// when the origin is HTTPS. This catches http, ftp,
ws and any other scheme before client state is mutated. Same-host /
https-to-https redirects are unaffected. Apps that intentionally want
mixed-scheme redirects can set disable_auto_redirect=true and handle
HTTP_EVENT_REDIRECT.
2026-05-25 21:58:14 +05:30
Ondrej Kosta
41976c732e fix(esp_eth): fixed build issues introduced by EMAC S31 support 2026-05-25 16:06:53 +02:00
Sudeep Mohanty
7b294c4ab9 fix(esp_hw_support): move linux spinlock.h to esp_hw_support/include/linux
Moved the linux spinlock.h stub into esp_hw_support/include/linux.
esp_hw_support's INCLUDE_DIRS already places include/linux before
include, so the correct include files are picked up for the linux
target.

- Drop the FreeRTOS-Kernel-SMP linux spinlock.h duplicate.
- rv_decode_test: use PRIV_REQUIRES esp_hw_support instead of
  hardcoding component include paths.
2026-05-25 15:24:25 +02:00
Sudeep Mohanty
07b2947f95 fix(xtensa): detect freertos exclusion via __COMPONENT_REQUIRES_COMMON
The baremetal RTOS stub gating tested the invisible-bool CONFIG_FREERTOS_PORT,
which can be set even when freertos is outside the build closure (e.g. the
G0 test app). Query __COMPONENT_REQUIRES_COMMON directly — it is the surface
those apps use to declare their closure.
2026-05-25 15:24:25 +02:00
Sudeep Mohanty
af12767402 change(esptool_py): hide serial flasher menu on linux target
The linux host_test target has no real flash, so the "Serial flasher
config" menu's options are meaningless there. Gate the menu on
!IDF_TARGET_LINUX so its symbols stay undefined on linux.
2026-05-25 15:24:25 +02:00
Sudeep Mohanty
5cfd7b9f96 fix(esp_tee): Stop esp_tee subproject to be built with build system v2
- Unset IDF_BUILD_V2 in subproject/CMakeLists.txt before including
  project.cmake so the nested esp_tee ExternalProject cmake stays on
  cmakev1.
- Read PARTITION_TABLE_BIN_PATH as a generator expression under
  IDF_BUILD_V2 to defer the lookup to CMake's generate phase.
2026-05-25 15:24:25 +02:00
Ivan Grokhotkov
6589ba9bbb change(version): Update version to v6.2-dev
Start of v6.2 development.
2026-05-25 14:16:08 +02:00
morris
e20db709aa feat(debug): add esp32s31 debug probe support
- add ESP32-S31 debug probe LL, target IDs, capability macros, and GPIO signal mapping
- allow LP probe channels to configure four signal bytes while keeping 16 GPIO outputs
- add HP and LP probe read tests, including LP 32-bit read verification
- keep existing vbat LP probe usage aligned with the new LP channel behavior
2026-05-25 19:03:37 +08:00
Mayank Tyagi
494bd86ea7 fix(nimble): Avoid deadlock caused by local writes taking s_hidd_mutex 2026-05-25 15:54:51 +05:30
morris
c23e87b81b Merge branch 'bugfix/esp32s31_raise_ahb_clk_freq' into 'master'
fix(clk): raised ESP32S31 axi/ahb clock freq up to 106mhz at max

Closes IDF-14696

See merge request espressif/esp-idf!48207
2026-05-25 18:23:37 +08:00
morris
bd29b11895 Merge branch 'fix/fix_parlio_valid_delay_max_value' into 'master'
fix(parlio): fix max valid delay value

See merge request espressif/esp-idf!48577
2026-05-25 18:13:57 +08:00