Commit Graph
56121 Commits
Author SHA1 Message Date
C.S.M 015fc6b132 Merge branch 'fix/cordic_interation' into 'master'
fix(cordic): Fix the wrong cordic parameter

See merge request espressif/esp-idf!53713
2026-10-16 15:07:48 +08:00
Wang Meng Yang b2b035b8f7 Merge branch 'feat/add_pth_cmd_example' into 'master'
feat(bt/bluedroid): added AVRCP controller passthrough command example

Closes BT-3415

See merge request espressif/esp-idf!47220
2026-10-16 15:02:57 +08:00
Island 6eec85d113 Merge branch 'idf/ble_iso_lsb_note' into 'master'
feat(ble_audio): Add build-end notice for LSB-first event addresses

See merge request espressif/esp-idf!53684
2026-10-16 14:08:00 +08:00
Rahul Tank 1687227e02 Merge branch 'bugfix/nimble_gatts_stop_clt_cfg_uaf' into 'master'
fix(nimble): guard GATT server context use after ble_gatts_stop()

Closes BLERP-3088

See merge request espressif/esp-idf!52431
2026-10-16 10:54:10 +05:30
Mahavir Jain f4171d19a9 Merge branch 'fix/tee-validate-ree-string-pointer' into 'master'
fix(esp_tee): validate REE string pointer before dereferencing it in the TEE

Closes SEC-1103

See merge request espressif/esp-idf!53194
2026-10-16 10:47:16 +05:30
Ashish Sharma 1c2a77546e Merge branch 'contrib/github_pr_19224' into 'master'
fix(mbedtls): dynamic buffers compilation with MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED (GitHub PR)

Closes IDFGH-18451

See merge request espressif/esp-idf!53663
2026-10-16 12:38:56 +08:00
Mahavir Jain 2aea7fa49c Merge branch 'fix/ecdsa_s31_deterministic_rfc6979' into 'master'
fix(mbedtls): fixes deterministic ECDSA for S31 hardware operation

See merge request espressif/esp-idf!53204
2026-10-16 10:01:46 +05:30
Ashish Sharma f9184d8459 fix(mbedtls): fixes deterministic ECDSA for S31 hardware operation 2026-10-16 10:01:46 +05:30
C.S.M 7a84ca372b test(cordic): Add cordic sleep test 2026-10-16 11:27:13 +08:00
Jiang Jiang Jian 1f8366c26e Merge branch 'fix/disable_154_intr_when_phy_grant_protect' into 'master'
fix(coex): disable the 802.15.4 interrupt at specific moments during coexistence

Closes TZ-2768

See merge request espressif/esp-idf!53087
2026-10-16 11:19:54 +08:00
Renz Christian Bagaporo 357b3f3d95 Merge branch 'fix/freertos_pdms_to_ticks_overflow' into 'master'
fix(freertos): avoid pdMS_TO_TICKS overflow for large values

Closes IDFGH-18471

See merge request espressif/esp-idf!53690
2026-10-16 07:41:16 +08:00
Konstantin Kondrashov 064f8278ef Merge branch 'fix/esp32h21-efuse-eco3' into 'master'
fix(efuse): Update ESP32-H21 eFuse definitions for ECO3

See merge request espressif/esp-idf!53668
2026-10-15 14:21:36 +03:00
Samuel Obuch a26d511f28 Merge branch 'ci/enable_remaining_usj_tests' into 'master'
ci: enable remaining usj tests

Closes IDF-16198, IDF-11514, and IDFCI-10703

See merge request espressif/esp-idf!53568
2026-10-15 11:52:25 +02:00
Liu Linyan 494187db55 feat(ble_audio): Add build-end notice for LSB-first event addresses
Event addresses in esp_ble_iso / esp_ble_audio GAP events became LSB-first
on both hosts. Bluedroid code written for the old order still compiles and
fails silently at run time, so print a boxed NOTE after the app is built:
convert before esp_ble_gap_* / esp_ble_gattc_* (see example_addr_le_to_host()),
NimBLE unaffected.

- Kconfig: BT_ISO_NOTICE_ADDR_LSB_FIRST (default y) to turn it off.
2026-10-15 16:24:25 +08:00
C.S.M 8bbb84ea6f fix(cordic): Fix the cordic iteration parameter wrong 2026-10-15 16:22:34 +08:00
Frantisek Hrbata c3305b5ab4 Merge branch 'fix/cmakev2_scope_isolation' into 'master'
fix(cmakev2): isolate the scope of recursively evaluated components

