Commit Graph
53084 Commits
Author SHA1 Message Date
Sumeet Singh bcfd6633be fix(nimble): Change remaining vars from Static to Dynamic 2026-06-10 16:24:07 +05:30
Rahul Tank 2782615ed9 Merge branch 'bugfix/bt4371_crash' into 'master'
fix(nimble): Deinit NimBLE stop event in host task

See merge request espressif/esp-idf!49263
2026-06-10 16:17:26 +05:30
Wan Lei 1fcf8961a4 Merge branch 'feat/spi_slave_add_independent_tx_rx_length' into 'master'
feat(driver_spi): slave driver support config different tx/rx length

See merge request espressif/esp-idf!49356
2026-06-10 18:38:50 +08:00
Harshal Patil c753716f5a Merge branch 'fix/partitions_ota_sb_esp32c2_c61' into 'master'
Use ECDSA Secure Boot V2 scheme for partitions_ota on C2/C61

See merge request espressif/esp-idf!49527
2026-06-10 16:08:18 +05:30
Adam Múdry 1ef3e39078 Merge branch 'fix/sd_freq_clamping' into 'master'
fix(sdmmc): Handle nonsensical max freq correctly

Closes IDFGH-14477

See merge request espressif/esp-idf!49526
2026-06-10 12:30:09 +02:00
harshal.patil d8b7df4aa2 fix(examples/partitions_ota): use ECDSA Secure Boot V2 scheme for partitions_ota on C2/C61
ESP32-C2 and ESP32-C61 have no RSA based Secure Boot V2 support
so the virt_sb_v2_and_fe configs cannot use the default RSA signing key.
Add target-specific sdkconfig overlays that switch to the ECDSA P-256 key;
on ESP32-C61 the ECDSA scheme must additionally be force-enabled
SECURE_BOOT_V2_ECDSA_INSECURE).
2026-06-10 15:30:06 +05:30
Adam Múdry f2a583a260 fix(sdmmc): Handle nonsensical max freq correctly
Closes https://github.com/espressif/esp-idf/issues/15250
2026-06-10 11:48:51 +02:00
Wang Meng Yang b6713bf40f Merge branch 'bugfix/idf_ci_hfp' into 'master'
fix: Fix the incorrect connection of the same-name devices in the HFP example

Closes IDFCI-12151

See merge request espressif/esp-idf!49442
2026-06-10 16:19:09 +08:00
Jiang Jiang Jian f6eceb316a Merge branch 'feat/support_esp32s31_dfu' into 'master'
Feat/support esp32s31 dfu

See merge request espressif/esp-idf!49329
2026-06-10 15:48:00 +08:00
Gao Xu 6d14e5867d Merge branch 'fix/adc_monitor_error_on_ch8_9_on_s3' into 'master'
Fix ADC Continuous Monitor Callback Failure for ADC1 Channels 8/9 on ESP32-S3

Closes IDFGH-16674

See merge request espressif/esp-idf!49373
2026-06-10 15:06:48 +08:00
Mahavir Jain b9c8a13326 Merge branch 'fix/esp_tee_bbp' into 'master'
fix(esp_tee): Harden TEE secure services against REE manipulation

See merge request espressif/esp-idf!48710
2026-06-10 12:35:47 +05:30
wanckl 875b7ab7c0 feat(driver_spi): slave driver support config different tx/rx length 2026-06-10 14:41:13 +08:00
Laukik Hase c9f6efb976 fix(esp_tee): Harden the TEE secure services against REE manipulation
- `bootloader_flash_execute_command_common`: whitelist the flash command
   opcodes the REE actually uses; reject the rest
- `spi_flash_hal_* services`: a forged `host->driver` could hijack TEE
   control flow since the HAL dispatches through it, so swap
   `host->driver` to a TEE-rodata vtable around each HAL call
- Deny partition table and bootloader writes by default and permit
  bootloader writes only when explicitly enabled via
  `CONFIG_SPI_FLASH_DANGEROUS_WRITE_ALLOWED` option
- Protect the TEE-assigned interrupt pin configuration against REE
- Validate nested DS context pointers in start/finish_sign and bound
  the result copy to the SoC max signature size
- Fix the stack usage in service dispatcher argument parsing
2026-06-10 12:02:34 +05:30
He Binglin 02c225b604 Merge branch 'feat/esp_idf_h21_power_optimization' into 'master'
Feat/esp idf h21 power optimization

Closes PM-778 and PM-678

See merge request espressif/esp-idf!49223
2026-06-10 14:18:52 +08:00
Island 909f059277 Merge branch 'fix/gattc-multi-app-notif-warning' into 'master'
fix(bt): Suppress gattc drop-notif warning for unregistered gatt_if

Closes WIFIBUG-1822

