48446 Commits
Author SHA1 Message Date
Jin Cheng 65833e571d fix(bt/bluedroid): added validation for all SMP BR opcode lengths in smp_br_data_received 2026-06-12 18:37:23 +08:00
Jin Cheng 9de7e5cbd0 fix(bt/bluedroid): fixed CTKD link key authentication downgrade in SC-Only mode 2026-06-12 18:37:23 +08:00
Jin Cheng 6796f5d12e fix(bt/bluedroid): added buffer length check for HID host data indication 2026-06-12 18:37:23 +08:00
Jin Cheng 1e07f6d83c fix(bt/bluedroid): added buffer length check for L2CAP related functions 2026-06-12 18:37:23 +08:00
ShenWeilong 72c8c77b43 fix(bt): fixed the npl callout stop issue 2026-06-12 15:12:56 +08:00
Jiang Jiang Jian dfe53e2090 Merge branch 'fix/phy_cal_v5.5' into 'release/v5.5'
fix(phy): fix wifi tx failed when sta wake from deepsleep v5.5

See merge request espressif/esp-idf!49440
2026-06-12 15:07:32 +08:00
morris a4ea351ef1 Merge branch 'fix/adc_monitor_error_on_ch8_9_on_s3_v5.5' into 'release/v5.5'
Fix ADC Continuous Monitor Callback Failure for ADC1 Channels 8/9 on ESP32-S3 (v5.5)

See merge request espressif/esp-idf!49506
2026-06-12 10:25:20 +08:00
zhiweijian 40628eacb3 fix(examples): improve bluedroid BLE example error handling
Check GAP/GATT event status, fix prepare-write buffer lifecycle, and
align example code with updated Bluedroid API behavior.
2026-06-11 21:10:43 +08:00
zhiweijian b36812444f refactor(examples): disable unused BT options in bluedroid BLE examples
Add sdkconfig.defaults to turn off unused Bluedroid host features per
example role (GATT client/server, SMP, legacy adv, etc.).
2026-06-11 21:05:16 +08:00
ShenWeilong 468222b05b fix(bluedroid): Set CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y in bluedroid host examples 2026-06-11 21:03:18 +08:00
Rahul Tank 4a263dabbe Merge branch 'fix/add_remaining_vars_to_heap_v5.5' into 'release/v5.5'
fix(nimble): Change remaining vars from Static to Dynamic (v5.5)

See merge request espressif/esp-idf!49281
2026-06-11 17:30:16 +05:30
Alexey Gerenkov accd30cd0d Merge branch 'fix/newlib-nano-nosys-linking_v5.5' into 'release/v5.5'
fix(libc): nano: add -lnosys to linking to avoid CMake configuration issues (v5.5)

See merge request espressif/esp-idf!49379
2026-06-11 18:50:08 +08:00
morris 3fed4b029e Merge branch 'fix/fix_rgb_gdma_link_switch_v5.5' into 'release/v5.5'
fix(rgb_lcd): fix gdma link switch not take effect (v5.5)

See merge request espressif/esp-idf!49546
2026-06-11 17:41:10 +08:00
Sumeet Singh 206fcf54a7 fix(nimble): Change remaining vars from Static to Dynamic (v5.5) 2026-06-11 13:35:20 +05:30
Wang Meng Yang 575521614f Merge branch 'bugfix/idf_ci_hfp_v5.5' into 'release/v5.5'
fix: Fix the incorrect connection of the same-name devices in the HFP example (v5.5)

See merge request espressif/esp-idf!49535
2026-06-11 14:16:58 +08:00
morris 90126708ea Merge branch 'fix/fix_gdma_crc_stuck_with_large_input_v5.5' into 'release/v5.5'
fix(gdma): fix crc stuck with large input (v5.5)

See merge request espressif/esp-idf!49362
2026-06-11 14:09:46 +08:00
morris e2face00fa Merge branch 'fix/fix_parlio_valid_delay_max_value_v5.5' into 'release/v5.5'
fix(parlio): fix max valid delay value (v5.5)

See merge request espressif/esp-idf!49392
2026-06-11 14:08:53 +08:00
Mahavir Jain 8a1a4eae3a Merge branch 'fix/esp_tee_bbp_v5.5' into 'release/v5.5'
fix(esp_tee): Harden TEE secure services against REE manipulation (v5.5)

See merge request espressif/esp-idf!49370
2026-06-11 11:10:53 +05:30
Roland Dobai 102bd22bda Merge branch 'fix/cmake_api_5.5' into 'release/v5.5'
fix(tools): make script compatible with cmake v3.16

See merge request espressif/esp-idf!49062
2026-06-11 06:49:30 +02:00
Chen Jichang 090a719e89 fix(rgb_lcd): fix gdma link switch not take effect 2026-06-11 10:35:39 +08:00
JiangGuangMingandCursor be36da06b4 feat(docs): update docs for usb wakeup from light sleep example
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-11 09:24:04 +08:00
JiangGuangMingandCursor a2e5d0b23f feat(usb): add usb wakeup from light sleep example
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-11 09:24:04 +08:00
JiangGuangMingandCursor 33f65d3ff2 feat(esp_hal_usb): add usb suspend wakeup status in ll layer
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-11 09:05:40 +08:00
JiangGuangMingandCursor 3b32b1fc96 feat(sleep/usb): support usb as wakeup source from light sleep
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-11 09:05:40 +08:00
Marius Vikhammer 6124c9c153 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-11 09:02:47 +08:00
morris 702f0d8ed4 Merge branch 'bugfix/gpspi_flash_freq_calc_v5.5' into 'release/v5.5'
fix(spi_flash): gpspi flash clock could reach higher frequency (v5.5)

