mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
ci(usb/host): enable esp32s31 and esp32h4 for USB host examples
Remove the temporary esp32s31 disable from usb/host build-test rules. Add esp32s31 and esp32h4 to the usb_host_msc and usb_host_lib pytest matrices. Keep the tests temp-skipped in CI until usb_host_flash_disk runners exist.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
| Supported Targets | ESP32-H4 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||
| ----------------- | -------- | -------- | -------- | -------- |
|
||||
| Supported Targets | ESP32-H4 | ESP32-P4 | ESP32-S2 | ESP32-S3 | ESP32-S31 |
|
||||
| ----------------- | -------- | -------- | -------- | -------- | --------- |
|
||||
|
||||
# USB Mass Storage Class example
|
||||
|
||||
|
||||
@@ -1,15 +1,24 @@
|
||||
# SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD
|
||||
# SPDX-FileCopyrightText: 2022-2026 Espressif Systems (Shanghai) CO LTD
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
import pytest
|
||||
from pytest_embedded import Dut
|
||||
from pytest_embedded_idf.utils import idf_parametrize
|
||||
|
||||
|
||||
@pytest.mark.temp_skip_ci(targets=['esp32s2'], reason='lack of runners with usb_host_flash_disk tag')
|
||||
@pytest.mark.temp_skip_ci(
|
||||
targets=['esp32s2', 'esp32s31', 'esp32h4'], reason='lack of runners with usb_host_flash_disk tag'
|
||||
)
|
||||
@pytest.mark.usb_host_flash_disk
|
||||
@idf_parametrize(
|
||||
'config,target',
|
||||
[('default', 'esp32s2'), ('default', 'esp32s3'), ('default', 'esp32p4'), ('esp32p4_psram', 'esp32p4')],
|
||||
[
|
||||
('default', 'esp32s2'),
|
||||
('default', 'esp32s3'),
|
||||
('default', 'esp32p4'),
|
||||
('esp32p4_psram', 'esp32p4'),
|
||||
('default', 'esp32s31'),
|
||||
('default', 'esp32h4'),
|
||||
],
|
||||
indirect=['config', 'target'],
|
||||
)
|
||||
def test_usb_host_msc_example(dut: Dut) -> None:
|
||||
|
||||
Reference in New Issue
Block a user