See merge request espressif/esp-idf!49389
2026-06-10 11:58:01 +08:00
Island e40c3c4882 Merge branch 'fix/gattc_prep_write_preserve_att_error_status' into 'master'
fix(ble/bluedroid): preserve ATT error on prepare write completion

Closes BLERP-2866

See merge request espressif/esp-idf!49264
2026-06-10 11:57:58 +08:00
Marius Vikhammer ecb4123afd Merge branch 'bugfix/int_wdt_default_psram' into 'master'
fix(iwdt): increased default timeout if using PSRAM

Closes IDFGH-17392

See merge request espressif/esp-idf!49425
2026-06-10 10:20:20 +08:00
Aditya Patwardhan ebc4806085 Merge branch 'fix/disable_secure_boot_v2_ecdsa' into 'master'
Fix/disable secure boot v2 ecdsa

See merge request espressif/esp-idf!48834
2026-06-09 23:46:11 +05:30
Aditya Patwardhan 5f8e7058a5 Merge branch 'fix/rsa_ds_driver_constant_time' into 'master'
Fix/rsa ds driver constant time

See merge request espressif/esp-idf!48678
2026-06-09 22:25:23 +05:30
Jiang Jiang Jian f17a63bae9 Merge branch 'feat/optimizations_related_to_keep_alive' into 'master'
feat(wifi): optimizations ralated to keep alive

Closes WIFIBUG-1553

See merge request espressif/esp-idf!46641
2026-06-09 20:47:34 +08:00
Harshal Patil a5591852c5 Merge branch 'fix/remove_nonexistent_crypto_registers_c61' into 'master'
Remove non-existent crypto registers (ESP32-C61)

See merge request espressif/esp-idf!49241
2026-06-09 18:16:01 +05:30
yangfeng b327c9cc8f fix: Fix the incorrect connection of the same-name devices in the HFP example 2026-06-09 19:32:50 +08:00
Aditya Patwardhan 67e10e2b56 change(secure_boot): mark ECDSA based Secure Boot V2 as insecure on affected SoCs
ECDSA based Secure Boot V2 is not functional for certain input vectors on
ESP32-C5/C61/H2/P4 and on the preview targets ESP32-H4/H21. RSA based Secure
Boot V2 is the recommended scheme where the SoC supports it. This issue will be
fixed in a future hardware ECO revision; more details will be shared through the
hardware errata document.

A new hidden Kconfig option SECURE_BOOT_V2_ECDSA_INSECURE marks the affected
mass-production SoCs (ESP32-C5/C61/H2/P4). On these SoCs, when hardware Secure
Boot V2 is enabled, the ECDSA (V2) signing scheme is no longer offered by
default; it must be turned on explicitly via SECURE_BOOT_V2_FORCE_ENABLE_ECDSA
under "Allow potentially insecure options" (CONFIG_SECURE_BOOT_INSECURE). App
signing without hardware Secure Boot is not affected. Note that ESP32-C61 has no
RSA based Secure Boot V2, so it has no Secure Boot scheme enabled by default.

The preview targets ESP32-H4 and ESP32-H21 mark ECDSA Secure Boot V2 as not
supported in their SoC capabilities instead of using the option above. As
ESP32-H4 has no other Secure Boot V2 scheme, Secure Boot is disabled entirely on
it; ESP32-H21 retains RSA based Secure Boot V2.

The security documentation keeps the ECDSA Secure Boot V2 content visible and
adds a warning describing the limitation (including that ECDSA Secure Boot V2 on
ESP32-C61 is not recommended for production). CI apps that exercise ECDSA Secure
Boot V2 on the affected SoCs set CONFIG_SECURE_BOOT_V2_FORCE_ENABLE_ECDSA
accordingly.
2026-06-09 16:55:57 +05:30
Rahul Tank f2a12351e1 fix(nimble): Deinit NimBLE stop event in host task 2026-06-09 16:30:24 +05:30
Tomas Rezucha 162c082111 Merge branch 'feat/usb_host_console' into 'master'
Extend USB Host Library example with interactive console

Closes IDF-15521

See merge request espressif/esp-idf!47689
2026-06-09 12:49:20 +02:00
Tomas Rezucha 3bb1d62b32 feat(usb/host): Extend USB Host Library example with interactive console 2026-06-09 12:27:00 +02:00
Marius Vikhammer e3570108ac fix(iwdt): increased default timeout if using PSRAM
Default timeout for interrupt WDT was increased by default
on ESP32, due to some heap integrity check APIs taking a long
time on large PSRAMs and causing timeouts.

But this adjustment was only done for ESP32, not later chips,
even though they may experience the same issue.

Adjusted to have the same behavior on all chips with PSRAM
enabled, making it consistant with the docs.

