Commit Graph
4353 Commits
Author SHA1 Message Date
sibeibei f7a2fc94a6 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-10 20:41:47 +08:00
sibeibei 9a3b0b5f02 update(pmu_sleep): enable SOC_PM_PMU_MIN_SLP_SLOW_CLK_CYCLE_FIXED 2026-06-10 20:40:09 +08:00
sibeibei 32a7c32c25 bugfix(apm): workaround to clear apm related reg on S31
Until full TEE/APM retention is supported (IDF-14620).
2026-06-10 20:39:29 +08:00
sibeibei d0434b0ddd change(esp_hw_support): enable wifi beacon wakeup and support wifi modem state for esp32s31 2026-06-10 20:39:21 +08:00
Mahavir Jain 3664bd2d7e Merge branch 'fix/disable_secure_boot_v2_ecdsa_v6.1' into 'release/v6.1'
Fix/disable secure boot v2 ecdsa (v6.1)

See merge request espressif/esp-idf!49469
2026-06-10 14:39:06 +05:30
Mahavir Jain ab40e38287 Merge branch 'fix/remove_nonexistent_crypto_registers_c61_v6.1' into 'release/v6.1'
Remove non-existent crypto registers (ESP32-C61) (v6.1)

See merge request espressif/esp-idf!49449
2026-06-10 10:10:00 +05:30
Jiang Jiang Jian 895974c34d Merge branch 'feat/enable_sb_and_fe_support_for_esp32s31_v6.1' into 'release/v6.1'
feat: enable Secure Boot, Flash Encryption and Key Manager support in ESP32S31 (v6.1)

See merge request espressif/esp-idf!49161
2026-06-10 11:13:43 +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
harshal.patil 6bdaf2a293 fix(soc): Remove non-existent crypto registers (ESP32-C61) 2026-06-09 18:16:33 +05:30
morris c66f9a3a8e Merge branch 'feature/esp32h4_flash_support_v6.1' into 'release/v6.1'
feat(spi_flash): Add exclusive support for ESP32H4 (v6.1)

See merge request espressif/esp-idf!49419
2026-06-09 18:19:15 +08:00
Jiang Jiang Jian 785ab7a4e6 Merge branch 'fix/esp_idf_lp_uart_wakeup_muti_times_v6.1' into 'release/v6.1'
fix(ulp): fix lp uart keep wakeup triggered v6.1

See merge request espressif/esp-idf!49396
2026-06-09 17:22:21 +08:00
Song Ruo Jing 5934c5b7f1 fix(spi_flash): gpspi flash clock could reach higher frequency 2026-06-09 15:27:41 +08:00
Song Ruo Jing c9f52c7ca7 feat(spi_flash): Add exclusive support for ESP32H4
Add 32bit addr support for esp32s31 as well
2026-06-09 15:27:41 +08:00
hebinglin 5ff1c38cb8 fix(ulp): fix lp uart keep wakeup triggered 2026-06-08 19:29:53 +08:00
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
morris c8bb08bc4c Merge branch 'feat/h21_gpspi_flash_v6.1' into 'release/v6.1'
feat(spi_flash): Add entire support for h21 external flash (backport v6.1)

See merge request espressif/esp-idf!49257
2026-06-04 15:03:45 +08:00
C.S.M 4310ae9d7b feat(spi_flash): Add entire support for h21 external flash 2026-06-04 11:25:59 +08:00
morris ce34e39eac Merge branch 'feat/debug_probe_esp32s31_v6.1' into 'release/v6.1'
feat(debug): add esp32s31 debug probe support (v6.1)

See merge request espressif/esp-idf!48893
2026-06-04 11:19:51 +08:00
morris 956596b2fc Merge branch 'feat/blink_example_esp32s31_v6.1' into 'release/v6.1'
feat(example): set default GPIO for esp32-s31 blink example (v6.1)

See merge request espressif/esp-idf!49054
2026-06-04 11:16:38 +08:00
morris 9d444910bd Merge branch 'fix/fix_mipi_lcd_dirty_buffer_v6.1' into 'release/v6.1'
feat(lcd): support buffer switch interrupt (v6.1)

See merge request espressif/esp-idf!49100
2026-06-04 11:09:11 +08:00
nilesh.kale ae1ec76e82 feat: enable Secure Boot, Flash Encryption and Key Manager support for S31 2026-06-02 13:09:44 +05:30
morris 2b36e6308a docs(ldo): corrected the LDO channel numbers in the programming guide 2026-06-02 14:51:17 +08:00
Chen Jichang f17bc5d033 feat(lcd): support buffer switch interrupt 2026-06-01 18:28:50 +08:00
morris 587c1aa169 feat(example): set default GPIO for esp32-s31 blink example
for both Function-Core Board and Korvo Board
2026-05-29 16:11:04 +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
hebinglin 23f6b5985a change(esp_hw_support): disable flash pd in h4 h21 c5 c61 2026-05-22 12:30:44 +08:00
Laukik Hase 0ee6ddc7db Merge branch 'feat/p4_pms_support' into 'master'
feat(security): Add support for the ESP32-P4 Permission Control (PMS) peripheral

