2024-01-24 11:51:16 -05:00
|
|
|
# SPDX-FileCopyrightText: 2022-2024 Espressif Systems (Shanghai) CO LTD
|
2022-10-03 07:22:19 -04:00
|
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
import pytest
|
|
|
|
from pytest_embedded import Dut
|
|
|
|
|
|
|
|
|
|
|
|
@pytest.mark.esp32
|
2023-12-11 02:32:21 -05:00
|
|
|
@pytest.mark.esp32c3
|
2022-10-03 07:22:19 -04:00
|
|
|
@pytest.mark.sdcard_sdmode
|
|
|
|
@pytest.mark.parametrize(
|
|
|
|
'config',
|
|
|
|
[
|
|
|
|
'default',
|
|
|
|
'release',
|
|
|
|
]
|
|
|
|
)
|
|
|
|
def test_fatfs_sdcard_generic_sdmmc(dut: Dut) -> None:
|
2023-12-20 03:23:55 -05:00
|
|
|
dut.run_all_single_board_cases(group='sdmmc', timeout=180)
|
2022-10-03 07:22:19 -04:00
|
|
|
|
|
|
|
|
|
|
|
@pytest.mark.esp32
|
2024-03-04 22:38:30 -05:00
|
|
|
@pytest.mark.temp_skip_ci(targets=['esp32'], reason='IDFCI-2058, temporary lack runner')
|
2022-10-03 07:22:19 -04:00
|
|
|
@pytest.mark.esp32c3
|
|
|
|
@pytest.mark.sdcard_spimode
|
|
|
|
@pytest.mark.parametrize(
|
|
|
|
'config',
|
|
|
|
[
|
|
|
|
'default',
|
|
|
|
'release',
|
|
|
|
]
|
|
|
|
)
|
|
|
|
def test_fatfs_sdcard_generic_sdspi(dut: Dut) -> None:
|
2023-12-20 03:23:55 -05:00
|
|
|
dut.run_all_single_board_cases(group='sdspi', timeout=180)
|
2022-10-03 07:22:19 -04:00
|
|
|
|
|
|
|
|
|
|
|
@pytest.mark.esp32
|
|
|
|
@pytest.mark.sdcard_sdmode
|
|
|
|
@pytest.mark.psram
|
|
|
|
@pytest.mark.parametrize(
|
|
|
|
'config',
|
|
|
|
[
|
|
|
|
'psram',
|
|
|
|
]
|
|
|
|
)
|
|
|
|
def test_fatfs_sdcard_psram_sdmmc(dut: Dut) -> None:
|
2023-12-20 03:23:55 -05:00
|
|
|
dut.run_all_single_board_cases(group='sdmmc', timeout=180)
|
2022-10-03 07:22:19 -04:00
|
|
|
|
|
|
|
|
|
|
|
@pytest.mark.esp32
|
2024-03-04 22:38:30 -05:00
|
|
|
@pytest.mark.temp_skip_ci(targets=['esp32'], reason='IDFCI-2058, temporary lack runner')
|
2022-10-03 07:22:19 -04:00
|
|
|
@pytest.mark.sdcard_spimode
|
|
|
|
@pytest.mark.psram
|
|
|
|
@pytest.mark.parametrize(
|
|
|
|
'config',
|
|
|
|
[
|
|
|
|
'psram',
|
|
|
|
]
|
|
|
|
)
|
|
|
|
def test_fatfs_sdcard_psram_sdspi(dut: Dut) -> None:
|
2023-12-20 03:23:55 -05:00
|
|
|
dut.run_all_single_board_cases(group='sdspi', timeout=180)
|