esp_adc: fix continuous mode pm lock release fail issue and add tests

Closes https://github.com/espressif/esp-idf/issues/10853
This commit is contained in:
Armando
2023-02-28 11:22:01 +08:00
parent 8486a2c3ad
commit 53f1c35826
3 changed files with 16 additions and 12 deletions

View File

@@ -15,6 +15,7 @@ from pytest_embedded import Dut
@pytest.mark.parametrize('config', [
'iram_safe',
'release',
'pm_enable'
], indirect=True)
def test_adc(dut: Dut) -> None:
dut.expect_exact('Press ENTER to see the list of tests')
@@ -22,6 +23,7 @@ def test_adc(dut: Dut) -> None:
dut.expect_unity_test_output(timeout=120)
# No PM test, as C2 doesn't support ADC continuous mode
@pytest.mark.esp32c2
@pytest.mark.adc
@pytest.mark.xtal_26mhz