Explorar el Código

Moved 'eth2ap' example to /examples/network folder

Ethernet related .build-test-rules.yml cleanup
Ondrej Kosta hace 2 años
padre
commit
4e10048400

+ 0 - 6
examples/ethernet/.build-test-rules.yml

@@ -1,11 +1,5 @@
 # Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps
 
-examples/ethernet/eth2ap:
-  disable:
-    - if: IDF_TARGET == "esp32h2"
-      temporary: true
-      reason: esp32h2 is not supported
-
 examples/ethernet/iperf:
   disable_test:
     - if: IDF_TARGET not in ["esp32"]

+ 7 - 1
examples/network/.build-test-rules.yml

@@ -4,13 +4,19 @@ examples/network/bridge:
   disable_test:
     - if: IDF_TARGET != "esp32"
       reason: Generic functionality, no need to be run on specific targets
+
+examples/network/eth2ap:
+  disable:
+    - if: SOC_WIFI_SUPPORTED != 1
+
 examples/network/simple_sniffer:
   disable:
-    - if: IDF_TARGET in ["esp32h2"]
+    - if: SOC_WIFI_SUPPORTED != 1
   disable_test:
     - if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"]
       temporary: true
       reason: lack of runners
+
 examples/network/sta_to_eth:
   disable:
     - if: SOC_WIFI_SUPPORTED != 1

+ 0 - 0
examples/ethernet/eth2ap/CMakeLists.txt → examples/network/eth2ap/CMakeLists.txt


+ 0 - 0
examples/ethernet/eth2ap/README.md → examples/network/eth2ap/README.md


+ 0 - 0
examples/ethernet/eth2ap/eth2ap.png → examples/network/eth2ap/eth2ap.png


+ 0 - 0
examples/ethernet/eth2ap/main/CMakeLists.txt → examples/network/eth2ap/main/CMakeLists.txt


+ 0 - 0
examples/ethernet/eth2ap/main/Kconfig.projbuild → examples/network/eth2ap/main/Kconfig.projbuild


+ 5 - 0
examples/ethernet/eth2ap/main/ethernet_example_main.c → examples/network/eth2ap/main/ethernet_example_main.c

@@ -1,3 +1,8 @@
+/*
+ * SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
+ *
+ * SPDX-License-Identifier: Unlicense OR CC0-1.0
+ */
 /* eth2ap (Ethernet to Wi-Fi AP packet forwarding) Example
 
    This example code is in the Public Domain (or CC0 licensed, at your option.)