2023-01-09 14:39:24 +08:00
|
|
|
# SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
2022-04-07 15:32:46 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
import pytest
|
|
|
|
from pytest_embedded import Dut
|
|
|
|
|
|
|
|
|
|
|
|
@pytest.mark.esp32
|
|
|
|
@pytest.mark.esp32s2
|
|
|
|
@pytest.mark.esp32c3
|
2022-11-14 16:28:00 +08:00
|
|
|
@pytest.mark.esp32c6
|
2022-04-07 15:32:46 +08:00
|
|
|
@pytest.mark.esp32s3
|
2023-02-22 19:44:15 +08:00
|
|
|
@pytest.mark.esp32h2
|
2024-01-15 17:33:48 +08:00
|
|
|
@pytest.mark.esp32p4
|
2022-04-07 15:32:46 +08:00
|
|
|
@pytest.mark.generic
|
|
|
|
@pytest.mark.parametrize(
|
|
|
|
'config',
|
|
|
|
[
|
|
|
|
'iram_safe',
|
|
|
|
'release',
|
|
|
|
],
|
|
|
|
indirect=True,
|
|
|
|
)
|
|
|
|
def test_i2s(dut: Dut) -> None:
|
2023-03-09 12:15:06 +08:00
|
|
|
dut.run_all_single_board_cases()
|