Commit Graph

29997 Commits

Author SHA1 Message Date
Jin Cheng b1ea7f7ae6 fix(bt/controller): update libbtdm_app.a
- fixed errors in the coexistance of ACL and SCO
- fixed dynamic priority config error in dual mode
2025-04-18 07:43:24 +08:00
Kapil Gupta b33394907b Merge branch 'bugfix/ssc_compilation_wps' into 'master'
bugfix(wpa_supplicant): Fix build errors when Supplicant logs are enabled

Closes WIFIBUG-1141

See merge request espressif/esp-idf!38481
2025-04-18 07:14:41 +08:00
Jiang Jiang Jian 55712011f1 Merge branch 'bugfix/pmkid_password_mismatch_regression' into 'master'
fix(wifi): Avoid writing to NVS if station configuration is not changed (Regression)

See merge request espressif/esp-idf!38463
2025-04-17 21:26:53 +08:00
Mahavir Jain e37c47f6e7 Merge branch 'bugfix/crypto_reset_on_exit' into 'master'
fix(esp_system): reset crypto peripherals before device restart

See merge request espressif/esp-idf!38399
2025-04-17 21:24:25 +08:00
Laukik Hase cb4c738193 Merge branch 'refactor/esp_tee_ss_layer_in_flash' into 'master'
refactor(esp_tee): Place the secure services `_ss_` layer in the flash by default

See merge request espressif/esp-idf!38336
2025-04-17 19:58:47 +08:00
Wan Lei 3d83751dcc Merge branch 'feat/c5_eco_spi_and_twai_support' into 'master'
feat(driver_spi): c5 eco2 spi and twai support

Closes IDF-12636, IDF-12640, IDF-8699, IDF-10401, IDF-11269, IDF-12833, and IDF-12834

See merge request espressif/esp-idf!38380
2025-04-17 19:23:59 +08:00
akshat 30c91a4898 bugfix(wpa_supplicant): Fix build errors when Supplicant logs are enabled 2025-04-17 16:49:35 +05:30
Shu Chen 3c60a009f4 Merge branch 'fix/calibrate_csl_rx' into 'master'
fix(openthread): calibrate CSL parameters

See merge request espressif/esp-idf!38471
2025-04-17 18:41:06 +08:00
Sudeep Mohanty 6a740a9461 Merge branch 'fix/freertos_tickless_idle_tick_jump' into 'master'
fix(freertos): Fixed tickless idle tick count accounting

Closes IDFGH-14933

See merge request espressif/esp-idf!38068
2025-04-17 15:03:48 +08:00
Tan Yan Quan 995858c5b8 fix(openthread): check state for ot wake 2025-04-17 14:33:24 +08:00
Gao Xu 93455705ac Merge branch 'feat/update_h21_i2c_reg' into 'master'
feat(i2c): update i2c reg and struct on h21

See merge request espressif/esp-idf!38416
2025-04-17 14:19:34 +08:00
Laukik Hase a0031cff9f refactor(esp_tee): Remove the redudant eFuse-related service calls 2025-04-17 11:04:29 +05:30
Laukik Hase 832124f198 fix(esp_tee): Place APM HAL in TEE IRAM when SPI1 protection is enabled
- Place the APM HAL into TEE IRAM when `CONFIG_SECURE_TEE_EXT_FLASH_MEMPROT_SPI1`
  is enabled, as APM violations related to SPI1 can occur with the flash cache disabled.
- Also fix an issue where flash protection tests were passing due to incorrect checks
2025-04-17 11:03:50 +05:30
Laukik Hase a845be0149 refactor(esp_tee): Reduce the default TEE DRAM size
- Decreased from 32KB to 24KB, keeping in mind the current maximum TEE heap
  usage and some overhead
- Make the TEE panic handler logs concise, saving some DRAM
2025-04-17 11:03:17 +05:30
Laukik Hase 8e27be344b refactor(esp_tee): Place the secure services _ss_ layer in the flash by default 2025-04-17 11:03:16 +05:30
Laukik Hase ecc547f4b0 Merge branch 'feat/esp_tee_hmac_ds_prot' into 'master'
feat(esp_tee): Protect the HMAC, DS and ECC peripherals from REE access

See merge request espressif/esp-idf!38285
2025-04-17 13:20:54 +08:00
Chen Ji Chang 8a9d659882 Merge branch 'feat/support_gdma_on_h4' into 'master'
feat(gdma): support gdma on esp32h4

Closes IDF-12382

See merge request espressif/esp-idf!38340
2025-04-17 11:34:56 +08:00
Island 57fd051374 Merge branch 'change/ble_update_lib_20250414' into 'master'
change(ble): [AUTO_MR] 20250414 - Update ESP BLE Controller Lib

