change(pm): remove rc32k for esp32c5

This commit is contained in:
Lou Tianhao
2024-08-08 14:19:59 +08:00
parent debb6ab6a1
commit 02f5e0f98c
4 changed files with 38 additions and 20 deletions

View File

@@ -2292,9 +2292,13 @@ static uint32_t get_power_down_flags(void)
}
#endif
#if SOC_PM_SUPPORT_RC32K_PD
#if !SOC_CLK_RC32K_NOT_TO_USE
if (s_config.domain[ESP_PD_DOMAIN_RC32K].pd_option != ESP_PD_OPTION_ON) {
pd_flags |= PMU_SLEEP_PD_RC32K;
}
#else
pd_flags |= PMU_SLEEP_PD_RC32K;
#endif
#endif
#if SOC_PM_SUPPORT_RC_FAST_PD
if (s_config.domain[ESP_PD_DOMAIN_RC_FAST].pd_option != ESP_PD_OPTION_ON) {