feat(esp_hw_support): support esp32p4 sleep cpu retention

This commit is contained in:
wuzhenghui
2024-01-15 17:27:13 +08:00
parent 03e5e4970d
commit bbc8fd5c9c
14 changed files with 1125 additions and 33 deletions

View File

@@ -370,7 +370,7 @@ static esp_err_t esp_pm_sleep_configure(const void *vconfig)
esp_err_t err = ESP_OK;
const esp_pm_config_t* config = (const esp_pm_config_t*) vconfig;
#if SOC_PM_SUPPORT_CPU_PD
#if CONFIG_PM_POWER_DOWN_CPU_IN_LIGHT_SLEEP
err = sleep_cpu_configure(config->light_sleep_enable);
if (err != ESP_OK) {
return err;