Closes BLERP-1742, BLERP-1743, BLERP-1744, BLERP-1745, BLERP-1746, BLERP-1748, BLERP-1750, BLERP-1751, BLERP-1752, BLERP-1736, BLERP-1730, BLERP-1725, BLERP-1738, and BLERP-1706

See merge request espressif/esp-idf!38386
2025-04-17 10:39:23 +08:00
Adam Múdry 93ff1aec46 Merge branch 'feat/remove_const_from_voltopart' into 'master'
feat(fatfs/diskio): Remove const from PARTITION VolToPart

Closes IDFGH-13211

See merge request espressif/esp-idf!38150
2025-04-16 23:46:19 +08:00
Konstantin Kondrashov 784d80b43c Merge branch 'feature/add_core_num_def_for_linux' into 'master'
feat(soc): Adds core_num definition for Linux target

Closes IDFGH-15076

See merge request espressif/esp-idf!38430
2025-04-16 22:48:13 +08:00
Sarvesh Bodakhe abd18025b2 fix(wifi): Avoid writing to NVS if station configuration is not changed
Fixes the regression introduced by 3d5bf355c3
2025-04-16 19:34:36 +05:30
Laukik Hase 4a4d63d36e feat(esp_tee): Protect the ECC peripheral from REE access 2025-04-16 19:19:04 +05:30
Laukik Hase fc4802c0d6 feat(esp_tee): Protect the HMAC and DS peripherals from REE access 2025-04-16 19:19:04 +05:30
Laukik Hase d7d78f6238 fix(esp_tee): Correct the input validation checks for secure services 2025-04-16 19:19:04 +05:30
Laukik Hase 1c4969bc47 feat(esp_security): Add a TEE-specific crypto lock layer with stub implementations 2025-04-16 19:19:03 +05:30
wanckl 6bfdc0ce63 feat(driver_twai): c5 eco2 support clock source pll80m to output 8m twai 2025-04-16 21:24:47 +08:00
wanckl fb2f5cc1da feat(driver_spi): c5 eco2 support master rx timing sample phase 2025-04-16 21:24:38 +08:00
Kevin (Lao Kaiyao) 16d79103aa Merge branch 'feature/support_c5_eco2_rom' into 'master'
feat(rom): update rom for c5 eco2

See merge request espressif/esp-idf!38297
2025-04-16 20:36:07 +08:00
Wang Tao d930a386da Merge branch 'fix/fix_wifi_connect_mem_leakage' into 'master'
fix(wifi): fix wifi connect mem leakage

Closes WIFIBUG-1131, WIFIBUG-1129, WIFIBUG-1135, and WIFIBUG-1136

See merge request espressif/esp-idf!38341
2025-04-16 20:07:34 +08:00
Tan Yan Quan 3f5a6e9826 fix(openthread): relax CSL accuracy default value 2025-04-16 19:07:09 +08:00
Mahavir Jain c8f790078b Merge branch 'feature/enable_ecdsa_support_for_esp32h21' into 'master'
feat: add ECDSA support for esp32h21

Closes IDF-11496

See merge request espressif/esp-idf!36591
2025-04-16 17:58:52 +08:00
wangtao@espressif.com a797244ebb fix(wifi): fix wifi connect mem leakage 2025-04-16 17:13:18 +08:00
morris 4a5d75ac85 Merge branch 'refactor/gdma_set_iram_safe_in_runtime' into 'master'
refactor(gdma): use run-time iram-safe config

Closes IDFGH-15089

See merge request espressif/esp-idf!37835
2025-04-16 16:31:56 +08:00
Michael (XIAO Xufeng) e65efb9156 Merge branch 'test/enable_xip_mmap_cases' into 'master'
fix(mmap): fixed cache2phys and phy2cache not patched when XIP on PSRAM

Closes IDF-10983

