Commit Graph

422 Commits

Author SHA1 Message Date
hebinglin
94b54832f8 change(esp_hw_support): remove sleep_mmu_retention related flow for esp32c5 eco1 2026-01-12 14:15:48 +08:00
hebinglin
4841182afe feat(esp_hw_support): support top pd during sleep in esp32c5 eco3 2026-01-12 14:15:48 +08:00
hebinglin
2fdf2b992c revert(esp_hw_support): force top domain power up during sleep
This reverts commit 7912f9fafe.
2026-01-12 14:15:48 +08:00
Jiang Jiang Jian
4a2c47e4d4 Merge branch 'bugfix/fix_pvt_after_sleep' into 'master'
fix(pvt): fix pvt retention bug,replace pvt_retention with pvt_init

See merge request espressif/esp-idf!44925
2026-01-12 11:22:59 +08:00
zlq
02f3974b6a fix(pvt): fix pvt retention bug,replace pvt_retention with pvt_init 2026-01-09 15:55:38 +08:00
Li Shuai
0c4a6f2430 change(esp_hw_support): update esp32 sleep parameters when disabling system sleep IRAM optimization 2026-01-08 16:58:05 +08:00
Li Shuai
6e9885f7e6 Merge branch 'bugfix/idfgh-16634' into 'master'
remove the configurable constraint for sleep memory usage optimization option

Closes IDFGH-16634 and IDF-13780

See merge request espressif/esp-idf!42882
2025-12-31 12:57:50 +08:00
Li Shuai
08d647b9bc change(esp_hw_support): update some sleep parameters when sleep iram optimization is disabled 2025-12-30 11:47:49 +08:00
Li Shuai
4f7703522e fix(esp_hw_support): fix esp32p4 HP_SYS_HP_WDT_RESET issue caused by cache invalid all 2025-12-30 11:47:49 +08:00
wuzhenghui
48ba430297 change(esp_hal_rtc_timer): unify lp_timer/rtc_timer naming to RTC_TIMER 2025-12-30 11:35:36 +08:00
wuzhenghui
a659753392 fix(esp_hw_support): fix RNG to LP peri domain dependency on C5 2025-12-29 10:49:53 +08:00
Li Shuai
96dc98e70e fix(esp_hw_support): fix the esp32h2 sleep TG0 watchdog reset issue caused by power down the top domain 2025-12-27 12:34:18 +08:00
Wu Zheng Hui
59fa9f7430 Merge branch 'feat/support_configurable_behavior_for_sleep_console' into 'master'
feat(esp_hw_support): Support configurable console uart behavior before sleep

Closes PM-396

See merge request espressif/esp-idf!38409
2025-12-25 12:31:35 +08:00
Wu Zheng Hui
f8a21b0fc5 Merge branch 'fix/fix_cnnt_top_dependency' into 'master'
fix(esp_hw_support): fix TOP domain to CNNT domian dependency

Closes PM-631

See merge request espressif/esp-idf!44309
2025-12-24 14:06:25 +08:00
wuzhenghui
3c90d22010 feat(esp_hw_support): support configurable uarts behavior before sleep 2025-12-19 17:25:43 +08:00
wuzhenghui
353075ca30 change(esp_hw_support): reject sleep request if task stack in PSRAM 2025-12-19 10:27:28 +08:00
wuzhenghui
030f2742b2 fix(esp_hw_support): fix TOP domain to CNNT domian dependency 2025-12-16 19:43:22 +08:00
hebinglin
b5ae961c6c feat(esp_hw_support): add flash deep power down support during sleep 2025-12-09 17:19:27 +08:00
hebinglin
8043966ff0 fix(esp_hw_support): fix flash cs unhold during sleep when pd top in esp32h21 2025-11-19 16:20:38 +08:00
morris
aa1fd9c611 refactor: avoid function calls inside MIN/MAX macros 2025-11-17 22:17:54 +08:00
Wu Zheng Hui
728fc6a254 Merge branch 'fix/fix_c6_rtc_periph_depends_on_top' into 'master'
fix(esp_hw_support): add dependency of the TOP domain to the RTC_PERIPH domain for esp32c6

See merge request espressif/esp-idf!43289
2025-11-14 16:28:32 +08:00
wuzhenghui
19e9890fb3 fix(esp_hw_support): add dependency of the TOP domain to the RTC_PERIPH domain for esp32c6 2025-11-12 17:03:45 +08:00
Song Ruo Jing
c17644a400 feat(gpio): add IO hold support for Deep-sleep for ESP32-P4 ECO5 2025-11-11 17:03:24 +08:00
hebinglin
bf38ef3abc feat(esp_hw_support): support lp uart wakeup during sleep 2025-11-06 16:19:57 +08:00
wuzhenghui
487f9204dd change(esp_hw_support): esp32p4 rev3.0 dummy read workaround refactor 2025-10-30 14:50:33 +08:00
wuzhenghui
2bb369f542 fix(esp_hw_support): add PD_TOP lightsleep mspi failure workaround for p4 rev3 2025-10-20 15:56:15 +08:00
Wu Zheng Hui
6d2487082e Merge branch 'fix/fix_coverity_issues' into 'master'
fix(esp_hw_support): fix coverity issues in esp_hw_support

Closes IDF-13819, IDF-13892, and IDF-13894

