Commit Graph

36997 Commits

Author SHA1 Message Date
wuzhenghui
bbfde331f1 fix(esp_hw_support): fix s31 sleep CPU retention state atomic declaration 2026-06-18 09:41:41 +08:00
wuzhenghui
0c7caf79b5 feat(esp_hw_support): implement software CPU retention synchronization for SMP sleep modes 2026-06-18 09:41:41 +08:00
wuzhenghui
d4e3109c1b feat(esp_hw_support): claim thread-safe in sleep process to avoid deadlock and fastup process 2026-06-18 09:41:41 +08:00
wuzhenghui
90f6eeb327 feat(freertos): introduce thread-safe context management functions 2026-06-18 09:41:39 +08:00
Alexey Lapshin
e389f3e4df Merge branch 'feature/upgrade_toolchain_to_16.1.0_20260609' into 'master'
Upgrade GNU toolchain to 16.1.0_20260609

See merge request espressif/esp-idf!49523
2026-06-18 00:55:07 +04:00
Jiang Jiang Jian
a602e67b0b Merge branch 'feat/update_s31_wifi_lower_power' into 'master'
feat: update_s31_wifi_low_power

See merge request espressif/esp-idf!49753
2026-06-17 20:06:56 +08:00
Jiang Jiang Jian
41a7095015 Merge branch 'feat/support_usb_wakeup_from_light_sleep' into 'master'
feat: support usb wakeup from light sleep

Closes IDF-7212

See merge request espressif/esp-idf!48988
2026-06-17 19:50:11 +08:00
Alexey Lapshin
7d8c01b879 Revert "feat(esp_libc): picolibc: add fopencookie implementation"
This reverts commit 51f1861448.
2026-06-17 17:24:25 +07:00
Alexey Lapshin
159bc4b1bc Revert "fix(esp_libc): remove --gc-sections from picolibc.specs for CMake checks"
This reverts commit 4535898de9.
2026-06-17 17:24:25 +07:00
Alexey Lapshin
72682b9f36 Revert "fix(libc): nano: add -lnosys to linking to avoid CMake configuration issues"
This reverts commit f54b5d4747.
2026-06-17 17:24:25 +07:00
Alexey Lapshin
866239bd19 Revert "fix(esp_libc): add workaround for pthread_sigmask declaration in picolibc signal.h"
This reverts commit 5d38af9c17.
2026-06-17 17:24:25 +07:00
Alexey Lapshin
b6930d1e38 Revert "fix(picolibc): add psram fix for libc functions"
This reverts commit 1684eeb60f.
2026-06-17 17:24:25 +07:00
Alexey Lapshin
056eb76645 Revert "fix(libc): picolibc: workaround wrong pthread_exit declaration for c++"
This reverts commit b42688f6c9.
2026-06-17 17:24:25 +07:00
Alexey Lapshin
66e62fc9ef Revert "fix(esp_libc): picolibc: add workaround for setvbuf on _IONBF"
This reverts commit 8b3414ba51.
2026-06-17 17:24:25 +07:00
Alexey Lapshin
e44ddc22e2 feat(libc): picolibc:remove open_memstream implementation 2026-06-17 17:24:25 +07:00
Alexey Lapshin
33f9932329 fix(libc): change object names according to the new picolibc 2026-06-17 17:24:25 +07:00
Alexey Lapshin
4328dc28e2 fix(mbedtls): increase test limits 2026-06-17 17:24:24 +07:00
Alexey Lapshin
054e36177e feat(soc): use -mtune=IDF_TARGET if supported 2026-06-17 17:24:24 +07:00
sibeibei
3c98f90da9 update(pmu_param): update mdoem icg func clk
Due to c-channel design, ETM and BUS must be set to 1
2026-06-17 17:25:04 +08:00
sibeibei
9fd50d50ce update(pm_sleep): update modem_wait_target_cycle for s31 2026-06-17 17:19:53 +08:00
Fu Hanxi
5317ffce4e Merge branch 'ci/twai-runner-migration' into 'master'
ci: twai runner setup