Closes https://github.com/espressif/esp-idf/issues/18360
2026-06-09 17:18:58 +08:00
Mahavir Jain 05c70c1fd4 Merge branch 'fix/ecdsa_ecc_hw_input_validation' into 'master'
Validate ECDSA signature range and harden ECC memory power-down

See merge request espressif/esp-idf!48958
2026-06-09 14:40:24 +05:30
Sudeep Mohanty 40d23b124b Merge branch 'fix/buildv2_bootloader_extra_components' into 'master'
fix(cmakev2/bootloader): link components from EXTRA_COMPONENT_DIRS

See merge request espressif/esp-idf!49367
2026-06-09 10:18:20 +02:00
yinqingzhao 42744902c6 feat(wifi): optimizations ralated to keep alive 2026-06-09 16:16:15 +08:00
harshal.patil 81ffe04323 fix(soc): Remove non-existent crypto registers (ESP32-C61) 2026-06-09 13:33:25 +05:30
Jiang Guang MingandCursor 0c835d2141 fix(dfu): retry dfu-util flash on macOS detach failure
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-09 15:40:34 +08:00
Marius Vikhammer c67b1d0e43 Merge branch 'bugfix/esp_sys_remove_vsf_dep' into 'master'
fix(esp_system): remove unnecessary VFS dependency

See merge request espressif/esp-idf!49412
2026-06-09 15:38:02 +08:00
He Binglin 74c3a56614 Merge branch 'feat/esp_idf_h21_clock_output_support' into 'master'
feat(esp_hw_support): support clock output in esp32h21

Closes PM-785 and IDF-11582

See merge request espressif/esp-idf!49393
2026-06-09 15:26:34 +08:00
Song Ruo Jing 19287f5f0c Merge branch 'feature/esp32h4_flash_support' into 'master'
feat(spi_flash): Add exclusive support for ESP32H4

Closes IDF-12290, IDF-12389, and IDF-15616

See merge request espressif/esp-idf!47679
2026-06-09 15:23:34 +08:00
Wan Lei 8498d31a87 Merge branch 'fix/update_sdmmc_test_config' into 'master'
fix(driver_sdmmc): test app correct p4 sdkconfig

See merge request espressif/esp-idf!49410
2026-06-09 15:22:54 +08:00
Jiang Jiang Jian 853a2cfd3a Merge branch 'chip/support_wifi_low_power_for_s31_rebase_master' into 'master'
Chip/support wifi low power for s31 rebase master

Closes IDF-14579 and IDF-14582

See merge request espressif/esp-idf!48532
2026-06-09 15:16:53 +08:00
hebinglin eb6bb0acf0 feat(esp_hw_support): support clock output in esp32h21 2026-06-09 14:16:05 +08:00
harshal.patil f9642ccad4 test(esp_hal_security): warm up ECC const-time loop before measuring 2026-06-09 10:59:12 +05:30
harshal.patil dec9ce8263 fix(esp_tee): Reset crypto peripherals before the panic-induced reset 2026-06-09 10:59:12 +05:30
harshal.patil c5e03fd55c fix(esp_rom): Patch ets_ecdsa_verify() to include signature bounds check 2026-06-09 10:59:12 +05:30
harshal.patil 554cce6937 fix(mbedtls): validate ECDSA signature range and harden ECC memory power-down 2026-06-09 10:59:11 +05:30
Marius Vikhammer 34fe9dff31 fix(system): removed uncessary vfs component dependency from esp_system 2026-06-09 11:58:33 +08:00
wanckl c7160911bf fix(driver_sdmmc): test app correct p4 sdkconfig 2026-06-09 11:26:32 +08:00
morris 891341153d Merge branch 'feat/esp_async_memcpy_blocking_api' into 'master'
feat(esp_driver_dma): add blocking async memcpy API

See merge request espressif/esp-idf!49295
2026-06-08 22:24:09 +08:00
morris 021791b0d9 Merge branch 'feat/restful_server_upgrade_vite_version' into 'master'
feat(http_server/restful_server): Upgraded Vite version

See merge request espressif/esp-idf!49357
2026-06-08 22:16:09 +08:00
Hrushikesh Bhosale 0e2adccb54 feat(http_server/restful_server): Upgraded Vite version
- Bumped up the Vite version to 7.3.2
2026-06-08 17:03:24 +05:30
sibeibei e17cd724b4 feat(pm): select XTAL for HP dig_sysclk in modem state
On ESP32-S31, SOC and modem APB are decoupled, so the digital
system can run from XTAL while the modem domain stays in modem state.
2026-06-08 19:24:30 +08:00
sibeibei 1b8b73ae41 fix(ci): fix pre-commit issue 2026-06-08 19:24:30 +08:00
sibeibei 1ce999e59f feat(ci): enable build for esp32s31, disable CI test 2026-06-08 19:24:30 +08:00