feat(ledc): added a multi device test for testing ledc output in sleep

This commit is contained in:
Song Ruo Jing
2024-10-24 13:39:05 +08:00
parent b918a31b7b
commit 7df8467be5
5 changed files with 87 additions and 4 deletions

View File

@@ -32,3 +32,19 @@ def test_ledc(dut: IdfDut) -> None:
)
def test_ledc_psram(dut: IdfDut) -> None:
dut.run_all_single_board_cases(reset=True)
@pytest.mark.supported_targets
@pytest.mark.temp_skip_ci(targets=['esp32s3', 'esp32c61'],
reason='s3 multi device runner has no psram, c61 lack of runner IDF-10949')
@pytest.mark.generic_multi_device
@pytest.mark.parametrize(
'count, config',
[
(2, 'iram_safe',),
(2, 'release',),
],
indirect=True
)
def test_ledc_multi_device(case_tester) -> None: # type: ignore
case_tester.run_all_multi_dev_cases(reset=True)