Commit Graph

53201 Commits

Author SHA1 Message Date
nilesh.kale
7bcdd2d7d5 fix: handle return code 304 during HTTP HEAD request in partial OTA 2026-06-16 14:00:56 +05:30
Island
9238e401ed Merge branch 'feat/format_bt_hci_to_btsnoop' into 'master'
refactor(bt): migrate bt_hci_to_btsnoop to esp-pylib

Closes IDF-15327

See merge request espressif/esp-idf!49702
2026-06-16 15:24:41 +08:00
Island
57b3b1777a Merge branch 'feat/ble-smp-multi-adv-static-random-address' into 'master'
feat(ble/bluedroid): Add BLE SMP support for multi-ADV with static random addresses

Closes BLERP-2698

See merge request espressif/esp-idf!49011
2026-06-16 15:24:26 +08:00
Fu Hanxi
8aa97fbb52 Merge branch 'ci/git_fetch_submodule_for_pre_commit' into 'master'
ci: update pre-commit to use new docker image

See merge request espressif/esp-idf!49023
2026-06-16 09:18:34 +02:00
Song Ruo Jing
a66f9463c1 Merge branch 'feature/dma2d_ppa_sleep_retention_support' into 'master'
feat(ppa): add sleep retention support for DMA2D and PPA

Closes IDF-9961, IDF-9930, IDF-14764, and IDF-14770

See merge request espressif/esp-idf!45587
2026-06-16 14:56:19 +08:00
zhanghaipeng
3a7896f2c5 refactor(bt): migrate bt_hci_to_btsnoop to esp-pylib
Replace argparse with rich-click and use esp_pylib.logger for
standardized console output and fatal error handling.
2026-06-16 14:43:06 +08:00
Marius Vikhammer
e97b5c277c Merge branch 'fix/h4-esp-timer-latency' into 'master'
test(esp_timer): increase H4 callback latency limit

Closes IDFCI-11536, IDFCI-11566, IDFCI-12319, and IDFCI-12320

See merge request espressif/esp-idf!49683
2026-06-16 14:39:13 +08:00
Mahavir Jain
09d2eacbef Merge branch 'fix/align_sw_psa_drivers_and_hw_esp_psa_drivers' into 'master'
Align s/w and h/w PSA drivers

See merge request espressif/esp-idf!48730
2026-06-16 10:38:31 +05:30
Chen Yudong
d39ba32acb ci: update pre-commit to use new docker image 2026-06-16 12:51:24 +08:00
Wu Zheng Hui
ce9bbe5dc9 Merge branch 'fix/malloc_pm_lock_in_internal_mem' into 'master'
fix(esp_pm): malloc pm_lock in internal mem

Closes WIFIBUG-1874

See merge request espressif/esp-idf!49634
2026-06-16 11:51:15 +08:00
Wu Zheng Hui
dc17476c0a Merge branch 'fix/move_system_retention_to_esp_hw_support' into 'master'
refactor(esp_hw_support): move system_periph_retention from soc to esp_hw_support

See merge request espressif/esp-idf!49661
2026-06-16 11:20:12 +08:00
Marius Vikhammer
314b948aaa test(esp_timer): increased test latency requirement for H4 2026-06-16 11:15:09 +08:00
Konstantin Kondrashov
ec956162ab Merge branch 'fix/idfgh-17712-bootloader-extra-components' into 'master'
fix(bootloader): discover BOOTLOADER_EXTRA_COMPONENT_DIRS in cmake v1

Closes IDFGH-17712

See merge request espressif/esp-idf!49243
2026-06-15 15:27:18 +03:00
Konstantin Kondrashov
8e8ebae7bd Merge branch 'contrib/github_pr_18664' into 'master'
ulp_riscv: prioritize error bits over data flags in I2C interrupt wait (GitHub PR)

Closes IDFGH-17733 and IDFGH-17676

See merge request espressif/esp-idf!49049
2026-06-15 15:03:47 +03:00
Ashish Sharma
e6f5f5ff63 fix(mbedtls/port): add additional hardening for PSA drivers 2026-06-15 16:10:09 +05:30
harshal.patil
9172417c13 fix(mbedtls/port): align ESP PSA hardware drivers with software references
Audited every esp_* PSA driver against its corresponding software driver in
mbedtls/library (psa_crypto_cipher.c, psa_crypto_aead.c, psa_crypto_mac.c,
psa_crypto_hash.c, psa_crypto_ecp.c, psa_crypto_rsa.c) and fixed gaps in
workflow ownership, error-path cleanup, sensitive-data wiping, and BAD_STATE
gating per the PSA Crypto API spec.

esp_aes (cipher): fix padding oracle in cipher_finish by replacing leaky
branches with mbedtls_ct_* primitives; abort wipes the driver-level ctx,
not just the inner mbedtls_aes_context; setup routes errors through abort.