Closes IDF-13067

See merge request espressif/esp-idf!52774
2026-10-15 10:07:25 +02:00
Peter Marcisovsky 02b419eb95 Merge branch 'feat/usb_host_buffer_dma_hal_ll' into 'master'
feat(usb_dwc_hal): Add buffer DMA mode for USB Host (non-periodic USB channels)

See merge request espressif/esp-idf!51787
2026-10-15 10:04:13 +02:00
Frantisek Hrbata a7ece658eb Merge branch 'feat/cmakev2-exclude-components' into 'master'
feat(cmakev2): add EXCLUDE_COMPONENTS and exclude esp_psram from the bootloader

See merge request espressif/esp-idf!52635
2026-10-15 09:34:47 +02:00
Meet Patel 1cbfc70f12 Merge branch 'contrib/github_pr_19134' into 'master'
fix(esp_system): parenthesize ESP32-P4 SRAM_* macros in memory.ld.in (GitHub PR)

Closes IDFGH-18338

See merge request espressif/esp-idf!53320
2026-10-15 12:32:27 +05:30
Meet Patel b4b6ab6a73 Merge branch 'feat/libgcc_iram_placement' into 'master'
feat(esp_libc): keep only 64-bit libgcc helpers in IRAM

Closes IDF-16125

See merge request espressif/esp-idf!53165
2026-10-15 12:25:43 +05:30
Meet Patel 76a59dde5b feat(esp_libc): keep only 64-bit libgcc helpers in IRAM 2026-10-15 12:25:42 +05:30
Shen Meng Jing ec59da4631 Merge branch 'docs/update_cn_nan_console' into 'master'
docs: Update CN translation for NAN security

Closes DOC-15905

See merge request espressif/esp-idf!53563
2026-10-15 14:50:53 +08:00
Ashish Sharma 14a39e0b58 Merge branch 'fix/esp_tls_tls13_ecdsa_p384_guard' into 'master'
fix(esp-tls): guard TLS 1.3 SECP384R1 ciphersuite selection

Closes IDF-16410

See merge request espressif/esp-idf!53408
2026-10-15 14:47:58 +08:00
morris 493326d544 Merge branch 'docs/i2s_add_s31_mode_table' into 'master'
docs(i2s): add ESP32-S31 to the communication mode table

See merge request espressif/esp-idf!53614
2026-10-15 14:40:04 +08:00
Renz Bagaporo 1050b0e598 fix(freertos): avoid pdMS_TO_TICKS overflow for large values
pdMS_TO_TICKS() multiplied in TickType_t, so xTimeInMs * configTICK_RATE_HZ
wrapped at 32 bits. With CONFIG_FREERTOS_HZ=1000, any value above 4294967 ms
gave a wrong tick count, e.g. pdMS_TO_TICKS(4294968) returned 0.

