Commit Graph

201 Commits

Author SHA1 Message Date
C.S.M
fff527fbd7 feat(temperature_sensor): Add temperature sensor support for esp32h21 2026-07-07 15:05:39 +08:00
muhaidong
e7b8677fa2 fix(coex): remove unsupported external coex soc caps 2026-06-24 13:56:22 +08:00
wuzhenghui
61be47b739 feat(esp_hw_support): support PMU clock ICG management for esp32s31 2026-06-17 11:34:37 +08: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
He Binglin
02c225b604 Merge branch 'feat/esp_idf_h21_power_optimization' into 'master'
Feat/esp idf h21 power optimization

Closes PM-778 and PM-678

See merge request espressif/esp-idf!49223
2026-06-10 14:18:52 +08:00
Aditya Patwardhan
ebc4806085 Merge branch 'fix/disable_secure_boot_v2_ecdsa' into 'master'
Fix/disable secure boot v2 ecdsa

See merge request espressif/esp-idf!48834
2026-06-09 23:46:11 +05:30
Aditya Patwardhan
67e10e2b56 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-09 16:55:57 +05:30
He Binglin
74c3a56614 Merge branch 'feat/esp_idf_h21_clock_output_support' into 'master'
feat(esp_hw_support): support clock output in esp32h21

Closes PM-785 and IDF-11582

See merge request espressif/esp-idf!49393
2026-06-09 15:26:34 +08:00
hebinglin
eb6bb0acf0 feat(esp_hw_support): support clock output in esp32h21 2026-06-09 14:16:05 +08:00
hebinglin
044f67835e feat(esp_hw_support): decrease iomux gpio spi retention reg nums for h21 2026-06-08 14:48:35 +08:00
C.S.M
2acd9b9a7c fix(spi_flash): Fix suspend issue on esp32s31, and add trs timing on other target 2026-06-08 11:15:13 +08:00
C.S.M
101e693078 Merge branch 'feat/h21_gpspi_flash' into 'master'
feat(spi_flash): cleanup and add  entire support on esp32h21

Closes IDF-11610

See merge request espressif/esp-idf!48433
2026-06-02 14:09:09 +08:00
Luo Xu
0f00ef0e6b Merge branch 'feat/supported_esp32h21_for_ble_mesh' into 'master'
Feat/supported esp32h21 for ble mesh

Closes BLERP-2799 and IDF-11654

See merge request espressif/esp-idf!48683
2026-06-02 11:19:30 +08:00
C.S.M
e36b9436b9 feat(spi_flash): Add entire support for h21 external flash 2026-06-02 10:41:02 +08:00
gaoxu
7dfc685010 refactor(adc): move some ADC soc_caps to adc_ll.h 2026-06-01 19:05:33 +08:00
gaoxu
13b4430716 feat(adc): support ADC oneshot and continuous mode on ESP32-H21 2026-06-01 19:04:35 +08:00
luoxu
4fd8b08261 feat(ble_mesh): supported esp32h21 for ble mesh 2026-06-01 18:07: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
ShenWeilong
cf813a4a1e feat(ble): Added ble support for esp32h21 2026-05-20 19:24:08 +08:00
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
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
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
wanckl
64704886b7 refactor(driver_spi): remove some SPI_LL_xxx SOC_xxx macros 2026-04-10 13:59:20 +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
Song Ruo Jing
600bf5b6d7 refactor(esp_hal_regi2c): move regi2c implementation from esp_rom to esp_hal_regi2c 2026-03-10 15:08:51 +08:00