esp_aes_gcm (AEAD): zeroize the 16-byte full_tag scratch; restore the
*output_length = finish_output_size assignment that the SW reference keeps
for future ciphers; NULL the inner ctx pointer after free in abort; gate
update/finish on a live ctx with PSA_ERROR_BAD_STATE.

esp_ecdsa: keep abort-at-exit in the one-shot wrappers so the stack-copy
of the hash (needed for little-endian byte order on HW) is wiped per
PSA spec 6.3.3, drop the over-defensive public-key qx/qy wipes that the
SW driver does not perform.

esp_cmac / esp_hmac_transparent / esp_hmac_opaque (MAC): make abort
idempotent, route setup errors through abort, gate update/finish/
verify_finish on PSA_ERROR_BAD_STATE, wipe M_last and intermediate hmac[]
buffers on completion or HW failure. HMAC opaque gains alg + computed
fields to mirror the SW psa_crypto_mac.c state machine. HMAC transparent
explicitly aborts the inner SHA context before reusing it for the outer
hash.

esp_sha: switch the per-op live indicator to (sha_ctx != NULL) so the
public esp_sha_operation_type_t enum keeps its original ordinal values;
free + NULL sha_ctx on every error path; gate update/finish/clone on a
live ctx; wipe per-algorithm core/parallel-engine scratch buffers
(W[], A[], state) on HW-engine failure.

esp_md5: replace bare memset in abort with mbedtls_platform_zeroize.

esp_rsa_ds: complete() no longer frees sig_buffer (abort owns that);
start() routes failures through abort; asymmetric_decrypt funnels all
cleanup through a single exit: label. RSA-DS utilities wipe the
decrypted-plaintext scratch on v15 / OAEP unpad failure.
2026-06-15 16:10:09 +05:30
David Čermák
a396ab922f Merge branch 'fix/netif_pbuf_after_del' into 'master'
esp_netif: retain pbuf RX free callback

Closes IDFGH-17719

See merge request espressif/esp-idf!49289
2026-06-15 17:49:59 +08:00
Fu Hanxi
326bb48281 Merge branch 'fix/pytest_marker' into 'master'
ci: fix pytest markers

See merge request espressif/esp-idf!49647
2026-06-15 11:17:32 +02:00
wuzhenghui
f2d3448fa2 refactor(esp_hw_support): move system_periph_retention from soc to esp_hw_support 2026-06-15 17:09:58 +08:00
Song Ruo Jing
14d8570163 feat(ppa): add sleep retention support for DMA2D and PPA 2026-06-15 15:45:07 +08:00
morris
67fdf46105 Merge branch 'ci/i2s_reopen_test_h4' into 'master'
ci(i2s): remove distable tags of h4&s31 for I2S tests

Closes IDF-15609

See merge request espressif/esp-idf!49619
2026-06-15 15:19:06 +08:00
Mahavir Jain
ba94421767 Merge branch 'fix/bootloader_esp_crypto_clk_iram_placement' into 'master'
fix(bootloader): place esp_crypto_clk in loader IRAM section

See merge request espressif/esp-idf!49650
2026-06-15 12:49:03 +05:30
Abanoub Salah
8e53a4a5df fix(ulp_riscv): Prioritize error bits over data flags in I2C interrupt wait 2026-06-15 10:13:18 +03:00
Konstantin Kondrashov
dcd9dbc0dc fix(bootloader): handle extra component dirs in v1 subproject
Closes https://github.com/espressif/esp-idf/issues/18651
2026-06-15 10:13:09 +03:00
Dhimas Ardinata
4179c6b72f esp_netif: retain pbuf RX free callback
Store the driver RX-buffer free callback and driver handle inside each custom
pbuf at allocation time. This keeps delayed pbuf_free() independent from
later esp_netif driver config teardown.

