2024-01-19 08:38:30 -05:00
|
|
|
# SPDX-FileCopyrightText: 2022-2024 Espressif Systems (Shanghai) CO LTD
|
2022-10-06 17:16:54 -04:00
|
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
import pytest
|
|
|
|
from pytest_embedded import Dut
|
|
|
|
|
|
|
|
|
|
|
|
@pytest.mark.esp32s2
|
|
|
|
@pytest.mark.esp32s3
|
2024-01-19 08:38:30 -05:00
|
|
|
@pytest.mark.esp32p4
|
2024-01-30 06:13:46 -05:00
|
|
|
@pytest.mark.temp_skip_ci(targets=['esp32s2'], reason='lack of runners with usb_host_flash_disk tag')
|
2022-10-06 17:16:54 -04:00
|
|
|
@pytest.mark.usb_host_flash_disk
|
|
|
|
def test_usb_host(dut: Dut) -> None:
|
2024-01-30 06:13:46 -05:00
|
|
|
if (dut.target == 'esp32s3'):
|
|
|
|
dut.run_all_single_board_cases(group='full_speed')
|
|
|
|
else:
|
|
|
|
dut.run_all_single_board_cases(group='high_speed')
|