Closes IDF-9997, IDF-13529, IDF-13737, and IDF-14381

See merge request espressif/esp-idf!44205
2026-05-22 09:33:37 +05:30
hebinglin 64bf345683 revert(esp_hw_support): esp32h4 beta5 i2c config retention when pd modem refer to PM-487 2026-05-22 11:09:33 +08:00
He Binglin 9c3a6b3f5d Merge branch 'feat/esp_idf_h4_optimize' into 'master'
Feat/esp idf h4 retention and active clk power optimize

Closes PM-746, PM-745, and PM-736

See merge request espressif/esp-idf!48319
2026-05-22 10:55:43 +08:00
Konstantin Kondrashov f870ed9d61 feat(efuse): Update efuse table for ESP32H21 2026-05-21 16:29:09 +03:00
hebinglin 1c279178fa feat(esp_hw_support): support bbpll pd in modem state 2026-05-21 20:03:45 +08:00
hebinglin 5710783a89 feat(esp_hw_support): support entry 2 xtalx2 power pu in esp32h4 2026-05-21 19:55:37 +08:00
hebinglin 312076e955 feat(esp_hw_support): decrease retention current and duration 2026-05-21 19:53:51 +08:00
Ondrej Kosta edbf8856ae feat(esp_eth): add ESP32-S31 EMAC support
Add internal EMAC support for ESP32-S31, including:
- HAL/LL layer: emac_ll, emac_hal, emac_clk, emac_periph for S31
- SOC layer: register structs, soc_caps, peripherals linker script,
  interrupt definitions
- MAC driver: clock source configuration via Kconfig, GPIO/DMA
  adaptations, PHY register defs for clause-45 MDIO
- Ethernet examples updated for S31 (basic, build-test-rules, PTP
  readme)
- Refactored existing ESP32/ESP32-P4 EMAC code for shared patterns
  (emac_clk extraction, struct alignment, periph descriptor cleanup)
2026-05-21 15:59:42 +08:00
Ondrej Kosta c7d6c41198 feat(clk_tree): support derived PLL clocks
Add a generic derived-PLL clock engine to esp_clk_tree_common that
handles acquire/release, mux selection, and divider programming for
target-defined derived clocks. Per-target descriptors (ESP32-P4,
ESP32-S31) plug into the engine via
esp_clk_tree_get_derived_clk_desc().
2026-05-21 15:59:42 +08:00
Laukik Hase 3acb4a3e0c refactor(hal): Refactor and update the ESP32-P4 APM LL/HAL APIs 2026-05-21 12:15:50 +05:30
Laukik Hase 384eba8a11 refactor(soc): Update the ESP32-P4v3+ PMS header files 2026-05-21 12:15:50 +05:30
morris 24058b19ee Merge branch 'feat/ana_cmpr_esp32h4_eco1' into 'master'
feat(ana_cmpr): enable ana_cmpr driver support on esp32h4

Closes IDF-12395 and IDF-15224

See merge request espressif/esp-idf!48316
2026-05-21 14:01:03 +08: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
Armando (Dou Yiwen) a6c0ea2289 Merge branch 'feat/sdmmc_s31' into 'master'
sdmmc: s31 support

Closes IDF-14705 and IDF-14706

See merge request espressif/esp-idf!47232
2026-05-21 04:59:49 +00:00
morris 9559f3114d Merge branch 'feat/i2s_destination_config' into 'master'
feat(i2s): add Bluetooth destination config for esp32s31

Closes IDF-15674

See merge request espressif/esp-idf!48482
2026-05-21 12:21:15 +08:00
morris 2b9b065c82 feat(ana_cmpr): enable ana_cmpr driver support on esp32h4 2026-05-21 10:30:43 +08:00
armando f408e1a8bc feat(sdmmc): add esp32s31 support
Enable SDMMC host support on ESP32-S31 across HAL, SOC caps, tests, examples, and documentation.
2026-05-21 09:09:28 +08:00
Wu Zheng Hui 91e66a8d19 Merge branch 'feat/support_io_edge_wakeup' into 'master'
feat(esp_hw_support): support rtc io edge wakeup sleep

Closes FCS-1880 and IDF-11812

See merge request espressif/esp-idf!48410
2026-05-20 19:37:35 +08:00
ShenWeilong cf813a4a1e feat(ble): Added ble support for esp32h21 2026-05-20 19:24:08 +08:00
Nilesh Kale 2fa9fba978 Merge branch 'feat/add_flash_encryption_support_for_esp32h4' into 'master'
feat: enable flash encryption support in ESP32H4

Closes IDF-12261, IDF-12969, and IDF-12506

See merge request espressif/esp-idf!45613
2026-05-20 17:45:13 +08:00