Commit Graph
36882 Commits
Author SHA1 Message Date
Adam Múdry 6ef5d42acc fix(vfs): Fix incorrect check in esp_vfs_register_fs_common and optimize memory 2026-06-11 16:34:39 +02:00
Adam Múdry 1f9c627569 fix(fatfs): Fix esp_vfs_fat_unregister_path leak if esp_vfs_unregister fails 2026-06-11 16:29:25 +02:00
Mahavir Jain e1713f44fb Merge branch 'fix/sb_digest_revocation_workflow' into 'master'
change(bootloader): honor SECURE_BOOT_ALLOW_UNUSED_DIGEST_SLOTS during first boot

See merge request espressif/esp-idf!49553
2026-06-11 13:34:01 +05:30
Marius Vikhammer 5e0e916591 Merge branch 'fix/lp_core_s31_pdma_intr_entry' into 'master'
fix(ulp): fix LP core interrupt vector entry for LP PDMA on esp32s31

See merge request espressif/esp-idf!49521
2026-06-11 15:55:43 +08:00
Wang Meng Yang 9a3bfb907c Merge branch 'bugfix/bbp_499' into 'master'
fix(bt/bluedroid): added validation for all SMP BR opcode lengths in smp_br_data_received

Closes BT-4389

See merge request espressif/esp-idf!49429
2026-06-11 12:36:20 +08:00
Wang Meng Yang 388ea06692 Merge branch 'bugfix/bbp_478' into 'master'
fix(bt/bluedroid): fixed CTKD link key authentication downgrade in SC-Only mode

Closes BT-4387

See merge request espressif/esp-idf!49434
2026-06-11 12:34:43 +08:00
C.S.M 471be9b684 Merge branch 'contrib/github_pr_18705' into 'master'
esp_psram: Set missing PSRAM errors to warnings if "ignore not found" is configured. (GitHub PR)

Closes IDFGH-17789

See merge request espressif/esp-idf!49503
2026-06-11 10:23:29 +08:00
Wang Meng Yang 82c640784f Merge branch 'bugfix/bbp_479' into 'master'
fix(bt/bluedroid): added buffer length check for HID host data indication

Closes BT-4366

See merge request espressif/esp-idf!49435
2026-06-11 10:01:12 +08:00
Marius Vikhammer 23874fa94c Merge branch 'bugfix/ulp_lp_core_wakeup_race' into 'master'
fix(ulp): fix LP core wakeup race with LP timer

Closes IDFGH-16068

See merge request espressif/esp-idf!49484
2026-06-11 09:00:33 +08:00
Wang Meng Yang 04f7908b12 Merge branch 'bugfix/bbp_482' into 'master'
fix(bt/bluedroid): added buffer length check for L2CAP related functions

Closes BT-4368

See merge request espressif/esp-idf!49438
2026-06-11 08:08:54 +08:00
Martin Vychodil 468504266e Merge branch 'contrib/github_pr_18400' into 'master'
Improve logging for VFS start_select function (GitHub PR)

Closes IDFGH-17441 and IDFGH-17439

See merge request espressif/esp-idf!48243
2026-06-10 20:36:10 +08:00
Chen Ji Chang 17e6f6952d Merge branch 'fix/fix_rgb_gdma_link_switch' into 'master'
fix(rgb_lcd): fix gdma link switch not take effect

See merge request espressif/esp-idf!49500
2026-06-10 20:06:39 +08:00
Mahavir Jain ca4906dd91 Merge branch 'bugfix/fix_protocomm_sec2_double_free_decrypt' into 'master'
fix(protocomm): null output buffer pointer on crypto failure

See merge request espressif/esp-idf!49411
2026-06-10 17:28:36 +05:30
Jiang Jiang Jian 9841a9664a Merge branch 'bugfix/fix_task_switch_issue_of_wifi_task' into 'master'
fix(wifi): fix scheduling issue when tasks have the same priority as the Wi-Fi task

See merge request espressif/esp-idf!49154
2026-06-10 19:33:13 +08:00
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
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
gadget-man aad525da10 Fix bug in logging for VFS start_select function
Resolves issue identified in https://github.com/espressif/esp-idf/issues/18398 by seperating logging when `vfs == NULL`

Closes https://github.com/espressif/esp-idf/pull/18400
Closes https://github.com/espressif/esp-idf/issues/18398
2026-06-10 11:26:20 +02: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
Mahavir Jain 8da7627526 change(bootloader): honor SECURE_BOOT_ALLOW_UNUSED_DIGEST_SLOTS during first boot
Previously the bootloader unconditionally revoked unused secure boot key
digest slots while permanently enabling secure boot on the first boot,
ignoring CONFIG_SECURE_BOOT_ALLOW_UNUSED_DIGEST_SLOTS. Now the config is
honored on this path too: when set, the unused digest slots are left
un-revoked. This is safe as long as the debug and download interfaces are
disabled.

Update the Kconfig help and the Secure Boot v2 guide (en and zh_CN)
accordingly.
2026-06-10 13:09:10 +05:30
Angus Gratton 443f1bb791 esp_psram: Downgrade "not found" to a warning if "ignore not found" set.
This avoids ~5 errors being logged during boot if the board
has no PSRAM but is configured to boot anyway.

Closes https://github.com/espressif/esp-idf/pull/18705

Signed-off-by: Angus Gratton <angus@redyak.com.au>
2026-06-10 15:15:47 +08:00
Chen Jichang 8319196c64 fix(rgb_lcd): fix gdma link switch not take effect 2026-06-10 15:13:14 +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
Marius Vikhammer 0577a6bf87 fix(ulp): fix LP core interrupt vector entry for LP PDMA on esp32s31 2026-06-10 15:03:57 +08:00
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
yinqingzhao 63b92cf17e fix(wifi): fix scheduling issue when tasks have the same priority as the Wi-Fi task 2026-06-10 11:48:26 +08:00
Marius Vikhammer 42bb45db22 fix(ulp): fixes potential race-condition for lp-timer wakeup with lp-core
Reconfigure wakeup time before enabling the wakeup source to avoid
a wakeup from potentially stale values.

Closes https://github.com/espressif/esp-idf/issues/17009
2026-06-10 11:10:01 +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
Jin Cheng 149743a8d5 fix(bt/bluedroid): fixed CTKD link key authentication downgrade in SC-Only mode 2026-06-10 08:43:42 +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
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
Jin Cheng c8cd8f4f30 fix(bt/bluedroid): added buffer length check for L2CAP related functions 2026-06-09 17:57:46 +08:00
Jin Cheng 5a3d291bef fix(bt/bluedroid): added buffer length check for HID host data indication 2026-06-09 17:55:35 +08: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
Jin Cheng d6a49aedef fix(bt/bluedroid): added validation for all SMP BR opcode lengths in smp_br_data_received 2026-06-09 17:11:08 +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
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