forked from espressif/esp-idf
feat(esp_eth): removed disable of C5 and P4 from examples .build-test-rules
Updated examples to be able to build for C5 and P4. Added Ethernet support for static_ip example.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||
|
||||
|
||||
# UDP Client example
|
||||
@@ -91,7 +91,7 @@ Choose connection capabilities in `Example Connection Configuration` menu:
|
||||
* If you want to connect lwIP network interface to the host system networking, set `EXAMPLE_CONNECT_LWIP_TAPIF`.
|
||||
* Configure the interface address information (IP address, GW address and netmask).
|
||||
* Create a host network interface named `tap0` of *TAP* type. You can use the `./make_tap_netif` script located in the `tapif_io` component directory.
|
||||
* Optionally set input or output packet loss rate to simulate loosing data of physical interfaces.
|
||||
* Optionally set input or output packet loss rate to simulate losing data of physical interfaces.
|
||||
* Note about the host side networking:
|
||||
* This example uses static IP address configured in `tapif_io` component configuration.
|
||||
* Use the IP ranges that do not overlap with any other IP range of the host system.
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
# SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
|
||||
# SPDX-FileCopyrightText: 2021-2024 Espressif Systems (Shanghai) CO LTD
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import logging
|
||||
import socket
|
||||
|
||||
import pytest
|
||||
from common_test_methods import (get_env_config_variable, get_host_ip4_by_dest_ip, get_host_ip6_by_dest_ip,
|
||||
get_my_interface_by_dest_ip)
|
||||
from common_test_methods import get_env_config_variable
|
||||
from common_test_methods import get_host_ip4_by_dest_ip
|
||||
from common_test_methods import get_host_ip6_by_dest_ip
|
||||
from common_test_methods import get_my_interface_by_dest_ip
|
||||
from pexpect.exceptions import TIMEOUT
|
||||
from pytest_embedded import Dut
|
||||
|
||||
@@ -28,6 +29,7 @@ MAX_RETRIES = 3
|
||||
@pytest.mark.esp32c2
|
||||
@pytest.mark.esp32c3
|
||||
@pytest.mark.esp32s3
|
||||
@pytest.mark.esp32c5
|
||||
@pytest.mark.esp32c6
|
||||
@pytest.mark.wifi_router
|
||||
def test_examples_udp_client_ipv4(dut: Dut) -> None:
|
||||
|
||||
Reference in New Issue
Block a user