Commit Graph

4376 Commits

Author SHA1 Message Date
Alexey Lapshin
054e36177e feat(soc): use -mtune=IDF_TARGET if supported 2026-06-17 17:24:24 +07:00
Jiang Jiang Jian
f6eceb316a Merge branch 'feat/support_esp32s31_dfu' into 'master'
Feat/support esp32s31 dfu

See merge request espressif/esp-idf!49329
2026-06-10 15:48:00 +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
harshal.patil
81ffe04323 fix(soc): Remove non-existent crypto registers (ESP32-C61) 2026-06-09 13:33:25 +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
Song Ruo Jing
19287f5f0c Merge branch 'feature/esp32h4_flash_support' into 'master'
feat(spi_flash): Add exclusive support for ESP32H4

Closes IDF-12290, IDF-12389, and IDF-15616

See merge request espressif/esp-idf!47679
2026-06-09 15:23:34 +08:00
Jiang Jiang Jian
853a2cfd3a Merge branch 'chip/support_wifi_low_power_for_s31_rebase_master' into 'master'
Chip/support wifi low power for s31 rebase master

Closes IDF-14579 and IDF-14582

See merge request espressif/esp-idf!48532
2026-06-09 15:16:53 +08:00
hebinglin
eb6bb0acf0 feat(esp_hw_support): support clock output in esp32h21 2026-06-09 14:16:05 +08:00
sibeibei
e17cd724b4 feat(pm): select XTAL for HP dig_sysclk in modem state
On ESP32-S31, SOC and modem APB are decoupled, so the digital
system can run from XTAL while the modem domain stays in modem state.
2026-06-08 19:24:30 +08:00
sibeibei
c8881b2529 update(pmu_sleep): enable SOC_PM_PMU_MIN_SLP_SLOW_CLK_CYCLE_FIXED 2026-06-08 19:24:30 +08:00
sibeibei
60250525b0 bugfix(apm): workaround to clear apm related reg on S31
Until full TEE/APM retention is supported (IDF-14620).
2026-06-08 19:24:29 +08:00
He Binglin
0f37d02b9d Merge branch 'fix/esp_idf_lp_uart_wakeup_muti_times' into 'master'
fix(ulp): fix lp uart keep wakeup triggered

Closes PM-658

See merge request espressif/esp-idf!49365
2026-06-08 18:09:25 +08:00
Song Ruo Jing
f6449f926b fix(spi_flash): gpspi flash clock could reach higher frequency 2026-06-08 17:56:17 +08:00
Song Ruo Jing
545b31e6b9 feat(spi_flash): Add exclusive support for ESP32H4
Add 32bit addr support for esp32s31 as well
2026-06-08 17:56:09 +08:00
hebinglin
46ff88717c fix(ulp): fix lp uart keep wakeup triggered 2026-06-08 16:17:09 +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
747c1c9555 Merge branch 'fix/s31_suspend' into 'master'
fix(spi_flash): Fix suspend issue on esp32s31, and add trs timing on other target

See merge request espressif/esp-idf!49228
2026-06-08 14:31: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
JiangGuangMing
dd9eb63e9d feat: support esp32s31 dfu feature 2026-06-05 15:59:04 +08:00
Konstantin Kondrashov
885097762f feat(efuse): Support efuse token dump
- efuse token dump is compatible with espefuse tool
- EFSW dump can be burned on chip with esp_efuse_token_burn()
2026-06-03 13:19:59 +03:00
Chai Ji’e
9dc046e94b Merge branch 'feature/chip764_power_glitch_support' into 'master'
feat(s31): bootloader power glitch reset config

See merge request espressif/esp-idf!49050
2026-06-03 09:30:22 +08:00
morris
848fbc8d74 Merge branch 'doc/update_ldo_doc_esp32s31' into 'master'
docs(ldo): corrected the LDO channel numbers in the programming guide

See merge request espressif/esp-idf!49141
2026-06-02 14:40:45 +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
morris
36063fbfb4 docs(ldo): corrected the LDO channel numbers in the programming guide 2026-06-02 11:20:12 +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
hongshuqing
318dba3b96 feat(pwr_glitch): chip764 power glitch reset config 2026-06-01 19:27:08 +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
Chen Ji Chang
40d9657bc1 Merge branch 'fix/fix_mipi_lcd_dirty_buffer' into 'master'
feat(lcd): support buffer switch interrupt

Closes IDF-13502

See merge request espressif/esp-idf!46827
2026-06-01 18:06:20 +08:00
Chen Jichang
f8ff130959 feat(lcd): support buffer switch interrupt 2026-06-01 15:19:19 +08:00
C.S.M
b2784ccc39 Merge branch 'feat/tsens_slp_esp32h4' into 'master'
feat(temperature_sensor): Add temperature sensor sleep retention support on esp32h4

Closes IDF-12405, IDF-15617, and IDF-15648

See merge request espressif/esp-idf!48703
2026-05-29 16:37:52 +08:00
morris
ef4a30d879 Merge branch 'feat/blink_example_esp32s31' into 'master'
feat(example): set default GPIO for esp32-s31 blink example

See merge request espressif/esp-idf!49024
2026-05-29 16:08:22 +08:00
sibeibei
8216439117 change(esp_hw_support): enable wifi beacon wakeup and support wifi modem state for esp32s31 2026-05-29 15:24:00 +08:00
hongshuqing
58e8df647e fix(vol): update dreg_1p1 and dreg_1p1_pvt in bootloader 2026-05-29 15:06:08 +08:00
Mahavir Jain
d0fb1cdad8 Merge branch 'feat/enable_sb_and_fe_support_for_esp32s31' into 'master'
feat: enable Secure Boot, Flash Encryption and Key Manager support in ESP32S31

Closes IDF-14629, IDF-14628, IDF-14626, and IDF-14622

See merge request espressif/esp-idf!48136
2026-05-29 10:31:34 +05:30
morris
5a1e63f071 feat(example): set default GPIO for esp32-s31 blink example
for both Function-Core Board and Korvo Board
2026-05-29 10:53:17 +08:00
igor.masar
d4d993c818 feat(soc): add USB DFU and OTG console caps
Add USB DFU and OTG console SOC capability flags for esp32s2, esp32s3, and esp32p4.

Use these caps in Kconfig, documentation conditionals, and idf.py DFU actions so USB support
is derived from SOC capabilities instead of hardcoded target names.
2026-05-27 10:58:50 +02:00
C.S.M
38ce3f6e18 feat(temperature_sensor): Add temperature sensor sleep retention support on esp32h4 2026-05-27 16:16:31 +08:00
Gao Xu
db3d01d412 Merge branch 'feat/basic_rng_support_h4' into 'master'
RNG support and refactor on ESP32-H4

Closes IDF-12265

See merge request espressif/esp-idf!45361
2026-05-27 11:14:38 +08:00
gaoxu
43317018d1 refactor(rng): use adc_ll apis for ESP32-h4 and refactor rng_ll_enable/disable 2026-05-26 19:02:41 +08:00
nilesh.kale
fe257f699e feat: enable Secure Boot, Flash Encryption and Key Manager support for S31 2026-05-26 12:57:34 +08:00
morris
e20db709aa feat(debug): add esp32s31 debug probe support
- add ESP32-S31 debug probe LL, target IDs, capability macros, and GPIO signal mapping
- allow LP probe channels to configure four signal bytes while keeping 16 GPIO outputs
- add HP and LP probe read tests, including LP 32-bit read verification
- keep existing vbat LP probe usage aligned with the new LP channel behavior
2026-05-25 19:03:37 +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