mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
feat(pm/deepsleep): support pd hp aon domain in deepsleep
This commit is contained in:
parent
41d8715dfe
commit
3dc3ee0817
@ -844,6 +844,9 @@ void IRAM_ATTR esp_deep_sleep_start(void)
|
||||
#if SOC_PMU_SUPPORTED
|
||||
uint32_t force_pd_flags = PMU_SLEEP_PD_TOP | PMU_SLEEP_PD_VDDSDIO | PMU_SLEEP_PD_MODEM | PMU_SLEEP_PD_HP_PERIPH \
|
||||
| PMU_SLEEP_PD_CPU | PMU_SLEEP_PD_MEM | PMU_SLEEP_PD_XTAL;
|
||||
#if SOC_PM_SUPPORT_HP_AON_PD
|
||||
force_pd_flags |= PMU_SLEEP_PD_HP_AON;
|
||||
#endif
|
||||
#else
|
||||
uint32_t force_pd_flags = RTC_SLEEP_PD_DIG | RTC_SLEEP_PD_VDDSDIO | RTC_SLEEP_PD_INT_8M | RTC_SLEEP_PD_XTAL;
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user