change(esp_hw_support): remove sleep_mmu_retention related flow for esp32c5 eco1

This commit is contained in:
hebinglin
2026-02-01 11:59:16 +08:00
committed by BOT
parent c675bff4ee
commit dbcc949b1c
7 changed files with 2 additions and 200 deletions
@@ -1,5 +1,5 @@
/*
* SPDX-FileCopyrightText: 2022-2024 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2022-2026 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Unlicense OR CC0-1.0
*/
@@ -64,13 +64,7 @@ TEST_CASE("Task WDT task timeout after peripheral powerdown lightsleep", "[task_
TEST_ESP_OK(sleep_cpu_configure(true));
esp_sleep_context_t sleep_ctx;
esp_sleep_set_sleep_context(&sleep_ctx);
#if SOC_PM_MMU_TABLE_RETENTION_WHEN_TOP_PD
/* There is a bug that PD TOP will reset mmu table, so we add mmu table retention during sleep,
and it will increase time overhead before entering sleep */
esp_sleep_enable_timer_wakeup(100 * 1000);
#else
esp_sleep_enable_timer_wakeup(10 * 1000);
#endif
esp_light_sleep_start();