Commit Graph

53115 Commits

Author SHA1 Message Date
gaoxu
b856c54e38 ci(adc): remove ADC runner and move ADC tests to generic 2026-06-18 09:45:09 +08: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
Frantisek Hrbata
dd9e0a4da5 Merge branch 'feat/idf_component_include_optional' into 'master'
feat(cmakev2/component): add OPTIONAL flag to idf_component_include

See merge request espressif/esp-idf!48502
2026-06-11 08:02:58 +02: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
Tomas Rezucha
7788f0114c Merge branch 'feat/ncm_esp32p4_example' into 'master'
feat(usb/example): Enable NCM device example on ESP32-P4

Closes IDF-15741

See merge request espressif/esp-idf!48935
2026-06-10 18:50:27 +02: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
Island
477b984238 Merge branch 'idf/ble_audio_arch_doc' into 'master'
docs(ble_audio): Add documents for ISO & LE Audio architectures

See merge request espressif/esp-idf!49065
2026-06-10 19:38:21 +08:00
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
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
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
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
Liu Linyan
15f3df1ea7 docs(ble_audio): Add documents for introducing ISO & LE Audio architectures 2026-06-10 15:41: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
Mahavir Jain
fa28dd8c12 docs(security): fix typos in security guides
- security.rst: remove duplicated word in OTA encryption note
- tee.rst: remove duplicated word in memory allocation note
- flash-encryption.rst: drop redundant phrase and fix subject-verb agreement
2026-06-10 13:09:09 +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
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
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
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