Jiang Jiang Jian
6747981483
Merge branch 'bugfix/idfci-13866_v6.1' into 'release/v6.1'
...
backport v6.1: config wakeup gpio pin internal pullup to avoid input floating
See merge request espressif/esp-idf!52770
2026-09-15 13:56:59 +08:00
Jiang Jiang Jian
c373eb3338
Merge branch 'fix/fix_cryto_module_locked_after_pd_top_lslp_v6.1' into 'release/v6.1'
...
fix(esp_hw_support): fix cryto module locked after pd_top lightsleep (v6.1)
See merge request espressif/esp-idf!52651
2026-09-15 11:43:51 +08:00
Li Shuai
bfc5ade8d2
fix(unit-test): config wakeup gpio pin internal pullup to avoid input floating
2026-09-14 14:33:08 +08:00
wuzhenghui
230e6e0019
fix(esp_hw_support): wait DS/ECDSA idle before restore its PCR on wakeup
2026-09-09 17:13:29 +08:00
wuzhenghui
d77e5e3093
fix(esp_hw_support): restore brownout after deep sleep rejection on ESP32-S2
...
ESP32-S2 disables the brownout detector before deep sleep; if sleep is
rejected, re-init it so BOD is not left disabled (PM-519).
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-09 17:11:23 +08:00
Chen Jichang
8cb3743b7c
ci(esp32h4): disable h4 build and target test on unsupported release branch
2026-09-07 15:48:11 +08:00
Jiang Jiang Jian
9330c1c8b1
Merge branch 'feat/pm_components_ram_optimize_v6.1' into 'release/v6.1'
...
feat(pm): pm components ram optimize (v6.1)
See merge request espressif/esp-idf!52425
2026-09-04 23:30:35 +08:00
Jiang Jiang Jian
27892e5e12
Merge branch 'fix/tee_reentrant_svc_and_non_det_sign_v6.1' into 'release/v6.1'
...
feat(esp_tee): Backports to v6.1
See merge request espressif/esp-idf!52291
2026-09-04 23:17:06 +08:00
morris
28a4aaa1db
Merge branch 'fix/psram-ecc-mspi-dma-align_v6.1' into 'release/v6.1'
...
fix(mspi): handle PSRAM ECC DMA alignment across MSPI users (v6.1)
See merge request espressif/esp-idf!52363
2026-09-04 18:48:05 +08:00
wuzhenghui
9c75a9d004
feat(esp_hw_support): use dynamic memory allocation for retention module instances
2026-09-04 18:03:59 +08:00
wuzhenghui
b45e51fc65
change(esp_hw_support): optimize pmu_sleep RAM cost
2026-09-04 18:01:12 +08:00
wuzhenghui
6be25041e0
change(esp_hw_support): optimize sleep_phy retention static RAM cost
2026-09-04 18:00:47 +08:00
wuzhenghui
64f8bdd2e1
change(esp_hw_support): optimize retention driver RAM cost
2026-09-04 18:00:35 +08:00
Jiang Jiang Jian
59512efe9c
Merge branch 'fix/use_conflict_cb_for_regi2c_when_regdma_rf_is_used_v6.1' into 'release/v6.1'
...
feat(sleep): applied regi2c conflict process at regdma rf (6.1)
See merge request espressif/esp-idf!52411
2026-09-04 17:17:09 +08:00
Jiang Jiang Jian
7b6e1a4ef6
Merge branch 'feat/support_esp32s31_clock_tree_management_v6.1' into 'release/v6.1'
...
feat: support esp32s31 clock tree management (v6.1)
See merge request espressif/esp-idf!51205
2026-09-04 15:45:46 +08:00
Jiang Jiang Jian
258388a851
Merge branch 'backport/52143-to-release-v6.1' into 'release/v6.1'
...
fix(wifi): fix wifi wakeup failed from modem state v6.1
See merge request espressif/esp-idf!52385
2026-09-04 15:45:18 +08:00
Laukik Hase
bc6b8f7fa5
feat(esp_tee): Use CTR-DRBG for assisting random number generation in TEE
...
- For ESP-TEE, fault-assert in `esp_random()` if the RNG is held in a
freeze state
2026-09-04 10:20:20 +05:30
cjin
df470e9dee
feat(sleep): applied regi2c conflict process at regdma rf
2026-09-04 10:51:55 +08:00
cjin
c2a1465dc2
fix(sleep): fix reject trigger when wifi is enabled
2026-09-04 10:51:14 +08:00
cjin
275e34f318
fix(phy): added fe set freq reset to rf retention list
2026-09-04 10:27:25 +08:00
cjin
3c875310d1
feat(modem): add phy retention related api
2026-09-04 10:27:25 +08:00
cjin
a79519d844
feat(phy): add skip list to sleep phy link context and fix deinit crash
2026-09-04 10:27:25 +08:00
cjin
506e3b30ed
feat(sleep): add config SOC_PM_SUPPORT_REGDMA_TRIGGERED_PHY
2026-09-04 10:27:25 +08:00
cjin
77003bcf0c
feat(sleep_modem): allow multi modem to enable rf with regdma
2026-09-04 10:27:25 +08:00
cjin
0780acf55e
feat(modem): rename the sleep modem functions
2026-09-04 10:27:25 +08:00
cjin
ee6cda2551
feat(phy): added skip method for phy retention list
2026-09-04 10:27:25 +08:00
cjin
639ae612ed
feat(phy): rename sleep modem state to sleep phy
2026-09-04 10:27:25 +08:00
wuzhenghui
4ffb72cbc1
fix(esp_hw_support): fix ESP32-S31 CPU/DFS clk_tree refcount and keep clock source during DFS
2026-09-03 19:36:37 +08:00
Chen Jichang
bd2d64bffb
refactor(gdma): increase performance and optimize api
2026-09-03 19:09:30 +08:00
Chen Jichang
305d434bda
feat(mspi): split dma and mspi alignment
2026-09-03 19:09:30 +08:00
sibeibei
f1f52f3e8f
fix(wifi): fix wifi wakeup failed from modem state
2026-09-03 19:04:17 +08:00
Song Ruo Jing
052731a91a
fix(uart): reduce current consumption in sleep mode
2026-09-03 16:03:19 +08:00
wuzhenghui
3641d243e0
feat(esp_hw_support): disable all unused pll source in rtc_clk_init to save power
2026-09-02 19:20:14 +08:00
wuzhenghui
0b7f047e9e
fix(driver): fix drivers clock management
2026-09-02 19:20:14 +08:00
wuzhenghui
f9428ecc1e
feat(esp_hw_support): support esp32s31 clock tree management
2026-09-02 19:20:13 +08:00
wuzhenghui
aaccbdd47c
fix(spi_flash): integrate branch prediction control during cache operations
2026-09-01 02:42:19 +00:00
Jiang Jiang Jian
49a9cd1840
Merge branch 'fix/fix_esp32s31_stuck_in_phy_disable_v6.1' into 'release/v6.1'
...
fix(esp_hw_support): fix esp32s31 stuck in phy_disable if mdoem module is not initialized (v6.1)
See merge request espressif/esp-idf!51897
2026-08-31 11:42:57 +08:00
Jiang Jiang Jian
aa98c93718
Merge branch 'feat/optimize_for_esp32h4_light_sleep_ble_current_v6.1' into 'release/v6.1'
...
Feat/optimize for esp32h4 light sleep ble current (6.1)
See merge request espressif/esp-idf!50789
2026-08-31 11:11:41 +08:00
Jiang Jiang Jian
c5355945ae
Merge branch 'fix/esp_idf_h4_pmu_icg_mapping_6.1' into 'release/v6.1'
...
fix(esp_hw_support): pmu_icg_mapping define mistake(v6.1)
See merge request espressif/esp-idf!51912
2026-08-31 10:56:22 +08:00
Jiang Jiang Jian
40feb79578
Merge branch 'feat/support_esp32s31_xtal_fosc_force_pu_v6.1' into 'release/v6.1'
...
feat: update XTAL sleep FPU parameters to save power (v6.1)
See merge request espressif/esp-idf!51896
2026-08-31 10:54:55 +08:00
Jiang Jiang Jian
d293398710
Merge branch 'fix/fix_esp32p4_missing_pvt_clock_v6.1' into 'release/v6.1'
...
fix(esp_hw_support): fix esp32p4 PVT clock lost (v6.1)
See merge request espressif/esp-idf!51866
2026-08-31 10:54:25 +08:00
harshal.patil
0580cff0e4
change(esp_hw_support): harden the ESP32-S31 PSRAM region permissions
...
Both PSRAM layouts were mapped as a single RWX window, so everything in external
RAM - the heap included - was executable.
PSRAM used as data only is now RW, and under XIP-from-PSRAM it is split per
section as ESP32-P4 does: .text RX, .rodata read-only, and the MMU-page
alignment gaps and the reclaimed heap RW, so neither is executable.
Both describe the layout that esp_psram_init() produces, and the entries are
locked, so - again as on ESP32-P4 - they are only narrowed when
CONFIG_SPIRAM_PRE_CONFIGURE_MEMORY_PROTECTION says that layout applies. Without
it the application owns the region and PSRAM stays RWX.
The per-section entries cost one PMP entry more than the 16 available, so the CPU
subsystem and peripheral windows are chained as TOR entries, taking one entry
instead of three.
soc.h is corrected against the S31 bus address map: the peripheral window base
was 1 MB too low, and the LP peripheral top, derived from a register base plus a
size rather than from the map, was 16 KB short. SOC_NON_CACHEABLE_OFFSET_FLASH
is added.
2026-08-28 18:06:56 +05:30
Mahavir Jain
e7499410fa
fix(esp_hw_support): run ESP32-P4 PMA programming from IRAM
...
The bootloader locks PMA entries on core 0 only (PMA is per-hart), so
core 1 applies its PMA configuration with effective writes. Executing
that from flash momentarily makes the flash aperture non-cacheable
while reprogramming its entry, which executes ciphertext with flash
encryption enabled (illegal instruction -> CPU lockup).
2026-08-28 18:06:56 +05:30
Mahavir Jain
5ff870a33e
fix(esp_hw_support): fix ESP32-S31 CPU lockup with flash encryption during PMA setup
...
Run esp_cpu_configure_invalid_regions() from IRAM: it reprograms the PMA
entry that keeps the flash aperture cacheable, so an instruction fetched
from flash inside the reprogramming window bypasses the cache and, with
flash encryption enabled, executes ciphertext (illegal instruction ->
CPU lockup).
Also move the PSRAM PMA entry to index 7 so that the application layout
matches the entry earlier bootloaders programmed and locked, keeping the
full layout effective under such bootloaders.
2026-08-28 18:06:56 +05:30
Mahavir Jain
dedb644938
change(esp_hw_support): drop the frozen PMP entry layout for ESP32-S31
...
Freezing PMP entry indices as a bootloader<->application ABI (pmp_layout.h)
is only needed on targets where an already-shipped bootloader locks PMP
entries (C5, C6, C61, H2, P4). No such bootloader has ever shipped for
ESP32-S31 and, per the v6.2 PMP ownership policy, the bootloader never
configures or locks any PMP entry on this target - so there is no ABI to
freeze. Program all entries by plain index (as on ESP32-H4/H21) and state
that the application-owned layout is not an ABI.
2026-08-28 18:06:56 +05:30
nilesh.kale
8f3d9e7445
feat: enable cpu region protection for esp32s31
2026-08-28 18:06:56 +05:30
morris
1a0aa28792
Merge branch 'docs/update_get_started_s31_v6.1' into 'release/v6.1'
...
docs: Update Get Started for ESP32-S31 (v6.1)
See merge request espressif/esp-idf!51722
2026-08-28 10:11:19 +08:00
morris
b4f9033645
Merge branch 'feature/add_asrc_sleep_retention_v6.1' into 'release/v6.1'
...
feat(asrc): Add sleep retention
See merge request espressif/esp-idf!51807
2026-08-28 10:10:37 +08:00
Marius Vikhammer
b29d8694b3
Merge branch 'feat/c5_eco4_newlib_support_v6.1' into 'release/v6.1'
...
change(esp_libc): use C5 ECO4 ROM newlib functions (v6.1)
See merge request espressif/esp-idf!51902
2026-08-27 18:56:51 +08:00
morris
702b35b9dd
Merge branch 'feat/move_flash_120_out_from_experimental_v6.1' into 'release/v6.1'
...
feat(flash): p4 flash 120MHz is no longer experimental feature (v6.1)
See merge request espressif/esp-idf!51698
2026-08-27 18:01:43 +08:00