Add an esp_netif regression test that clears the driver config before freeing a custom pbuf.
2026-06-15 08:42:31 +02:00
zhanghaipeng
7986e2faa8 feat(ble/bluedroid): Add BLE SMP support for multi-ADV with static random addresses 2026-06-15 14:41:51 +08:00
Mahavir Jain
efb28b55ca fix(bootloader): place esp_crypto_clk in loader IRAM section
Commit 69d548c8 ("feat(esp_security): suppoer s31 security clock
management") introduced a new esp_crypto_clk source file in esp_security
but did not add it to the bootloader loader IRAM input sections. As a
result the crypto clock code was not placed in the loader IRAM region,
causing a regression on targets that use it during bootloader load.

Add *libesp_security.a:esp_crypto_clk.* to the bootloader sections
linker fragments for all targets that carry the esp_security.a
dependency (esp32c5, esp32p4, esp32s31), placed alongside
esp_crypto_periph_clk.
2026-06-15 11:36:30 +05:30
Chen Yudong
d7204b89eb ci: fix pytest markers 2026-06-15 12:00:41 +08:00
wuzhenghui
85c42f8e11 fix(esp_pm): malloc pm_lock in internal mem 2026-06-15 11:55:55 +08:00
Chen Yudong
df045c2ef6 ci: fix pytest markers 2026-06-15 11:34:48 +08:00
Chen Chen
3792df528e ci(i2s): remove distable tags of h4&s31 for I2S tests 2026-06-15 10:14:31 +08:00
Adam Múdry
8f00dfc74b Merge branch 'fix/vfs_fatfs_unregister_path_possible_leak' into 'master'
Fix esp_vfs_fat_unregister_path possible leak, incorrect check in esp_vfs_register_fs_common and optimize memory usage

Closes IDF-15793

See merge request espressif/esp-idf!49596
2026-06-13 02:09:10 +02:00
Mahavir Jain
fa918d7261 Merge branch 'fix/secure_boot_bootloader_ecdsa_range_gate' into 'master'
Add ECDSA signature bounds check in bootloader before Secure Boot verify

See merge request espressif/esp-idf!49555
2026-06-12 19:05:48 +05:30
Wang Meng Yang
8160f8d5f5 Merge branch 'bugfix/bbp_481' into 'master'
fix(bt/bluedroid): added buffer length check for OBEX APIs

Closes BT-4367

See merge request espressif/esp-idf!49437
2026-06-12 18:30:32 +08:00
Roland Dobai
a5fd4e1e07 Merge branch 'fix/update-configdep' into 'master'
fix: update version of esp-idf-configdep in tools.json

See merge request espressif/esp-idf!49582
2026-06-12 12:12:23 +02:00
Wang Meng Yang
d6b312fd43 Merge branch 'bugfix/bbp_480' into 'master'
fix(bt/bluedroid): added buffer length check for HID Device data indication

Closes BT-4369

See merge request espressif/esp-idf!49436
2026-06-12 18:06:49 +08:00
Wan Lei
a149955f3f Merge branch 'fix/fix_fd_slow_bitrate_sample_error' into 'master'
fix(driver_twai): fixed twaifd slow bitrate trans faile on correct bitrate

See merge request espressif/esp-idf!49595
2026-06-12 17:47:29 +08:00
morris
03617f16aa Merge branch 'change/update_c61_gdma_header' into 'master'
change(ahb_dma): update c61 eco3 header files

See merge request espressif/esp-idf!49573
2026-06-12 17:21:46 +08:00
harshal.patil
f68bc1ba9f fix(secure_boot): range-check ECDSA r,s in bootloader before ROM verify 2026-06-12 14:38:47 +05:30
David Čermák
a981af40ca Merge branch 'feat/netif_reset_default' into 'master'
feat(esp_netif): Support auto-selection of default netif

Closes IDFGH-17595 and IDFGH-17596

See merge request espressif/esp-idf!49247
2026-06-12 15:45:44 +08:00
C.S.M
a449f91b53 Merge branch 'fix/regi2c_phy_test' into 'master'
fix(regi2c): Fix regi2c for phy testing

Closes PHY-452

See merge request espressif/esp-idf!49601
2026-06-12 14:35:02 +08:00
morris
21d19b946c Merge branch 'fix/s31_touch_deep_sleep' into 'master'
fix(touch): enable touch deep sleep on esp32-s31

Closes IDF-15772

See merge request espressif/esp-idf!49420
2026-06-12 14:26:36 +08:00
Hu Rui
94627542f9 fix(touch): enable touch deep sleep on esp32-s31 2026-06-12 14:13:56 +08:00
Konstantin Kondrashov
54b649a0c9 Merge branch 'feature/linux_esp_time_new' into 'master'
feat(esp_timer): Adds support Linux target

Closes IDF-5723

See merge request espressif/esp-idf!49358
2026-06-12 09:05:22 +03:00
Jiang Jiang Jian
4585adaa1a Merge branch 'chip/add_wifi_support_for_esp32s31_ftm' into 'master'
feat/add wifi support for esp32s31 ftm

See merge request espressif/esp-idf!48457
2026-06-12 13:52:24 +08:00
Jin Cheng
6979093544 fix(bt/bluedroid): added buffer length check for HID Device data indication 2026-06-12 12:18:02 +08:00
Zhang Shu Xian
c9e7f70d3f Merge branch 'docs/update_translation_for_host_apps' into 'master'
docs: Update CN translation for host-apps.rst

Closes DOC-14847

See merge request espressif/esp-idf!49566
2026-06-12 11:56:16 +08:00
Island
033b46ea2c Merge branch 'change/ble_update_lib_20260610' into 'master'
change(ble): [AUTO_MR] 20260610 - Update ESP BLE Controller Lib

Closes BLERP-2881

See merge request espressif/esp-idf!49522
2026-06-12 11:55:47 +08:00
Marius Vikhammer
e78da74582 Merge branch 'feature/esp_sys_event_restart_panic' into 'master'
refactor(esp_system): route panic through esp_sys_event

See merge request espressif/esp-idf!48407
2026-06-12 11:53:47 +08:00
C.S.M
4746f05999 fix(regi2c): Fix regi2c for phy testing 2026-06-12 11:20:52 +08:00