remove(pm/deep_sleep): enable CI test for esp32h2 deepsleep

This commit is contained in:
Lou Tianhao
2023-08-01 18:04:05 +08:00
parent 5859b83232
commit 830a627362
7 changed files with 19 additions and 17 deletions

View File

@@ -12,7 +12,18 @@ touch_wake_up_support = ['esp32', 'esp32s2']
CONFIGS = [
pytest.param('esp32_singlecore', marks=[pytest.mark.esp32]),
pytest.param('basic', marks=[pytest.mark.esp32, pytest.mark.esp32s2, pytest.mark.esp32s3, pytest.mark.esp32c3, pytest.mark.esp32c6, pytest.mark.esp32c2]),
pytest.param(
'basic',
marks=[
pytest.mark.esp32,
pytest.mark.esp32s2,
pytest.mark.esp32s3,
pytest.mark.esp32c3,
pytest.mark.esp32c6,
pytest.mark.esp32h2,
pytest.mark.esp32c2,
],
),
]
@@ -23,7 +34,7 @@ def test_deep_sleep(dut: Dut) -> None:
def expect_enable_deep_sleep_touch() -> None:
# different targets configure different wake pin(s)
wake_pads = {
'esp32': [8,9],
'esp32': [8, 9],
'esp32s2': [9],
}[dut.target]