feat(esp_hw_support): add sleep_reentent UT case back

This commit is contained in:
wuzhenghui
2026-03-13 19:04:54 +08:00
parent a21d116a57
commit 08be3a6c85
3 changed files with 23 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
# SPDX-FileCopyrightText: 2022-2026 Espressif Systems (Shanghai) CO LTD
# SPDX-License-Identifier: CC0-1.0
import pytest
from pytest_embedded import Dut
from pytest_embedded_idf.utils import idf_parametrize
from pytest_embedded_idf.utils import soc_filtered_targets
@pytest.mark.generic
@pytest.mark.parametrize(
'config',
[
'default',
'xip_psram',
],
indirect=True,
)
@idf_parametrize('target', soc_filtered_targets('SOC_PAU_SUPPORTED == 1'), indirect=['target'])
def test_sleep_retention(dut: Dut) -> None:
dut.run_all_single_board_cases()

View File

@@ -0,0 +1,3 @@
CONFIG_IDF_TARGET="esp32p4"
CONFIG_ESP32P4_REV_MIN_301=y