2025-02-24 10:18:03 +08:00
|
|
|
# SPDX-FileCopyrightText: 2023-2025 Espressif Systems (Shanghai) CO LTD
|
2023-04-06 20:32:23 +05:30
|
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
import pytest
|
|
|
|
from pytest_embedded import Dut
|
2025-02-24 10:18:03 +08:00
|
|
|
from pytest_embedded_idf.utils import idf_parametrize
|
2023-04-06 20:32:23 +05:30
|
|
|
|
|
|
|
|
2024-12-17 18:35:13 +01:00
|
|
|
@pytest.mark.generic
|
2025-02-24 10:18:03 +08:00
|
|
|
@pytest.mark.parametrize(
|
|
|
|
'config',
|
|
|
|
[
|
|
|
|
'default',
|
|
|
|
'iram',
|
|
|
|
],
|
|
|
|
indirect=True,
|
|
|
|
)
|
|
|
|
@idf_parametrize('target', ['esp32c2', 'esp32c3', 'esp32c6', 'esp32h2'], indirect=['target'])
|
2023-04-06 20:32:23 +05:30
|
|
|
def test_vfs_default(dut: Dut) -> None:
|
|
|
|
dut.run_all_single_board_cases()
|
|
|
|
|
|
|
|
|
2024-12-17 18:35:13 +01:00
|
|
|
@pytest.mark.generic
|
2025-02-24 10:18:03 +08:00
|
|
|
@pytest.mark.parametrize(
|
|
|
|
'config',
|
|
|
|
[
|
|
|
|
'ccomp',
|
|
|
|
],
|
|
|
|
indirect=True,
|
|
|
|
)
|
|
|
|
@idf_parametrize('target', ['esp32'], indirect=['target'])
|
2023-04-06 20:32:23 +05:30
|
|
|
def test_vfs_ccomp(dut: Dut) -> None:
|
|
|
|
dut.run_all_single_board_cases()
|
|
|
|
|
|
|
|
|
|
|
|
@pytest.mark.quad_psram
|
2025-02-24 10:18:03 +08:00
|
|
|
@pytest.mark.parametrize(
|
|
|
|
'config',
|
|
|
|
[
|
|
|
|
'psram',
|
|
|
|
],
|
|
|
|
indirect=True,
|
|
|
|
)
|
|
|
|
@idf_parametrize('target', ['esp32s3'], indirect=['target'])
|
2023-04-06 20:32:23 +05:30
|
|
|
def test_vfs_psram(dut: Dut) -> None:
|
|
|
|
dut.run_all_single_board_cases()
|