mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 09:39:10 -04:00
Merge branch 'fix/fix_cpu_retention_build_error' into 'master'
fix(esp_hw_support): fix hw CPU retention chips build error if not powerdown CPU in sleep See merge request espressif/esp-idf!30930
This commit is contained in:
commit
375a4b878e
@ -2179,7 +2179,7 @@ static uint32_t get_power_down_flags(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SOC_PM_SUPPORT_CPU_PD
|
||||
#if SOC_PM_SUPPORT_CPU_PD && ESP_SLEEP_POWER_DOWN_CPU
|
||||
if ((s_config.domain[ESP_PD_DOMAIN_CPU].pd_option != ESP_PD_OPTION_ON) && cpu_domain_pd_allowed()) {
|
||||
pd_flags |= RTC_SLEEP_PD_CPU;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user