Commit Graph
3100 Commits
Author SHA1 Message Date
Li Shuai d69aed64ad Merge branch 'feat/pm-788' into 'master'
support sleep retention destroy callback

Closes PM-788

See merge request espressif/esp-idf!49568
2026-06-30 11:55:57 +08:00
Michael (XIAO Xufeng) c1b218b640 Merge branch 'fix/mmap_cache_flash_wr' into 'master'
fix(mmap): fixed mmap read data wrong when flash being erased/written and cache not disabled

Closes IDFGH-14084

See merge request espressif/esp-idf!29804
2026-06-29 11:44:10 +08:00
Li Shuai b624a348ad fix(esp_hw_support): apply some suggestions 2026-06-26 15:18:44 +08:00
Li Shuai a9f278d9ba change(esp_hw_support): maintain runtime retention module information 2026-06-25 15:55:08 +08:00
He Binglin 12ad118657 Merge branch 'change/esp_idf_dpd_optimize' into 'master'
Change/esp idf dpd optimize

Closes PM-765 and PM-728

See merge request espressif/esp-idf!49761
2026-06-23 19:55:08 +08:00
hebinglin a6884a9d4d change(esp_hw_support): support optional delay for DPD entry and exit 2026-06-23 14:54:30 +08:00
wuzhenghui 3a18ec3b7f feat(freertos): make FREERTOS_PORT_THREAD_SAFE_CLAIM optinal 2026-06-22 10:15:32 +08:00
Wu Zheng Hui 7e4773ef38 Merge branch 'feat/support_esp32s31_icg_control' into 'master'
feat(esp_hw_support): support PMU clock ICG management for esp32s31

Closes PM-760

See merge request espressif/esp-idf!48863
2026-06-18 16:21:32 +08:00
wuzhenghui bbfde331f1 fix(esp_hw_support): fix s31 sleep CPU retention state atomic declaration 2026-06-18 09:41:41 +08:00
wuzhenghui 0c7caf79b5 feat(esp_hw_support): implement software CPU retention synchronization for SMP sleep modes 2026-06-18 09:41:41 +08:00
wuzhenghui d4e3109c1b feat(esp_hw_support): claim thread-safe in sleep process to avoid deadlock and fastup process 2026-06-18 09:41:41 +08:00
Alexey Lapshin e389f3e4df Merge branch 'feature/upgrade_toolchain_to_16.1.0_20260609' into 'master'
Upgrade GNU toolchain to 16.1.0_20260609

See merge request espressif/esp-idf!49523
2026-06-18 00:55:07 +04:00
Jiang Jiang Jian a602e67b0b Merge branch 'feat/update_s31_wifi_lower_power' into 'master'
feat: update_s31_wifi_low_power

See merge request espressif/esp-idf!49753
2026-06-17 20:06:56 +08:00
Jiang Jiang Jian 41a7095015 Merge branch 'feat/support_usb_wakeup_from_light_sleep' into 'master'
feat: support usb wakeup from light sleep

Closes IDF-7212

See merge request espressif/esp-idf!48988
2026-06-17 19:50:11 +08:00
sibeibei 3c98f90da9 update(pmu_param): update mdoem icg func clk
Due to c-channel design, ETM and BUS must be set to 1
2026-06-17 17:25:04 +08:00
sibeibei 9fd50d50ce update(pm_sleep): update modem_wait_target_cycle for s31 2026-06-17 17:19:53 +08:00
Alexey Lapshin b3c222724c Merge branch 'feat/enable_zcmp_for_c5_c61' into 'master'
feat(soc): esp32c5, esp32c61: enable zc extensions

See merge request espressif/esp-idf!49218
2026-06-17 10:13:30 +04:00
wuzhenghui 61be47b739 feat(esp_hw_support): support PMU clock ICG management for esp32s31 2026-06-17 11:34:37 +08:00
Song Ruo Jing a66f9463c1 Merge branch 'feature/dma2d_ppa_sleep_retention_support' into 'master'
feat(ppa): add sleep retention support for DMA2D and PPA

Closes IDF-9961, IDF-9930, IDF-14764, and IDF-14770

