52760 Commits

Author SHA1 Message Date
Roland Dobai
5f44d4a401 Merge branch 'ci/esptool_internal_releases' into 'master'
CI: Use internal Esptool releases in the pipeline

See merge request espressif/esp-idf!48750
2026-05-25 15:44:36 +02:00
Ivan Grokhotkov
9bfd2c0b24 fix(gitlab): correct link to codeowners syntax 2026-05-25 15:41:12 +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
0c4afc54fa Merge branch 'ci/switch_to_v6.2' into 'master'
Start of v6.2 development

See merge request espressif/esp-idf!48841
2026-05-25 15:06:59 +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
Sudeep Mohanty
6fa141ec36 fix(cmakev2): publish idf_path in __init_idf_path 2026-05-25 12:31:18 +02:00
Sudeep Mohanty
fed8ed784f fix(cmakev2): handle .elf target name in target_add_binary_data
In cmakev1, the executable target is named "${project}.elf". In cmakev2,
the executable is named "${project}" with .elf as the output suffix.
Strip the .elf suffix and look up the bare target name when the original
name doesn't exist.
2026-05-25 12:31:18 +02:00
Sudeep Mohanty
c5e7c137f5 fix(cmakev2/compat): handle quoted REQUIRES and add legacy API shims
Two compatibility fixes:

- idf_component_register: apply separate_arguments to REQUIRES and
  PRIV_REQUIRES after cmake_parse_arguments. Some managed components
  publish CMakeLists.txt with PRIV_REQUIRES "log esp_eth" as a single
  quoted string (e.g. espressif__rtl8201).

- Add register_component() macro and idf_component_add_link_dependency()
  shims for legacy ESP-IDF examples (ULP apps, BLE mesh) and managed
  components (esp_flash_nor).
2026-05-25 12:31:17 +02:00
Sudeep Mohanty
9e20c3ba57 fix(cmakev2/kconfig): suppress transient kconfgen warnings during component manager runs
kconfgen runs while the component manager iterates to convergence.
Those passes operate on partial component sets and emit "unknown
kconfig symbol" warnings for symbols defined in not-yet-downloaded
components — idf-build-apps treats those as build failures.

Suppress kconfgen output on the intermediate passes; only the final
pass against the converged set emits warnings.
2026-05-25 12:31:17 +02:00
Sudeep Mohanty
a25c1f5476 fix(cmakev2/compat): unquote source list in idf_component_register's add_library call
The cmakev2 compat layer's idf_component_register() was passing
${sources} quoted to add_library(), collapsing the semicolon-delimited
list into a single argument. Drop the quotes so each source becomes a
separate argument, matching cmakev1's idf_component_register().
2026-05-25 12:31:17 +02: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
Jiang Jiang Jian
b6a2af2fe1 Merge branch 'fix/mbedtls-threading-impl-kconfig' into 'master'
fix(mbedtls): make threading implementation exclusive

See merge request espressif/esp-idf!48846
2026-05-25 18:08:30 +08:00
tarun.kumar
108362389e fix(wifi) : Add Mode/threshold checks in esp_wifi_disable_pmf_config()
- Updated API documentation for esp_wifi_disable_pmf_config()
2026-05-25 15:36:41 +05:30
Peter Dragun
a2d6680477 Merge branch 'fix/esp32c5_usj_console_stuck' into 'master'
fix(esp32c5): Do not disable UART0 sclk when USB Serial/JTAG is primary console

Closes IDFGH-17050

See merge request espressif/esp-idf!45920
2026-05-25 16:03:26 +08:00
Jiang Jiang Jian
0b0c85cb3b Merge branch 'feat/dpp_multi_config' into 'master'
Feature: Add dpp multiconfig support

Closes WIFIBUG-1873, WIFIBUG-1852, WIFIBUG-762, and WIFIBUG-1810

See merge request espressif/esp-idf!48191
2026-05-25 15:40:54 +08:00
Zhou Xiao
725e9ee162 change(ble_log): move spi tx callback to flash when spi isr in iram disabled 2026-05-25 15:18:31 +08:00
Roland Dobai
9c96688ffe Merge branch 'ci/bump-up-kconfig-precommit' into 'master'
ci(pre-commit): bump up kconfig related checks

Closes IDF-15702

See merge request espressif/esp-idf!48752
2026-05-25 08:47:35 +02:00
Peter Dragun
69d8b42adf ci: enable esp32c5 for usb_serial_jtag tests 2026-05-25 08:36:28 +02:00
Peter Dragun
05faa941c2 fix(esp32c5): Do not disable UART0 sclk when USB Serial/JTAG is primary console
This is a workaround for rom code issue, which can cause the chip to end in infinite loop
when reset is triggered from esptool/idf-monitor. This is only applicable to ESP32-C5 rev <= 1.0.

Closes https://github.com/espressif/esp-idf/issues/18089
2026-05-25 08:35:15 +02:00
zhanghaipeng
8da824cd0e fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(51d9dfde)
- improve coded PHY performance under Wi-Fi coexistence
2026-05-25 14:13:37 +08:00
Chen Ji Chang
ea0b39f521 Merge branch 'docs/spi-slave-timeout-return' into 'master'
docs(driver_spi): document SPI slave timeout returns

Closes IDFGH-17691

See merge request espressif/esp-idf!48783
2026-05-25 14:00:52 +08:00
Shreyas Sheth
41b4d70ad4 feat(esp_wifi): Add support for multiconfig support for DPP 2026-05-25 13:57:28 +08:00
Shreyas Sheth
958c7bef43 feat(esp_wifi): Harden dpp code and add improvements for dpp 2026-05-25 13:57:28 +08:00
morris
7ce07cb910 Merge branch 'refactor/enable_io_mux_clock' into 'master'
fix(iomux): move source gating to IOMUX consumers