See merge request espressif/esp-idf!49458
2026-06-10 23:10:32 +08:00
Rahul Tank 585e4157ec Merge branch 'bugfix/bt4371_crash_v5.5' into 'release/v5.5'
fix(nimble): Deinit NimBLE stop event in host task (v5.5)

See merge request espressif/esp-idf!49298
2026-06-10 20:37:20 +05:30
Zhi Wei Jian 0564668e0d fix(bt): fix BTC task and BLE mesh bluedroid adapter
(cherry picked from commit 678fb93245)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-10 19:53:55 +08:00
Zhi Wei Jian fd0f594745 fix(ble/bluedroid): fix HCI command and BTU robustness
(cherry picked from commit c9d13aaf64)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-10 19:53:55 +08:00
Zhi Wei Jian 5dfbc11ebb fix(ble/bluedroid): fix CTE and ISO API validation
(cherry picked from commit 0c3c894b7d)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-10 19:53:54 +08:00
Zhi Wei Jian 268e85d6a9 fix(ble/bluedroid): fix GATT server lifecycle and callbacks
(cherry picked from commit 54a1e31916)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-10 19:53:54 +08:00
Zhi Wei Jian 08b948bffb fix(ble/bluedroid): fix GATT client API parameter validation
(cherry picked from commit 653477c3e9)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-10 19:53:53 +08:00
Zhi Wei Jian 2c86c41d48 fix(ble/bluedroid): fix GATT client cache and service discovery
(cherry picked from commit b3ff15ed31)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-10 19:53:53 +08:00
Zhi Wei Jian 6c6c698524 fix(ble/bluedroid): fix GAP BLE API parameter validation
(cherry picked from commit e3311c81c4)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-10 19:53:52 +08:00
Zhi Wei Jian d623f36c63 fix(ble/bluedroid): fix BLE bonding key storage validation
(cherry picked from commit 62cdd4ac38)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-10 19:53:52 +08:00
yangfeng f675732259 fix: Fix the incorrect connection of the same-name devices in the HFP example 2026-06-10 19:12:38 +08:00
Jiang Jiang Jian 26e17a1b57 Merge branch 'bugfix/scan_issue_wpa3_enterprise_v5.5' into 'release/v5.5'
fix(wifi): scan security validation and NAN timer fixes (Backport v5.5)

See merge request espressif/esp-idf!49275
2026-06-10 15:38:50 +08:00
Zhang Hai Peng a1d964122e fix(bt): Suppress gattc drop-notif warning for unregistered gatt_if
GATT stack broadcasts notifications to every client app, so unregistered
gatt_if instances were flooding logs even when another app had registered
the handle. Only warn when no client app registered for the handle.


(cherry picked from commit c18c8dc5e7)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-10 15:24:39 +08:00
gaoxu f511ee6e53 fix(adc): fix ADC monitor channel 8/9 error
(Closes https://github.com/espressif/esp-idf/issues/17768)
2026-06-10 15:10:23 +08:00
Alexey Lapshin 1e0fcf4e6e fix(tools): make script compatible with cmake v3.16 2026-06-10 13:09:39 +08:00
Aditya Patwardhan 66156479d2 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-10 08:08:07 +05:30
Marius Vikhammer b4dd39ea35 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-10 10:34:09 +08:00
morris 0b816722db Merge branch 'fix/spi_buslock_multi_dev_acq_release_issue_v5.5' into 'release/v5.5'
fix(esp_hw_support): fixed spi buslock multi dev acq/release logic issue (v5.5)

See merge request espressif/esp-idf!49171
2026-06-10 10:13:03 +08:00
Song Ruo Jing cec524c576 fix(spi_flash): gpspi flash clock could reach higher frequency 2026-06-09 22:08:32 +08:00
harshal.patil 673c861ac2 fix(soc): Remove non-existent crypto registers (ESP32-C61) 2026-06-09 18:18:13 +05:30
sibeibei 36fe75c6e3 fix(phy): fix wifi tx failed when sta wake from deepsleep 2026-06-09 19:22:38 +08:00
Rahul Tank 4b291b85b5 fix(nimble): Deinit NimBLE stop event in host task 2026-06-09 16:33:18 +05:30
Laukik Hase b471faf803 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-09 16:20:38 +05:30
yanzihan@espressif.com 395d3fd186 feat(pvt): fix monitor en rst error in pvt func on v5.5 2026-06-09 16:07:17 +08:00
Sarvesh Bodakhe bc4db4f2a3 fix(wifi): scan security validation and NAN timer fixes
- Forbid TKIP cipher suites for WPA3-Enterprise scan results
- Use reason 210 (NO_AP_FOUND_W_COMPATIBLE_SECURITY) when an AP is
  found during a connecting scan but filtered out for incompatible
  security
- Stop NAN timers from re-arming after esp_wifi_stop
2026-06-09 11:52:04 +05:30