feat(esp_hw_support): fix esp32p4 PVT retention link

This commit is contained in:
wuzhenghui
2026-07-07 21:47:10 +08:00
parent 481804aa0b
commit b94c0f8498
3 changed files with 28 additions and 6 deletions
+4
View File
@@ -719,6 +719,10 @@ static SLEEP_FN_ATTR void misc_modules_wake_prepare(uint32_t sleep_flags)
{
resume_timers(sleep_flags);
#if CONFIG_ESP_ENABLE_PVT && SOC_PVT_EN_WITH_SLEEP
if ((sleep_flags & PMU_SLEEP_PD_CPU) && !(sleep_flags & PMU_SLEEP_PD_TOP)) {
/* If TOP is powered down, configuration in pvt_auto_dbias_init was already restored in wakeup retention*/
pvt_auto_dbias_init();
}
pvt_func_enable(true);
#endif