Multiply in uint64_t, as upstream FreeRTOS-Kernel does since V11.0.0
(FreeRTOS/FreeRTOS-Kernel#866) and as the FreeRTOS-Kernel-SMP copy already
does.

Closes https://github.com/espressif/esp-idf/issues/19242
2026-10-15 14:59:04 +09:00
Hrushikesh Bhosale 5ab8c448de test(esp-tls): add build test for ECDSA peripheral with TLS 1.3
Build the esp-tls test app with both enabled on ESP32-H2, which lacks P384 support.
2026-10-15 11:28:25 +05:30
Jiang Jiang Jian c7f3a88a18 Merge branch 'bugfix/ftm_en_s31' into 'master'
fix(ftm): Enable phy FTM only when ftm session is active

Closes WIFIBUG-2212, WIFIBUG-2214, and WIFIBUG-2218

See merge request espressif/esp-idf!53276
2026-10-15 12:31:28 +08:00
Chen ChenandCursor 4797dbc835 docs(i2s): describe communication modes for the current target
Replace the all-chip mode table with a per-target list filtered by SOC capabilities.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-15 11:45:23 +08:00
morris 91b153d451 Merge branch 'feat/mcpwm_add_dual_loop_foc_examples' into 'master'
feat(mcpwm): refactor open-loop FOC examples

See merge request espressif/esp-idf!53548
2026-10-15 11:07:13 +08:00
Song Ruo Jing d1d5b1ccb0 Merge branch 'fix/riscv_trace_ll_always_inline' into 'master'
fix(esp_hal_debug_assist): always_inline TRACE clock/reset LL helpers

See merge request espressif/esp-idf!53679
2026-10-15 10:39:57 +08:00
Song Ruo Jing 8471cc6a3e fix(esp_hal_debug_assist): always_inline TRACE clock/reset LL helpers 2026-10-15 10:39:57 +08:00
morris 5c6eda6d41 Merge branch 'feat/adds_adc_weight_efuse_fields_for_esp32s31' into 'master'
feat(efuse): Adds ADC weight efuse fields for ESP32-S31

See merge request espressif/esp-idf!53581
2026-10-15 09:52:05 +08:00
morris c5fce507b1 Merge branch 'fix/esp32h4-efuse-v05' into 'master'
fix(efuse): Update ESP32-H4 eFuse definitions to V0.5

See merge request espressif/esp-idf!53633
2026-10-15 09:49:35 +08:00
Jin Cheng ba5c818e29 feat(bt/bluedroid): add smoke test for AVRCP passthrough example 2026-10-15 09:02:59 +08:00
Jin Cheng 63ece5bb8c feat(bt/bluedroid): added AVRCP controller passthrough command example 2026-10-15 09:02:56 +08:00
Samuel Obuch 8a2f722ff1 Merge branch 'fix/esp32c5-cpu-reset-clk' into 'master'
fix(esp32c5): always enable clocks to fix hangs after cpu reset

See merge request espressif/esp-idf!53586
2026-10-14 21:30:20 +02:00
Sudeep Mohanty 8f4e6fd30d Merge branch 'feat/buildv2_component_compile_wrappers' into 'master'
feat(cmakev2): add component_compile_options and component_compile_definitions

See merge request espressif/esp-idf!53681
2026-10-14 19:45:59 +02:00
Konstantin Kondrashov 6ea0f22bcd Merge branch 'fix/log-pytest-partial-matches' into 'master'
fix(log): avoid partial address matches in pytest

Closes IDFCI-6666

See merge request espressif/esp-idf!53355
2026-10-14 18:36:57 +03:00
Konstantin Kondrashov 9c6c0080ef fix(log): avoid partial address matches in pytest
Wait for LF or CRLF after all five address patterns, allowing the optional
ANSI color reset emitted by IDF Monitor. This prevents partial reads from
capturing a truncated buffer address and causing a false hexdump timeout.
2026-10-14 18:24:56 +03:00
Konstantin Kondrashov 5af5ce04f0 Merge branch 'fix/efuse-test-flash-sequence' into 'master'
test(efuse): avoid intermediate boots during virtual eFuse setup

See merge request espressif/esp-idf!53372
2026-10-14 18:18:00 +03:00
Sudeep Mohanty 9af4e036b3 feat(cmakev2): add component_compile_options and component_compile_definitions
Build system v2 does not define the legacy component_compile_options() and
component_compile_definitions() functions, so a component that calls either
fails to configure with "Unknown CMake command". Add both to the compatibility
layer with the same behaviour as in tools/cmake/component.cmake.
2026-10-14 17:00:20 +02:00
Frantisek Hrbata d59b58bdef fix(bootloader): exclude esp_psram from the build system v2 bootloader
Build system v2 collects Kconfig from every discovered component. The
bootloader is configured from the application's sdkconfig. The
application's SPIRAM options therefore reach the bootloader's
sdkconfig.h although the bootloader never links esp_psram. Shared
sources compiled for the bootloader then see application-only
configuration. Build system v1 never had esp_psram in the bootloader's
COMPONENTS list, so SPIRAM was unknown there.

Add esp_psram to the EXCLUDE_COMPONENTS build property in
components/bootloader/subproject/CMakeLists_v2.txt. The component is
not discovered and its Kconfig is not collected. SPIRAM is undefined in
the bootloader, as in build system v1.

Verified with components/esp_psram/test_apps/psram and hello_world with
CONFIG_SPIRAM=y on esp32c5. The application keeps its SPIRAM options.
The bootloader sdkconfig.h has none and esp_psram is not in the
bootloader's project_description.json.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2026-10-14 16:56:59 +02:00
Frantisek Hrbata 5396e465e4 feat(cmakev2): add the EXCLUDE_COMPONENTS build property
Build system v1 has the EXCLUDE_COMPONENTS project variable. It removes
the listed names from the initial COMPONENTS list, see
spaces2list(EXCLUDE_COMPONENTS) in tools/cmake/project.cmake. Dependency
resolution adds such a component back when another component requires
it. Build system v2 had no equivalent. A v1 project that sets the
variable lost it when built with IDF_BUILD_V2=1.

Add the EXCLUDE_COMPONENTS build property. __init_component() returns
early for a component whose name is in the list. The component gets no
interface target. Its Kconfig files are not collected and its
project_include.cmake is not included. Every discovery path ends in
__init_component(), including managed components added through
idf_build_component(), so one check covers all sources. A component
that requires an excluded component fails with the existing error
"Failed to resolve component". The breaking changes page documents this
difference from build system v1.

The property is set before idf_project_init(). __init_components()
adds the names from the EXCLUDE_COMPONENTS environment or CMake
variable. This keeps idf.py -DEXCLUDE_COMPONENTS=<name> working, and
also a variable set after include(project.cmake) and before project(),
as in v1. idf_project_init() no longer warns that the EXCLUDE_COMPONENTS
variable is deprecated and ignored.

The v1 test test_exclude_components_not_passed now runs under v2 as
well.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2026-10-14 16:56:59 +02:00
Konstantin Kondrashov 2cf5f0ab36 test(efuse): avoid intermediate boots during virtual eFuse setup
Keep reading, modifying, and writing virtual eFuses under one UART guard.
Leave the stub running after the read, synchronize without resetting, and
avoid normal boots after auxiliary writes so the bootloader cannot
re-enable cleared virtual eFuse bits before the final application flash.

Remove the redundant esptool guard around normal flashing. Validate the
dump size and report read/write failures with operation and port context,
propagating the original exception without retries.
2026-10-14 17:25:26 +03:00
Frantisek Hrbata 61cad5974c fix(cmakev2): isolate the scope of recursively evaluated components
A component is evaluated with add_subdirectory() while the component
that requires it is still being evaluated. CMake gives the new directory
a copy of every variable and the directory properties visible at the
call. The dependency therefore saw the variables of the requiring
component, for example its srcs list, and appended to them.

Record the variables and the directory properties visible at the first
idf_component_include() call. Before a component is evaluated, a helper
function unsets every other variable. It also sets the directory
properties to the recorded values. The requiring component keeps its
own variables and properties.

This fixes two leaks in the current tree. esp_coex registered its
linker.lf through a leaked ldfragments variable in builds without
coexistence. esp_driver_cam received private include directories of
esp_cam_sensor.

The isolation can be disabled with IDF_COMPONENT_SCOPE_ISOLATION=NO.
COMPONENT_BUILD_DIR is now set for every component, next to
COMPONENT_DIR. The breaking-changes entry about recursive evaluation is
replaced with a Component Scope section in the design documentation. The
section also states that the isolation is not complete. The variables
visible when the record is made stay visible in every component, so a
component must still initialize the variables it sets.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2026-10-14 16:07:55 +02:00
Sudeep Mohanty 8d416076db Merge branch 'fix/buildv2_examples_build_components' into 'master'
fix(buildv2): disable examples with BUILD_COMPONENTS from external component dependencies

See merge request espressif/esp-idf!52637
2026-10-14 16:06:12 +02:00
Steven (Yang Minghui) 1c483c86c1 feat(mcpwm): add open-loop FOC prototype example 2026-10-14 20:51:33 +08:00
Song Ruo Jing b3c5733d77 Merge branch 'bugfix/ledc_wait_in_spinlock_esp32' into 'master'
fix(ledc): wait for a pending duty update before reconfiguring a channel on ESP32

Closes IDFGH-18343

See merge request espressif/esp-idf!53536
2026-10-14 20:24:44 +08:00
Konstantin Kondrashov 000be3beec fix(efuse): Update ESP32-H4 eFuse definitions to V0.5 2026-10-14 15:24:27 +03:00
Sudeep Mohanty f8acd6667c fix(buildv2): disable examples with BUILD_COMPONENTS dependencies
The esp_tinyusb, esp_secure_cert_mgr and usb_device_uac managed components
read the BUILD_COMPONENTS build property, which Build system v2 does not
provide.
2026-10-14 20:19:17 +08:00