Closes IDF-12975 and IDF-12852

See merge request espressif/esp-idf!48530
2026-05-25 12:31:50 +08:00
Jiang Jiang Jian
6544496a22 Merge branch 'feature/random_mac' into 'master'
feat(esp_wifi): Add support for privacy enhancement techniques

Closes DOC-14631

See merge request espressif/esp-idf!34263
2026-05-25 12:15:23 +08:00
yinqingzhao
60a99bbb5a fix(phy): fix still put multiple phy init date bin into flash when CONFIG_ESP_PHY_MULTIPLE_INIT_DATA_BIN_EMBED is enabled 2026-05-25 11:57:13 +08:00
Ashish Sharma
d7cf1896b5 fix(mbedtls): fixes missing check before ecdsa verify 2026-05-25 11:51:53 +08:00
Shreyas Sheth
2d3c11b277 fix(esp_wifi): Fix ci pipeline for random mac feature 2026-05-25 11:22:45 +08:00
Zhang Shuxian
17e4e38cda Resubmit CN translation update 2026-05-25 11:22:45 +08:00
Jack
4786ab4d14 docs(wifi): add Chinese translation for MAC randomization
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-25 11:22:45 +08:00
Aditi
18cbdbf2b1 feat(esp_wifi): Add improvements for privacy extension
1) Add support for MAC randomization in Active scan and connect
  2) Add support for randomizaton of sequence numbers
  3) Add support for randomization of dialog token for GAS frames
2026-05-25 11:22:45 +08:00
He Binglin
3bf83125b4 Merge branch 'change/esp_idf_ext1_unhold' into 'master'
Optimize parts of the sleep wake-up flow

See merge request espressif/esp-idf!47322
2026-05-25 11:15:22 +08:00
Jiang Guang Ming
cdfbee61a9 fix(mbedtls): make threading implementation exclusive
Ensure the pthread and alternate threading implementations cannot be enabled at the same time.
2026-05-25 11:13:51 +08:00
Andrii Anoshyn
3fcc127672 fix(protocomm): prevent out-of-bounds write in console line buffer
The console transport read loop passed &linebuf[i] to uart_read_bytes()
before checking i < LINE_BUF_SIZE, so a line of LINE_BUF_SIZE or more
bytes without a terminator wrote one byte past the 256-byte linebuf
stack array.

Gate the read on the bounds check and reserve the final byte for the NUL
terminator (LINE_BUF_SIZE - 1), so the buffer handed to esp_console_run()
stays terminated even when an overlong line is truncated.

Closes https://github.com/espressif/esp-idf/issues/18638

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-22 22:18:59 +03:00
morris
38c4f27102 fix(iomux): move clock source gating to IOMUX consumers
Remove io_mux_set_clock_source internal source enabling and make SDM,
ana_cmpr, and gpio glitch filter drivers explicitly manage clock source
enable/disable with safe cleanup paths.
2026-05-22 19:10:08 +08:00
morris
6b711f91f5 fix(esp_lcd): balance clock source references on teardown
Track enabled clock sources in DSI/DPI/i80 drivers and disable them in
delete/error cleanup paths so esp_clk_tree source refcounts stay
balanced.
2026-05-22 18:43:02 +08:00
He Binglin
f3ee69582e Merge branch 'change/esp_idf_h4h21_modem_clock_retention_passive' into 'master'
Change/esp idf h4h21 modem clock retention passive

Closes IDFCI-11613, IDFCI-11628, and IDFCI-11614

See merge request espressif/esp-idf!48557
2026-05-22 18:02:24 +08:00
ShenWeilong
e273c406c8 fix(ble): Updated libble[a7487a7] and libbtdm[9ce603a] 2026-05-22 17:51:11 +08:00
Roland Dobai
02d6504653 ci(gitlab): Use internal Esptool releases in the pipeline 2026-05-22 17:45:32 +08:00
He Binglin
eec18ba80a Merge branch 'doc/esp_idf_flash_pwr_description' into 'master'
docs(pm): add flash sleep strategy recommendations

See merge request espressif/esp-idf!45689
2026-05-22 17:44:50 +08:00
Jiang Jiang Jian
199c586041 Merge branch 'fix/isp_iram_safe_typo' into 'master'
fix(isp): fix typo in CONFIG_ISP_ISR_IRAM_SAFE macro reference

See merge request espressif/esp-idf!48815
2026-05-22 17:23:41 +08:00
Jiang Jiang Jian
1e28f30c2a Merge branch 'feat/nan_pairing_pasn_auth' into 'master'
feat(wifi): Support NAN Pairing with PASN as par Specs v4.0

Closes WIFI-7102

See merge request espressif/esp-idf!47145
2026-05-22 16:29:28 +08:00
Rahul Tank
ab2ec6f2e6 Merge branch 'bugfix/nimble_hid_fixes' into 'master'
fix(nimble): Always read initial BAS level and forward HID report/control/protocol writes as HIDD events

Closes BLERP-2806

See merge request espressif/esp-idf!48598
2026-05-22 13:39:27 +05:30
Peter Marcisovsky
7ac6e821f8 Merge branch 'fix/esp_hal_usb_fsls_phy_default_settings' into 'master'
fix(esp_hal_usb): Fix internal PHY default settings

Closes IDF-15718

See merge request espressif/esp-idf!48764
2026-05-22 09:53:44 +02:00