2023-09-21 07:04:31 -04:00
|
|
|
# SPDX-FileCopyrightText: 2021-2023 Espressif Systems (Shanghai) CO LTD
|
2022-12-20 06:39:36 -05:00
|
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
|
|
|
|
import pytest
|
|
|
|
from pytest_embedded_idf import IdfDut
|
|
|
|
|
|
|
|
|
|
|
|
@pytest.mark.supported_targets
|
2024-01-03 06:32:00 -05:00
|
|
|
@pytest.mark.temp_skip_ci(targets=['esp32s3', 'esp32p4'], reason='skip due to duplication with test_ledc_psram, p4 TBD') # TODO: IDF-8969
|
2022-12-20 06:39:36 -05:00
|
|
|
@pytest.mark.generic
|
|
|
|
@pytest.mark.parametrize(
|
|
|
|
'config',
|
|
|
|
[
|
|
|
|
'iram_safe',
|
|
|
|
'release',
|
|
|
|
],
|
|
|
|
indirect=True,
|
|
|
|
)
|
|
|
|
def test_ledc(dut: IdfDut) -> None:
|
|
|
|
dut.run_all_single_board_cases()
|
2023-09-21 07:04:31 -04:00
|
|
|
|
|
|
|
|
|
|
|
@pytest.mark.esp32s3
|
|
|
|
@pytest.mark.octal_psram
|
|
|
|
@pytest.mark.parametrize(
|
|
|
|
'config',
|
|
|
|
[
|
|
|
|
'iram_safe',
|
|
|
|
'release',
|
|
|
|
],
|
|
|
|
indirect=True,
|
|
|
|
)
|
|
|
|
def test_ledc_psram(dut: IdfDut) -> None:
|
|
|
|
dut.run_all_single_board_cases()
|