Skip to content

Commit

Permalink
Merge branch 'feature/support_pd_hp_aon_domain_in_deepsleep_v5.1' int…
Browse files Browse the repository at this point in the history
…o 'release/v5.1'

feat(pm/deepsleep): support pd hp aon domain in deepsleep (backport v5.1)

See merge request espressif/esp-idf!26078
  • Loading branch information
jack0c committed Sep 21, 2023
2 parents 25f031c + 3dc3ee0 commit 5c3f7ed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/esp_hw_support/sleep_modes.c
Expand Up @@ -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
Expand Down

0 comments on commit 5c3f7ed

Please sign in to comment.