Commit Graph
238 Commits
Author SHA1 Message Date
Jiang Jiang Jian d6d41b0215 Merge branch 'feat/support_esp32s31_icg_control_v6.1' into 'release/v6.1'
feat(esp_hw_support): support PMU clock ICG management for esp32s31 (v6.1)

See merge request espressif/esp-idf!50107
2026-07-03 21:45:42 +08:00
muhaidong d7ac95f709 fix(coex): remove unsupported external coex soc caps 2026-06-30 14:52:19 +08:00
wuzhenghui d5d3cddf23 feat(esp_hw_support): support PMU clock ICG management for esp32s31 2026-06-30 14:23:54 +08:00
wuzhenghui 3ad4cfebd6 refactor(esp_hw_support): move system_periph_retention from soc to esp_hw_support 2026-06-17 12:17:19 +08:00
Aditya Patwardhan 4f2f37ca69 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 03:10:27 +05:30
C.S.M 01a9cbe421 fix(spi_flash): Fix suspend issue on esp32s31, and add trs timing on other target 2026-06-08 14:39:47 +08:00
C.S.M 4310ae9d7b feat(spi_flash): Add entire support for h21 external flash 2026-06-04 11:25:59 +08:00
He Binglin f3ee69582e Merge branch 'change/esp_idf_h4h21_modem_clock_retention_passive' into 'master'
Change/esp idf h4h21 modem clock retention passive

Closes IDFCI-11613, IDFCI-11628, and IDFCI-11614

See merge request espressif/esp-idf!48557
2026-05-22 18:02:24 +08:00
He Binglin eec18ba80a Merge branch 'doc/esp_idf_flash_pwr_description' into 'master'
docs(pm): add flash sleep strategy recommendations

See merge request espressif/esp-idf!45689
2026-05-22 17:44:50 +08:00
hebinglin f73d67acb2 revert(esp_hw_support): add modem_lpcon retention for esp32h21 2026-05-22 15:18:24 +08:00
Konstantin Kondrashov 7dab1d313e Merge branch 'feature/efuse_esp32h21' into 'master'
feat(efuse): Update efuse table for ESP32H21

Closes IDF-11556

See merge request espressif/esp-idf!48762
2026-05-22 09:39:18 +03:00
hebinglin 23f6b5985a change(esp_hw_support): disable flash pd in h4 h21 c5 c61 2026-05-22 12:30:44 +08:00
Konstantin Kondrashov f870ed9d61 feat(efuse): Update efuse table for ESP32H21 2026-05-21 16:29:09 +03:00
Island b970c5f674 Merge branch 'ble_dev/esp32h21_chip_20260513' into 'master'
Ble dev/esp32h21 chip 20260513

Closes BLERP-2798, IDF-11626, IDF-11652, IDF-11653, IDF-11655, IDF-14811, IDF-14812, IDF-14813, IDF-14814, and IDF-14815

See merge request espressif/esp-idf!48499
2026-05-21 14:00:09 +08:00
ShenWeilong cf813a4a1e feat(ble): Added ble support for esp32h21 2026-05-20 19:24:08 +08:00
nilesh.kale 36fdf38ad4 fix: cleanup xts_aes_reg.h dependency for H21, C61 and H4 2026-05-20 09:29:20 +05:30
zhuanghang 26df946075 feat(802.15.4): supported 802.15.4 for esp32h21 2026-05-18 15:15:32 +08:00
hebinglin 1339cc41f9 change(modem): update esp32h21 modem_syscon header 2026-05-18 14:15:27 +08:00
Chen Jichang 747f1eedc8 fix(lp_ana): correct lp ana reg base addr of h4 and h21 2026-05-12 15:48:49 +08:00
wuzhenghui cbba7795be fix(soc): fix gpio output status retention for all targets 2026-05-07 12:02:05 +08:00
wuzhenghui 68bd919fda feat(esp_hw_support): support esp32s31 DFS 2026-05-07 08:39:52 +08:00
morris 47863cb651 feat(ana_cmpr): support multi-channel scan on esp32s31 2026-05-06 09:39:48 +08:00
morris a4baf29829 Merge branch 'feature/retention-driver-refactor' into 'master'
feat: move retention info from esp_hal to esp_driver

See merge request espressif/esp-idf!47828
2026-04-23 10:33:02 +08:00
morris efabe471c3 feat(parlio): move parlio retention info from esp_hal_parlio to esp_driver_parlio 2026-04-22 13:53:32 +08:00
laokaiyao 8d0fca08a0 feat(i2s): support i2s & apll on esp32s31 2026-04-22 09:30:53 +08:00
morris 754ec03795 Merge branch 'feat/support_parlio_on_h21' into 'master'
feat(parlio): support parlio on esp32h21

Closes IDF-11570, IDF-11571, and IDF-11572

See merge request espressif/esp-idf!47356
2026-04-21 11:40:57 +08:00
armando ab026ecc01 feat(mmu): configurable page size s31 support 2026-04-20 16:58:29 +08:00
Chen Jichang 06dc3fe8a8 feat(parlio): support parlio on esp32h21 2026-04-16 20:23:55 +08:00
Wan Lei 37e7f60dcf Merge branch 'feat/s31_gpspi_support' into 'master'
feat(driver_gpspi): s31 gpspi support

