ソースを参照

Moved 'eth2ap' example to /examples/network folder

Ethernet related .build-test-rules.yml cleanup
Ondrej Kosta 2 年 前
コミット
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
 # 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:
 examples/ethernet/iperf:
   disable_test:
   disable_test:
     - if: IDF_TARGET not in ["esp32"]
     - if: IDF_TARGET not in ["esp32"]

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

@@ -4,13 +4,19 @@ examples/network/bridge:
   disable_test:
   disable_test:
     - if: IDF_TARGET != "esp32"
     - if: IDF_TARGET != "esp32"
       reason: Generic functionality, no need to be run on specific targets
       reason: Generic functionality, no need to be run on specific targets
+
+examples/network/eth2ap:
+  disable:
+    - if: SOC_WIFI_SUPPORTED != 1
+
 examples/network/simple_sniffer:
 examples/network/simple_sniffer:
   disable:
   disable:
-    - if: IDF_TARGET in ["esp32h2"]
+    - if: SOC_WIFI_SUPPORTED != 1
   disable_test:
   disable_test:
     - if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"]
     - if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"]
       temporary: true
       temporary: true
       reason: lack of runners
       reason: lack of runners
+
 examples/network/sta_to_eth:
 examples/network/sta_to_eth:
   disable:
   disable:
     - if: SOC_WIFI_SUPPORTED != 1
     - 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
 /* eth2ap (Ethernet to Wi-Fi AP packet forwarding) Example
 
 
    This example code is in the Public Domain (or CC0 licensed, at your option.)
    This example code is in the Public Domain (or CC0 licensed, at your option.)