See merge request espressif/esp-idf!33629
2025-04-16 15:30:23 +08:00
Zhou Xiao ece108c0bf fix(ble): remove null pointer assert in npl event deinit 2025-04-16 14:36:48 +08:00
Zhou Xiao 7c3b9fa56f change(ble): bugs fixed on spi ble log
* removed spi master in iram select for flash only firmware
* fixed memory issue in transaction init function
* fixed memory issue in transaction deinit function
2025-04-16 14:36:48 +08:00
cjin a5c32a5fb7 feat(ble): support configurable rxbuf opt feat on ESP32-C5 2025-04-16 14:36:48 +08:00
cjin 5fbbec8655 feat(ble): support configurable rxbuf opt feat on ESP32-C6 2025-04-16 14:36:48 +08:00
cjin 4937d3c883 feat(ble): support configurable rxbuf opt feat on ESP32-H2 2025-04-16 14:36:48 +08:00
cjin ce4e012c8b feat(ble): use new section for ble sleep on ESP32-C2 2025-04-16 14:36:43 +08:00
laokaiyao 9a88effab8 ci: disabled RF soc caps for c5 eco2
Disable the RF soc caps to bypass the build of un-supported RF examples
2025-04-16 11:01:39 +08:00
laokaiyao 0abc755342 feat(rom): update rom for c5 eco2
Breaking: Starting from this commit, ESP-IDF can only support ESP32-C5 v1.0 (ECO2)
2025-04-16 11:01:36 +08:00
Jiang Jiang Jian b737136d83 Merge branch 'bugfix/dpp_optimizations' into 'master'
WiFi: DPP code optimizations

Closes IDFGH-9228

See merge request espressif/esp-idf!34014
2025-04-16 10:20:30 +08:00
Jiang Jiang Jian 323119a0b6 Merge branch 'feature/improve_ps_compatibility_master_2025' into 'master'
feat(wifi): improve ps compatibility

Closes WIFI-6757, WIFI-6304, and AUD-4813

See merge request espressif/esp-idf!35960
2025-04-16 02:58:40 +08:00
Konstantin Kondrashov d889031504 feat(soc): Adds core_num definition for Linux target
Closes https://github.com/espressif/esp-idf/issues/15758
2025-04-15 18:54:33 +03:00
Mahavir Jain 13515d729e Merge branch 'feat/ensure_not_all_of_the_security_versions_are_disabled' into 'master'
feat(wifi_prov): Ensure not all security versions are disabled at same time

Closes IDF-12794

See merge request espressif/esp-idf!38029

Related https://github.com/espressif/esp-idf/issues/15549
2025-04-15 21:41:26 +08:00
Mahavir Jain 55a2ad3df3 fix(esp_system): reset crypto peripherals before device restart
This change addresses a rare but critical issue observed on certain
ESP32-C3 and ESP32-S3 devices, where secure boot verification
intermittently fails due to improper cleanup of crypto peripherals
during a restart.

Background – Restart Behavior in IDF
------------------------------------
In ESP-IDF, when the device restarts (via `esp_restart()` or due to a
panic/exception), a partial peripheral reset is performed followed by a
CPU reset. However, until now, crypto-related peripherals were not
included in this selective reset sequence.

Problem Scenario
----------------
If a restart occurs while the application is in the middle of a bignum
operation (i.e., using the MPI/Bignum peripheral), the ROM code may
encounter an inconsistent peripheral state during the subsequent boot.
This leads to transient RSA-PSS secure boot verification failures.

Following such a failure, the ROM typically triggers a full-chip reset
via the watchdog timer (WDT). This full reset clears the crypto
peripheral state, allowing secure boot verification to succeed on the
next boot.

Risk with Aggressive Revocation
-------------------------------
If secure boot aggressive revocation is enabled (disabled by default in
IDF), this transient verification failure could mistakenly lead to
revocation of the secure boot digest.

If your product configuration has aggressive revocation enabled,
applying this fix is strongly recommended.

Frequency of Occurrence
-----------------------
The issue is rare and only occurs in corner cases involving
simultaneous use of the MPI peripheral and an immediate CPU reset.

Fix
---
This fix ensures that all crypto peripherals are explicitly reset prior
to any software-triggered restart (including panic scenarios),
guaranteeing a clean peripheral state for the next boot and preventing
incorrect secure boot behavior.
2025-04-15 19:06:26 +05:30
Tomas Rezucha 179a468adf Merge branch 'fix/usb_host_hcd_test_pipe_stall' into 'master'
feat(usb_host): Fix HCD test HCD control pipe STALL

See merge request espressif/esp-idf!38338
2025-04-15 20:43:15 +08:00
Jiang Jiang Jian 30ba95a89b Merge branch 'feature/optimize_coex_schm_to_rodata' into 'master'
feat(coex): optimize coex schm to rodata

See merge request espressif/esp-idf!38398
2025-04-15 19:35:37 +08:00
Kapil Gupta 9c75d7961c Merge branch 'bugfix/h2e_porting_improvement' into 'master'
change(esp_wifi): Improve handling group parameter A in H2E

Closes IDFGH-14994 and IDFGH-14995
Closes https://github.com/espressif/esp-idf/issues/15691
Closes https://github.com/espressif/esp-idf/pull/15692

See merge request espressif/esp-idf!38319
2025-04-15 18:36:12 +08:00