See merge request espressif/esp-idf!45587
2026-06-16 14:56:19 +08:00
Xiao Xufeng 789ce684c9 fix(mmap): fixed some API read wrong data via mmap when flash being erased/written while XIP on PSRAM
Before:

The cache won't be disabled when XIP on psram. But during flash
erasing/programming, read data will be courrupt.

When XIP in psram is enabled, the image is not mapped to the cache so
usually there will be no flash access. The only way to read from flash
is via the driver or use mmap. The driver has protection during erasing,
while th mmap region not.

Now:

Mmap APIs provide a flag to make mmap->unmap region mutually exclusive
to flash erase/programming when XIP from psram. SPI Flash write APIs
will benefit from this. When the flag is used, no concurrent access to
mapped region will happen while writing; otherwise the cache will be
disable to avoid data corruption.

Most ESP-IDF APIs calls mmap with this flag. As for users calling
mmap-like APIs directly, they can choose whether to enable this by a
flag.

Closes https://github.com/espressif/esp-idf/issues/14897
2026-06-16 01:00:43 +08:00
Alexey Lapshin 406bd2393e fix(ci): suppress GNU static analyzer warnings 2026-06-15 18:53:21 +07: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
Song Ruo Jing 14d8570163 feat(ppa): add sleep retention support for DMA2D and PPA 2026-06-15 15:45:07 +08:00
Alexey Lapshin fa89e353bc feat(soc): esp32c5, esp32c61: enable zc extensions 2026-06-15 11:42:48 +07:00
Li Shuai e7fff9da43 change(esp_hw_support): rename retention_modules to attached_modules 2026-06-11 11:41:40 +08:00
Li Shuai 4011a4de74 feat(esp_hw_support): support sleep retention destroy callback 2026-06-11 11:32:31 +08:00
wuzhenghui 63cd8caf7b fix(esp_hw_support): pd hp_alive domain in deepsleep 2026-06-10 21:20:04 +08:00
JiangGuangMingandCursor 6020aec177 fix(usb): address wakeup example review comments
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-10 18:59:24 +08:00
JiangGuangMingandCursor 0f4bf3e097 fix(sleep): disable usb wakeup through generic API
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-10 15:14:37 +08:00
Jiang Guang Ming d65b467108 fix(usb): address usb wakeup review comments 2026-06-10 15:14:37 +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
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
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 e238c5bdc6 feat(wifi): enable pll clk 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 db8d0e0362 update(pmu_param): update hp modem clk config 2026-06-08 19:24:30 +08:00
sibeibei f60ceeb811 update(sleep_clock.c): update clock retention 2026-06-08 19:24:29 +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
JiangGuangMing 87b0c4c40d feat(sleep/usb): support usb as wakeup source from light sleep 2026-06-08 16:31:21 +08:00
hebinglin 35ebcefc9b fix(esp_hw_support): fix retention hang when no module in link 2026-06-04 22:26:56 +08:00
yanzihan@espressif.com f9a0e0ad95 feat(pvt): fix monitor en rst error in pvt func on master 2026-06-04 17:32:20 +08:00
hebinglin b24a1ff521 feat(esp_hw_support): use xtalx2 in retention for h21 2026-06-03 15:03:59 +08:00
hebinglin 14a2392510 feat(esp_hw_support): optimize pmu param for h21 2026-06-03 15:03:51 +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
morris 36063fbfb4 docs(ldo): corrected the LDO channel numbers in the programming guide 2026-06-02 11:20:12 +08:00
Gao Xu b19b7a651a Merge branch 'feat/h21_adc_support' into 'master'
feat(adc): support ADC oneshot and continuous mode on ESP32-H21

Closes IDF-11589 and IDF-11592

See merge request espressif/esp-idf!48551
2026-06-02 11:17:00 +08:00
Wu Zheng Hui 6495ce4fda Merge branch 'fix/fix_rtc_spinlock_sleep_dead_lock' into 'master'
fix(esp_hw_support): fix possible dead lock in deepsleep process

See merge request espressif/esp-idf!49066
2026-06-02 10:33:51 +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
wuzhenghui 50d6ef1481 fix(esp_hw_support): fix possible dead lock in deepsleep process 2026-05-29 21:19:42 +08:00