See merge request espressif/esp-idf!42566
2025-10-17 16:53:49 +08:00
Armando (Dou Yiwen)
ba7d244762 Merge branch 'change/remove_rtc_attrs' into 'master'
rtc: removed rtc related memory attrs on no-rtc-support chips

Closes IDF-7680 and IDF-14228

See merge request espressif/esp-idf!42101
2025-10-16 03:04:25 +00:00
Wu Zheng Hui
dfeae969a4 Merge branch 'feat/support_esp32p4_eco5_pmu' into 'master'
feat(esp_hw_support): Update esp32p4 eco5 lowpower features support

See merge request espressif/esp-idf!41162
2025-10-15 19:47:43 +08:00
wuzhenghui
5bdcc8f5b0 change(esp_hw_support): update RTC mem attr in sleep_modes.c 2025-10-15 01:19:02 +00:00
wuzhenghui
065dd70056 change(esp_hw_support): move ESP_SLEEP_POWER_DOWN_CPU to Kconfig 2025-10-14 16:33:30 +08:00
wuzhenghui
f68896ca53 fix(esp_hw_support): add the TOP domain's power-off dependency on the CNNT domain 2025-10-14 16:33:30 +08:00
wuzhenghui
af1c8a568d feat(esp_hw_support): update cpu_pd support for esp32p4 v3.0 2025-10-14 16:33:28 +08:00
morris
e8de5b5a95 refactor(gptimer): clean up SOC capabilities for GPTIMER and Timer Group
- Remove GPTIMER and TIMG related definitions from soc_caps_full.h files
- Move timer peripheral definitions to appropriate HAL layer files
- Update references across components to use proper HAL abstractions
- Consolidate timer group and GPTIMER capabilities organization
- Ensure consistent timer configuration across all ESP32 variants

This refactoring improves the separation of concerns between SOC
capabilities and HAL implementations for timer-related functionality.
2025-10-14 11:44:38 +08:00
wuzhenghui
e71265839e change(esp_hw_support): fix dead code in esp_sleep_pd_config and add detailed comments 2025-10-13 20:35:10 +08:00
wuzhenghui
198e789ea2 change(esp_hw_support): remove DCDC-to-LDO power switch support in ESP32P4 lightsleep 2025-09-29 10:07:20 +08:00
Marius Vikhammer
0ac9dfbbe0 Merge branch 'feature/lp_core_exception_wake' into 'master'
feat(ulp): added lp-core exception as wake-up source

See merge request espressif/esp-idf!39159
2025-09-19 14:48:33 +08:00
Marius Vikhammer
04fdae2f67 feat(ulp): added lp-core exception as wake-up source 2025-09-18 11:14:02 +08:00
Konstantin Kondrashov
dcf486359e feat(log): Optimize log tag init for bin logging 2025-09-15 15:59:52 +03:00
hebinglin
b0c8bd7236 change(esp_hw_support): optimize sleep retated parameters in esp32h4beta5 2025-09-01 10:13:52 +08:00
hebinglin
bc4c9952bb change(esp_hw_support): support cpu domain power down and cpu retention for esp32h4 beta5 2025-09-01 10:13:51 +08:00
hebinglin
52ef5c8072 fix(esp_hw_support): change if condition to fix idf-13103 2025-08-11 10:24:12 +08:00
Song Ruo Jing
2319386d9d Merge branch 'bugfix/gpio_esp32_workaround' into 'master'
fix(gpio): fix ESP32 GPIO sleep mode handling

Closes IDF-13626

See merge request espressif/esp-idf!40988
2025-08-07 17:14:58 +08:00
Jiang Jiang Jian
e6dfb60309 Merge branch 'change/remove_assert_in_esp_sleep_pd_config' into 'master'
change(esp_hw_support): warning in esp_sleep_pd_config instead of assert

Closes IDFGH-15936

See merge request espressif/esp-idf!40608
2025-08-06 19:15:56 +08:00
Song Ruo Jing
9a2984b4c0 fix(gpio): fix ESP32 GPIO sleep mode handling
The previous workaround does not work, the backup/restore should apply to RTC IO registers.
Also moved the workaround to sleep_gpio.c to avoid gpio hal using kconfig.
2025-08-05 21:02:09 +08:00
wuzhenghui
bf19cddafd change(esp_hw_support): warning in esp_sleep_pd_config instead of assert
Closes https://github.com/espressif/esp-idf/issues/16872#event-18649904083
2025-07-31 11:56:20 +08:00
Song Ruo Jing
f61e780f60 refactor(clk): deprecate rtc_cal_sel_t enum 2025-07-30 20:01:46 +08:00
wuzhenghui
80cde5f3e6 fix(esp_hw_support): fix assert when changing 8MD256 RTC slow clock source during OTA 2025-07-18 15:25:34 +08:00
morris
0999aeedbd refactor(timg): clean up soc layer meta data 2025-07-17 10:33:08 +08:00
Wu Zheng Hui
dd980b738d Merge branch 'fix/fix_esp32_core1_access_rtc_fast_in_sleep_code' into 'master'
fix(esp_hw_support): fix esp32 APP_CPU accessing RTCFAST memory in sleep code

Closes IDFGH-15614

See merge request espressif/esp-idf!40452
2025-07-10 21:29:21 +08:00