mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
feat(sdio): add hw_test example for signal integrity checks
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
# SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
import os
|
||||
from typing import Tuple
|
||||
|
||||
import pytest
|
||||
from pytest_embedded_idf import IdfDut
|
||||
@@ -12,12 +11,16 @@ from pytest_embedded_idf.utils import idf_parametrize
|
||||
@pytest.mark.parametrize(
|
||||
'count, app_path',
|
||||
[
|
||||
(2, f'{os.path.join(os.path.dirname(__file__), "host")}|{os.path.join(os.path.dirname(__file__), "slave")}'),
|
||||
(
|
||||
2,
|
||||
f'{os.path.join(os.path.dirname(__file__), "basic", "host")}|'
|
||||
f'{os.path.join(os.path.dirname(__file__), "basic", "slave")}',
|
||||
),
|
||||
],
|
||||
indirect=True,
|
||||
)
|
||||
@idf_parametrize('target', ['esp32'], indirect=['target'])
|
||||
def test_example_sdio_communication(dut: Tuple[IdfDut, IdfDut]) -> None:
|
||||
def test_example_sdio_communication(dut: tuple[IdfDut, IdfDut]) -> None:
|
||||
"""
|
||||
Configurations
|
||||
host = host -> slave = slave
|
||||
|
||||
Reference in New Issue
Block a user