Closes IDF-14734, IDF-14735, IDF-14737, IDF-14738, IDF-14739, IDF-14740, and IDF-14708

See merge request espressif/esp-idf!45784
2026-04-10 17:04:32 +08:00
Song Ruo Jing 366b1e6015 Merge branch 'contrib/github_pr_18440' into 'master'
Fixed typo of word switch (was spelled swtich) in pmu_struct.h (GitHub PR)

Closes IDFGH-17500

See merge request espressif/esp-idf!47407
2026-04-10 15:57:34 +08:00
wanckl 64704886b7 refactor(driver_spi): remove some SPI_LL_xxx SOC_xxx macros 2026-04-10 13:59:20 +08:00
frogman85978 a41681eba2 Fixed typo in pmu_struct
Fixed a typo in the word switch (swtich) in multiple pmu_struct.h
files

The pmu_struct.h files are for the following chips:
- esp32c5
- esp32c6
- esp32c61
- esp32h21
2026-04-08 20:58:17 -04:00
morris e69f2c8346 refactor(gpio): derive SDM registers from GPIO_EXT
Use GPIO_EXT.sigma_delta as the SDM register base on GPIO_EXT-based targets and remove standalone SDM symbols to eliminate manual offset/address maintenance risks.
2026-04-08 15:07:27 +08:00
morris 572e732aca refactor(gpio): derive ETM registers from GPIO_EXT
Use GPIO_EXT.etm as the ETM register base and remove standalone GPIO_ETM symbols to avoid manual offset address maintenance errors across targets.
2026-04-08 15:07:27 +08:00
morris b79cf6d8eb feat(gpio): support glitch filter on esp32s31 2026-04-08 15:07:27 +08:00
morris 43bc8c2fe5 feat(etm): add ETM LL and GPIO ETM support on esp32s31
Enable ETM caps and add S31 ETM/GPIO LL and retention support for
GPTimer ETM builds.
2026-04-07 14:47:36 +08:00
Song Ruo Jing 50051b74a5 feat(clk): support for esp32s31 clock tree 2026-04-02 20:39:59 +08:00
Song Ruo Jing 88b62b19fd refactor(ledc): refactored some LEDC LL functions 2026-04-01 21:34:52 +08:00
C.S.M 0fd6351bcf fix(bod): Fix bod build failed on esp32h21 2026-03-30 11:28:15 +08:00
C.S.M edc387e571 Merge branch 'feat/bod_bringup_h21' into 'master'
feat(bod): Add support for bod on esp32h21

Closes IDF-11530

See merge request espressif/esp-idf!46812
2026-03-30 10:59:33 +08:00
Song Ruo Jing 7b1d576416 Merge branch 'feature/esp32s31_regi2c_support' into 'master'
feat(regi2c): add support for ESP32S31

Closes IDF-14680

See merge request espressif/esp-idf!46469
2026-03-26 17:31:13 +08:00
C.S.M 48410f23f1 Merge branch 'feat/uhci_esp32h21' into 'master'
feat(uhci): Add support for uhci on esp32h21

Closes IDF-11619

See merge request espressif/esp-idf!46794
2026-03-25 20:02:40 +08:00
C.S.M f491e94863 feat(bod): Add support for bod on esp32h21 2026-03-25 19:38:20 +08:00
Song Ruo Jing 7cbafcf1c6 feat(regi2c): add support for ESP32S31 2026-03-25 16:17:12 +08:00
hebinglin bcb6fab9af change(esp_hw_support): add modem_lpcon retention for esp32h21 2026-03-25 15:40:07 +08:00
gaoxu 609a867a91 feat(pmu): h21 eco1 pmu and clk files update 2026-03-25 15:38:49 +08:00
C.S.M ba8b4cfd9e feat(uhci): Add support for uhci on esp32h21 2026-03-24 19:00:10 +08:00
Meet Patel c4e2fe2c8b refactor(system): guard WDT with SoC capability macros
Wrap MWDT-related code under SOC_WDT_SUPPORTED so targets without a main
watchdog can compile.

Add SOC_RTC_WDT_SUPPORTED for RTC watchdog usage (bootloader, slow-clock
paths) and regenerate Kconfig.soc_caps.in. Bootloader RWDT setup stays
under SOC_RTC_WDT_SUPPORTED; MWDT flashboot teardown stays under
SOC_WDT_SUPPORTED.

ESP_INT_WDT, ESP_TASK_WDT_EN, and BOOTLOADER_WDT_ENABLE depend on
SOC_WDT_SUPPORTED where applicable. Build xt_wdt.c only when
SOC_XT_WDT_SUPPORTED. Provide no-op panic WDT helpers when
SOC_WDT_SUPPORTED is disabled.
2026-03-24 14:57:43 +05:30
morris 9cad94e697 feat(ana_cmpr): support analog comparator on esp32h21 2026-03-23 10:28:29 +08:00
Hu Rui f2e189f7a8 fix(soc): remove inclusion of stdint.h in register headers 2026-03-11 14:24:10 +08:00