See merge request espressif/esp-idf!49651
2026-06-17 10:11:57 +02:00
Island
1b9a1a4f50 Merge branch 'idf/ble_audio_mcc_fixes' into 'master'
fix(ble_audio): Fix mcc read may enter BUSY state while multiple notifications are received

See merge request espressif/esp-idf!49543
2026-06-17 14:40:52 +08:00
Alexey Lapshin
b3c222724c Merge branch 'feat/enable_zcmp_for_c5_c61' into 'master'
feat(soc): esp32c5, esp32c61: enable zc extensions

See merge request espressif/esp-idf!49218
2026-06-17 10:13:30 +04:00
igor.udot
d3cbee3d65 ci: twai runner setup 2026-06-17 13:45:20 +08:00
Liu Linyan
40efed2a7b fix(ble_audio): Fix mcc read may enter BUSY state while multiple notifications are received 2026-06-17 09:51:19 +08:00
Wan Lei
28044f8fdb Merge branch 'feat/twaifd_support_tx_priority_time_trigger' into 'master'
feat(driver_twai): fd hardware support tx priority

Closes IDF-13157

See merge request espressif/esp-idf!48595
2026-06-16 19:45:04 +08:00
Sudeep Mohanty
0956aedb19 Merge branch 'task/buildv2_shim_and_ci' into 'master'
feat(cmakev2): IDF_BUILD_V2 shim + v1-compat layer + buildv2 CI

See merge request espressif/esp-idf!48745
2026-06-16 11:53:46 +02:00
Aditya Patwardhan
53436ae951 Merge branch 'fix/handle_return_code_304_during_ota_head_request' into 'master'
fix: handle return code 304 during HTTP HEAD request in partial OTA

Closes FCS-1893

See merge request espressif/esp-idf!49118
2026-06-16 15:16:57 +05:30
morris
c2899619af Merge branch 'feat/async_color_converter' into 'master'
feat(esp_driver_dma): add async color convert driver

Closes IDF-15688

See merge request espressif/esp-idf!48938
2026-06-16 17:39:10 +08:00
Wang Meng Yang
bfb7c81fc1 Merge branch 'bugfix/esp32_ctrl_issues' into 'master'
fix(bt/controller): fixed several BR/EDR controller bugs found by WVT regression tests on ESP32

See merge request espressif/esp-idf!49621
2026-06-16 16:47:28 +08:00
nilesh.kale
7bcdd2d7d5 fix: handle return code 304 during HTTP HEAD request in partial OTA 2026-06-16 14:00:56 +05:30
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
morris
7cbe3c6e0f feat(mipi_dsi): replace the fbcopy driver by the async color conver driver 2026-06-16 15:01:23 +08:00
morris
dcd7f1deba feat(dma2d): added async color convert driver 2026-06-16 15:01:23 +08: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
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
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
Sudeep Mohanty
832ad05a46 ci(bootloader): silence expected SECURE_BOOT_SIGNING_KEY CMake warning
Reference SECURE_BOOT_SIGNING_KEY in the bootloader subproject so CMake
does not warn about a manually-specified-but-unused variable when the
sign-key consumers are in config-gated blocks. Ports the same fix the
v1 subproject CMakeLists already has at line 119-120.
2026-06-15 14:58:46 +02:00
Sudeep Mohanty
1023873fb2 fix(test_apps/rtc_custom_section): declare bootloader_support as a private requirement of main 2026-06-15 14:58:46 +02:00
wanckl
e781366a94 feat(driver_twai): add prioritized TX queue support 2026-06-15 20:39:10 +08:00
wanckl
a8980b833a feat(driver_twai): support using all 4 hardware tx buffer 2026-06-15 20:38:55 +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
Alexey Lapshin
406bd2393e fix(ci): suppress GNU static analyzer warnings 2026-06-15 18:53:21 +07: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