feat(esp_hw_support): use pvt auto dbias to support for esp32s31

This commit is contained in:
yanzihan@espressif.com
2026-09-16 18:31:27 +08:00
committed by wuzhenghui
parent e492079576
commit 38fea2d793
15 changed files with 335 additions and 31 deletions
@@ -125,7 +125,7 @@ esp_err_t sleep_pau_retention_init(void)
}
#endif
#if CONFIG_ESP_ENABLE_PVT
#if CONFIG_ESP_ENABLE_PVT && SOC_PVT_RETENTION_BY_REGDMA
esp_err_t sleep_pvt_retention_init(void)
{
esp_err_t err = sleep_retention_entries_create(pvt_regs_retention, ARRAY_SIZE(pvt_regs_retention), REGDMA_LINK_PRI_SYS_PERIPH_LOW, SLEEP_RETENTION_MODULE_SYS_PERIPH);