From c07d237ffe5e5f44ba114ba0a8150c748ca46202 Mon Sep 17 00:00:00 2001 From: Chen Yudong Date: Mon, 9 Jan 2023 20:58:27 +0800 Subject: [PATCH] examples: enable build esp32c6 for wifi and network examples --- .gitlab/ci/build.yml | 2 +- examples/mesh/.build-test-rules.yml | 2 +- .../mesh/internal_communication/README.md | 4 +- examples/mesh/ip_internal_network/README.md | 4 +- examples/mesh/manual_networking/README.md | 4 +- examples/network/.build-test-rules.yml | 12 +- examples/network/network_tests/README.md | 4 +- examples/network/simple_sniffer/README.md | 4 +- examples/protocols/.build-test-rules.yml | 184 +++--------------- examples/protocols/coap_client/README.md | 4 +- examples/protocols/coap_server/README.md | 4 +- examples/protocols/esp_http_client/README.md | 4 +- .../esp_http_client/pytest_esp_http_client.py | 21 +- examples/protocols/esp_local_ctrl/README.md | 4 +- examples/protocols/http2_request/README.md | 4 +- .../http2_request/pytest_http2_request.py | 3 - examples/protocols/http_request/README.md | 4 +- .../http_request/pytest_http_request.py | 5 +- .../http_server/advanced_tests/README.md | 4 +- .../http_server/file_serving/README.md | 4 +- .../http_server/persistent_sockets/README.md | 4 +- .../http_server/restful_server/README.md | 4 +- .../protocols/http_server/simple/README.md | 4 +- examples/protocols/https_mbedtls/README.md | 4 +- .../https_mbedtls/pytest_https_mbedtls.py | 3 - examples/protocols/https_request/README.md | 4 +- .../https_request/pytest_https_request.py | 11 +- .../protocols/https_server/simple/README.md | 4 +- .../https_server/wss_server/README.md | 4 +- .../protocols/https_x509_bundle/README.md | 4 +- examples/protocols/icmp_echo/README.md | 4 +- examples/protocols/l2tap/README.md | 4 +- examples/protocols/mqtt/ssl/README.md | 4 +- .../protocols/mqtt/ssl_ds/main/CMakeLists.txt | 3 +- .../protocols/mqtt/ssl_mutual_auth/README.md | 4 +- examples/protocols/mqtt/ssl_psk/README.md | 4 +- examples/protocols/mqtt/tcp/README.md | 4 +- examples/protocols/mqtt/ws/README.md | 4 +- examples/protocols/mqtt/wss/README.md | 4 +- examples/protocols/mqtt5/README.md | 4 +- examples/protocols/smtp_client/README.md | 4 +- .../protocols/sockets/icmpv6_ping/README.md | 4 +- .../protocols/sockets/tcp_client/README.md | 4 +- .../sockets/tcp_client_multi_net/README.md | 4 +- .../protocols/sockets/tcp_server/README.md | 4 +- .../sockets/tcp_transport_client/README.md | 4 +- .../protocols/sockets/udp_client/README.md | 4 +- .../protocols/sockets/udp_multicast/README.md | 4 +- .../protocols/sockets/udp_server/README.md | 4 +- examples/protocols/static_ip/README.md | 4 +- examples/wifi/.build-test-rules.yml | 18 +- examples/wifi/espnow/README.md | 4 +- examples/wifi/fast_scan/README.md | 4 +- .../wifi/getting_started/softAP/README.md | 4 +- .../wifi/getting_started/station/README.md | 4 +- examples/wifi/iperf/README.md | 4 +- examples/wifi/power_save/README.md | 4 +- examples/wifi/roaming/README.md | 4 +- examples/wifi/scan/README.md | 4 +- examples/wifi/smart_config/README.md | 4 +- examples/wifi/wifi_eap_fast/README.md | 4 +- .../wifi_easy_connect/dpp-enrollee/README.md | 4 +- examples/wifi/wifi_enterprise/README.md | 4 +- examples/wifi/wps/README.md | 4 +- examples/wifi/wps_softap_registrar/README.md | 4 +- 65 files changed, 149 insertions(+), 331 deletions(-) diff --git a/.gitlab/ci/build.yml b/.gitlab/ci/build.yml index 1c03301d2d..81073e7b1c 100644 --- a/.gitlab/ci/build.yml +++ b/.gitlab/ci/build.yml @@ -616,7 +616,7 @@ build_examples_cmake_esp32c6: extends: - .build_cmake_template - .rules:build:example_test-esp32c6 - parallel: 2 + parallel: 4 variables: IDF_TARGET: esp32c6 TEST_DIR: examples diff --git a/examples/mesh/.build-test-rules.yml b/examples/mesh/.build-test-rules.yml index 6119149ffb..355db65197 100644 --- a/examples/mesh/.build-test-rules.yml +++ b/examples/mesh/.build-test-rules.yml @@ -2,6 +2,6 @@ examples/mesh: disable: - - if: IDF_TARGET == "esp32c2" or IDF_TARGET == "esp32c6" + - if: IDF_TARGET == "esp32c2" temporary: true reason: target(s) not supported yet diff --git a/examples/mesh/internal_communication/README.md b/examples/mesh/internal_communication/README.md index 4e21560bec..a7179b9b98 100644 --- a/examples/mesh/internal_communication/README.md +++ b/examples/mesh/internal_communication/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | # Mesh Internal Communication Example diff --git a/examples/mesh/ip_internal_network/README.md b/examples/mesh/ip_internal_network/README.md index 34b46ea454..d3cec3f7ee 100644 --- a/examples/mesh/ip_internal_network/README.md +++ b/examples/mesh/ip_internal_network/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | # Mesh IP Internal Networking example diff --git a/examples/mesh/manual_networking/README.md b/examples/mesh/manual_networking/README.md index bc5c847482..c3dba9ee1e 100644 --- a/examples/mesh/manual_networking/README.md +++ b/examples/mesh/manual_networking/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | # Mesh Manual Networking Example diff --git a/examples/network/.build-test-rules.yml b/examples/network/.build-test-rules.yml index d47b6d458d..4e858e6bb4 100644 --- a/examples/network/.build-test-rules.yml +++ b/examples/network/.build-test-rules.yml @@ -1,16 +1,10 @@ # Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps -examples/network/network_tests: - disable: - - if: IDF_TARGET == "esp32c2" - temporary: true - reason: target esp32c2 is not supported yet +examples/network: + enable: + - if: INCLUDE_DEFAULT == 1 examples/network/simple_sniffer: - disable: - - if: IDF_TARGET == "esp32c6" - temporary: true - reason: target esp32c6 is not supported yet disable_test: - if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"] temporary: true diff --git a/examples/network/network_tests/README.md b/examples/network/network_tests/README.md index 7a9ba6f59d..d61fe2ba19 100644 --- a/examples/network/network_tests/README.md +++ b/examples/network/network_tests/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # Intel net test suite for LwIP network stack diff --git a/examples/network/simple_sniffer/README.md b/examples/network/simple_sniffer/README.md index addfc1950a..4eda0836a9 100644 --- a/examples/network/simple_sniffer/README.md +++ b/examples/network/simple_sniffer/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # Simple Sniffer Example diff --git a/examples/protocols/.build-test-rules.yml b/examples/protocols/.build-test-rules.yml index 21b8d081f8..b5973245a1 100644 --- a/examples/protocols/.build-test-rules.yml +++ b/examples/protocols/.build-test-rules.yml @@ -1,53 +1,35 @@ # Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps examples/protocols/coap_client: - disable: - - if: IDF_TARGET == "esp32c6" - temporary: true - reason: target esp32c6 is not supported yet disable_test: - if: IDF_TARGET != "esp32" reason: running this test on single platform is sufficient for coverage -examples/protocols/coap_server: - disable: - - if: IDF_TARGET == "esp32c2" or IDF_TARGET == "esp32c6" - temporary: true - reason: target(s) not supported yet - examples/protocols/esp_http_client: - disable: - - if: IDF_TARGET == "esp32c6" + disable_test: + - if: IDF_TARGET != "esp32" temporary: true - reason: target esp32c6 is not supported yet + reason: only test on esp32 examples/protocols/esp_local_ctrl: - disable: - - if: IDF_TARGET == "esp32c6" - temporary: true - reason: target esp32c6 is not supported yet disable_test: - if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"] temporary: true reason: lack of runners examples/protocols/http2_request: - disable: - - if: IDF_TARGET == "esp32c2" or IDF_TARGET == "esp32c6" + disable_test: + - if: IDF_TARGET != "esp32" temporary: true - reason: target(s) not supported yet + reason: only test on esp32 examples/protocols/http_request: - disable: - - if: IDF_TARGET == "esp32c2" or IDF_TARGET == "esp32c6" + disable_test: + - if: IDF_TARGET != "esp32" temporary: true - reason: target(s) not supported yet + reason: only test on esp32 examples/protocols/http_server: - disable: - - if: IDF_TARGET == "esp32c2" or IDF_TARGET == "esp32c6" - temporary: true - reason: target(s) not supported yet disable_test: - if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"] temporary: true @@ -66,78 +48,44 @@ examples/protocols/http_server/ws_echo_server: reason: only test on esp32 examples/protocols/https_mbedtls: - disable: - - if: IDF_TARGET == "esp32c6" - temporary: true - reason: target esp32c6 is not supported yet disable_test: - - if: IDF_TARGET == "esp32c2" + - if: IDF_TARGET != "esp32" temporary: true reason: lack of runners examples/protocols/https_request: - disable: - - if: IDF_TARGET == "esp32c6" + disable_test: + - if: IDF_TARGET != "esp32" temporary: true - reason: target esp32c6 is not supported yet + reason: lack of runners examples/protocols/https_server/simple: - disable: - - if: IDF_TARGET == "esp32c6" - temporary: true - reason: target esp32c6 is not supported yet disable_test: - if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"] temporary: true reason: lack of runners examples/protocols/https_server/wss_server: - disable: - - if: IDF_TARGET == "esp32c6" - temporary: true - reason: target esp32c6 is not supported yet disable_test: - if: IDF_TARGET != "esp32" temporary: true reason: only test on esp32 examples/protocols/https_x509_bundle: - disable: - - if: IDF_TARGET == "esp32c6" - temporary: true - reason: target esp32c6 is not supported yet disable_test: - if: IDF_TARGET != "esp32" temporary: true reason: lack of runners examples/protocols/icmp_echo: - disable: - - if: IDF_TARGET == "esp32c6" - temporary: true - reason: target esp32c6 is not supported yet disable_test: - if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"] temporary: true reason: lack of runners examples/protocols/l2tap: - disable: - - if: IDF_TARGET == "esp32c2" or IDF_TARGET == "esp32c6" - temporary: true - reason: target(s) not supported yet disable_test: - - if: IDF_TARGET in ["esp32c3", "esp32s2", "esp32s3"] - temporary: true - reason: lack of runners - -examples/protocols/mdns: - disable: - - if: IDF_TARGET == "esp32c2" - temporary: true - reason: target esp32c2 is not supported yet - disable_test: - - if: IDF_TARGET in ["esp32c3", "esp32s2", "esp32s3"] + - if: IDF_TARGET != "esp32" temporary: true reason: lack of runners @@ -148,95 +96,47 @@ examples/protocols/modbus: reason: target(s) not supported yet examples/protocols/mqtt/ssl: - disable: - - if: IDF_TARGET == "esp32c2" or IDF_TARGET == "esp32c6" - temporary: true - reason: target(s) not supported yet disable_test: - - if: IDF_TARGET in ["esp32c3", "esp32s2", "esp32s3"] + - if: IDF_TARGET != "esp32" temporary: true reason: lack of runners examples/protocols/mqtt/ssl_ds: - enable: - - if: IDF_TARGET in ["esp32c3", "esp32s2", "esp32s3"] - -examples/protocols/mqtt/ssl_mutual_auth: disable: - - if: IDF_TARGET == "esp32c2" or IDF_TARGET == "esp32c6" - temporary: true - reason: target(s) not supported yet - -examples/protocols/mqtt/ssl_psk: - disable: - - if: IDF_TARGET == "esp32c2" or IDF_TARGET == "esp32c6" - temporary: true - reason: target(s) not supported yet + - if: SOC_DIG_SIGN_SUPPORTED != 1 + temporary: false + reason: DS not present examples/protocols/mqtt/tcp: - disable: - - if: IDF_TARGET == "esp32c2" or IDF_TARGET == "esp32c6" - temporary: true - reason: target(s) not supported yet disable_test: - - if: IDF_TARGET in ["esp32c3", "esp32s2", "esp32s3"] + - if: IDF_TARGET != "esp32" temporary: true reason: lack of runners examples/protocols/mqtt/ws: - disable: - - if: IDF_TARGET == "esp32c2" or IDF_TARGET == "esp32c6" - temporary: true - reason: target(s) not supported yet disable_test: - - if: IDF_TARGET in ["esp32c3", "esp32s2", "esp32s3"] + - if: IDF_TARGET != "esp32" temporary: true reason: lack of runners examples/protocols/mqtt/wss: - disable: - - if: IDF_TARGET == "esp32c2" or IDF_TARGET == "esp32c6" - temporary: true - reason: target(s) not supported yet disable_test: - - if: IDF_TARGET in ["esp32c3", "esp32s2", "esp32s3"] + - if: IDF_TARGET != "esp32" temporary: true reason: lack of runners examples/protocols/mqtt5: - disable: - - if: IDF_TARGET == "esp32c2" or IDF_TARGET == "esp32c6" - temporary: true - reason: target(s) not supported yet disable_test: - - if: IDF_TARGET in ["esp32c3", "esp32s2", "esp32s3"] + - if: IDF_TARGET != "esp32" temporary: true reason: lack of runners -examples/protocols/slip/slip_udp: - disable: - - if: IDF_TARGET == "esp32c2" - temporary: true - reason: target esp32c2 is not supported yet - -examples/protocols/smtp_client: - disable: - - if: IDF_TARGET == "esp32c2" or IDF_TARGET == "esp32c6" - temporary: true - reason: target(s) not supported yet - examples/protocols/sntp: enable: - if: IDF_TARGET == "esp32" temporary: true reason: the other targets are not tested yet -examples/protocols/sockets/icmpv6_ping: - enable: - - if: IDF_TARGET in ["esp32", "esp32c2", "esp32c3", "esp32s2", "esp32s3"] - temporary: true - reason: Example test has not been implemented yet - examples/protocols/sockets/non_blocking: disable_test: - if: IDF_TARGET != "esp32" @@ -244,10 +144,6 @@ examples/protocols/sockets/non_blocking: reason: lack of runners examples/protocols/sockets/tcp_client: - disable: - - if: IDF_TARGET == "esp32c6" - temporary: true - reason: target esp32c6 is not supported yet disable_test: - if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"] temporary: true @@ -255,56 +151,20 @@ examples/protocols/sockets/tcp_client: enable: - if: INCLUDE_DEFAULT == 1 or IDF_TARGET == "linux" -examples/protocols/sockets/tcp_client_multi_net: - disable: - - if: IDF_TARGET == "esp32c2" or IDF_TARGET == "esp32c6" - temporary: true - reason: target(s) not supported yet - examples/protocols/sockets/tcp_server: - disable: - - if: IDF_TARGET == "esp32c6" - temporary: true - reason: target esp32c6 is not supported yet disable_test: - if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"] temporary: true reason: lack of runners -examples/protocols/sockets/tcp_transport_client: - disable: - - if: IDF_TARGET == "esp32c6" - temporary: true - reason: target esp32c6 is not supported yet - examples/protocols/sockets/udp_client: - disable: - - if: IDF_TARGET == "esp32c2" or IDF_TARGET == "esp32c6" - temporary: true - reason: target(s) not supported yet disable_test: - if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"] temporary: true reason: lack of runners -examples/protocols/sockets/udp_multicast: - disable: - - if: IDF_TARGET == "esp32c6" - temporary: true - reason: target esp32c6 is not supported yet - examples/protocols/sockets/udp_server: - disable: - - if: IDF_TARGET == "esp32c6" - temporary: true - reason: target esp32c6 is not supported yet disable_test: - if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"] temporary: true reason: lack of runners - -examples/protocols/static_ip: - disable: - - if: IDF_TARGET == "esp32c6" - temporary: true - reason: target esp32c6 is not supported yet diff --git a/examples/protocols/coap_client/README.md b/examples/protocols/coap_client/README.md index a9b39c55cd..76c67008fc 100644 --- a/examples/protocols/coap_client/README.md +++ b/examples/protocols/coap_client/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # CoAP client example diff --git a/examples/protocols/coap_server/README.md b/examples/protocols/coap_server/README.md index 8fc63f5b5b..eb8d365b90 100644 --- a/examples/protocols/coap_server/README.md +++ b/examples/protocols/coap_server/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # CoAP server example diff --git a/examples/protocols/esp_http_client/README.md b/examples/protocols/esp_http_client/README.md index ecf41d8598..e4d347def2 100644 --- a/examples/protocols/esp_http_client/README.md +++ b/examples/protocols/esp_http_client/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # ESP HTTP Client Example diff --git a/examples/protocols/esp_http_client/pytest_esp_http_client.py b/examples/protocols/esp_http_client/pytest_esp_http_client.py index d87bb07da6..ec6d01444f 100644 --- a/examples/protocols/esp_http_client/pytest_esp_http_client.py +++ b/examples/protocols/esp_http_client/pytest_esp_http_client.py @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD +# SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD # SPDX-License-Identifier: Unlicense OR CC0-1.0 import logging import os @@ -8,14 +8,11 @@ from pytest_embedded import Dut @pytest.mark.esp32 -@pytest.mark.esp32c3 -@pytest.mark.esp32s2 -@pytest.mark.esp32s3 @pytest.mark.ethernet def test_examples_protocol_esp_http_client(dut: Dut) -> None: """ steps: | - 1. join AP + 1. join AP/Ethernet 2. Send HTTP request to httpbin.org """ binary_file = os.path.join(dut.app.binary_path, 'esp_http_client_example.bin') @@ -57,15 +54,11 @@ def test_examples_protocol_esp_http_client(dut: Dut) -> None: dut.expect('Finish http example') -@pytest.mark.parametrize( - 'config', - [ - pytest.param('ssldyn', marks=[pytest.mark.supported_targets, - pytest.mark.temp_skip_ci(targets=['esp32c6'], reason='c6 support TBD'), - pytest.mark.ethernet]), - ], - indirect=True -) +@pytest.mark.esp32 +@pytest.mark.ethernet +@pytest.mark.parametrize('config', [ + 'ssldyn', +], indirect=True) def test_examples_protocol_esp_http_client_dynamic_buffer(dut: Dut) -> None: # test mbedtls dynamic resource # check and log bin size diff --git a/examples/protocols/esp_local_ctrl/README.md b/examples/protocols/esp_local_ctrl/README.md index 82749c11c9..b01a31bca5 100644 --- a/examples/protocols/esp_local_ctrl/README.md +++ b/examples/protocols/esp_local_ctrl/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # ESP Local Control using HTTPS server diff --git a/examples/protocols/http2_request/README.md b/examples/protocols/http2_request/README.md index 5eb7e86ed1..9dd4b96067 100644 --- a/examples/protocols/http2_request/README.md +++ b/examples/protocols/http2_request/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # HTTP/2 Request Example diff --git a/examples/protocols/http2_request/pytest_http2_request.py b/examples/protocols/http2_request/pytest_http2_request.py index b1a922a8eb..ab508aa95c 100644 --- a/examples/protocols/http2_request/pytest_http2_request.py +++ b/examples/protocols/http2_request/pytest_http2_request.py @@ -29,9 +29,6 @@ def is_test_server_available(): # type: () -> bool @pytest.mark.esp32 -@pytest.mark.esp32c3 -@pytest.mark.esp32s2 -@pytest.mark.esp32s3 @pytest.mark.ethernet def test_examples_protocol_http2_request(dut: Dut) -> None: """ diff --git a/examples/protocols/http_request/README.md b/examples/protocols/http_request/README.md index f09180b25b..2f2a9a2fec 100644 --- a/examples/protocols/http_request/README.md +++ b/examples/protocols/http_request/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # HTTP Request Example diff --git a/examples/protocols/http_request/pytest_http_request.py b/examples/protocols/http_request/pytest_http_request.py index b3d0eaa68d..b9bf0d5cf8 100644 --- a/examples/protocols/http_request/pytest_http_request.py +++ b/examples/protocols/http_request/pytest_http_request.py @@ -11,14 +11,11 @@ from pytest_embedded import Dut @pytest.mark.esp32 -@pytest.mark.esp32c3 -@pytest.mark.esp32s2 -@pytest.mark.esp32s3 @pytest.mark.ethernet def test_examples_protocol_http_request(dut: Dut) -> None: """ steps: | - 1. join AP + 1. join AP/Ethernet 2. connect to example.com 3. check conneciton success """ diff --git a/examples/protocols/http_server/advanced_tests/README.md b/examples/protocols/http_server/advanced_tests/README.md index a38fb4fb63..3b1353c42b 100644 --- a/examples/protocols/http_server/advanced_tests/README.md +++ b/examples/protocols/http_server/advanced_tests/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # HTTP server advanced tests diff --git a/examples/protocols/http_server/file_serving/README.md b/examples/protocols/http_server/file_serving/README.md index 8d99cd5ae8..fc288bab27 100644 --- a/examples/protocols/http_server/file_serving/README.md +++ b/examples/protocols/http_server/file_serving/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # Simple HTTP File Server Example diff --git a/examples/protocols/http_server/persistent_sockets/README.md b/examples/protocols/http_server/persistent_sockets/README.md index 3305f85be4..4f18bc5b1d 100644 --- a/examples/protocols/http_server/persistent_sockets/README.md +++ b/examples/protocols/http_server/persistent_sockets/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # HTTPD Server Persistent Sockets Example diff --git a/examples/protocols/http_server/restful_server/README.md b/examples/protocols/http_server/restful_server/README.md index 961171a5df..21011f6587 100644 --- a/examples/protocols/http_server/restful_server/README.md +++ b/examples/protocols/http_server/restful_server/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # HTTP Restful API Server Example diff --git a/examples/protocols/http_server/simple/README.md b/examples/protocols/http_server/simple/README.md index ce91f6c524..1758341ed7 100644 --- a/examples/protocols/http_server/simple/README.md +++ b/examples/protocols/http_server/simple/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # Simple HTTPD Server Example diff --git a/examples/protocols/https_mbedtls/README.md b/examples/protocols/https_mbedtls/README.md index 116475c723..baecbb32d2 100644 --- a/examples/protocols/https_mbedtls/README.md +++ b/examples/protocols/https_mbedtls/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # HTTP server with TLS support using mbedTLS diff --git a/examples/protocols/https_mbedtls/pytest_https_mbedtls.py b/examples/protocols/https_mbedtls/pytest_https_mbedtls.py index 648470ecef..8fd2e2a313 100644 --- a/examples/protocols/https_mbedtls/pytest_https_mbedtls.py +++ b/examples/protocols/https_mbedtls/pytest_https_mbedtls.py @@ -11,9 +11,6 @@ from pytest_embedded import Dut @pytest.mark.esp32 -@pytest.mark.esp32c3 -@pytest.mark.esp32s2 -@pytest.mark.esp32s3 @pytest.mark.ethernet def test_examples_protocol_https_mbedtls(dut: Dut) -> None: """ diff --git a/examples/protocols/https_request/README.md b/examples/protocols/https_request/README.md index 35e0079e78..3e2cc244c0 100644 --- a/examples/protocols/https_request/README.md +++ b/examples/protocols/https_request/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # HTTPS Request Example diff --git a/examples/protocols/https_request/pytest_https_request.py b/examples/protocols/https_request/pytest_https_request.py index 7d3406d51a..bf8922b930 100644 --- a/examples/protocols/https_request/pytest_https_request.py +++ b/examples/protocols/https_request/pytest_https_request.py @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD +# SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD # SPDX-License-Identifier: Unlicense OR CC0-1.0 import http.server import logging @@ -56,9 +56,6 @@ def start_https_server(server_file: str, key_file: str, server_ip: str, server_p @pytest.mark.esp32 -@pytest.mark.esp32c3 -@pytest.mark.esp32s2 -@pytest.mark.esp32s3 @pytest.mark.ethernet @pytest.mark.parametrize('config', ['cli_ses_tkt',], indirect=True) @pytest.mark.parametrize('erase_nvs', ['y'], indirect=True) @@ -119,9 +116,6 @@ def test_examples_protocol_https_request_cli_session_tickets(dut: Dut) -> None: @pytest.mark.esp32 -@pytest.mark.esp32c3 -@pytest.mark.esp32s2 -@pytest.mark.esp32s3 @pytest.mark.ethernet @pytest.mark.parametrize('config', ['ssldyn',], indirect=True) @pytest.mark.parametrize('erase_nvs', ['y'], indirect=True) @@ -153,8 +147,7 @@ def test_examples_protocol_https_request_dynamic_buffers(dut: Dut) -> None: logging.info("Passed the test for \"https_request using crt bundle\" when mbedtls dynamic resource was enabled") -@pytest.mark.supported_targets -@pytest.mark.temp_skip_ci(targets=['esp32c6'], reason='c6 support TBD') +@pytest.mark.esp32 @pytest.mark.ethernet @pytest.mark.parametrize('erase_nvs', ['y'], indirect=True) def test_examples_protocol_https_request(dut: Dut) -> None: diff --git a/examples/protocols/https_server/simple/README.md b/examples/protocols/https_server/simple/README.md index 23d75fb3cf..8516a937ca 100644 --- a/examples/protocols/https_server/simple/README.md +++ b/examples/protocols/https_server/simple/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # HTTP server with SSL support using OpenSSL diff --git a/examples/protocols/https_server/wss_server/README.md b/examples/protocols/https_server/wss_server/README.md index 711ca63249..10f0b69dde 100644 --- a/examples/protocols/https_server/wss_server/README.md +++ b/examples/protocols/https_server/wss_server/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # HTTP Websocket server with SSL support diff --git a/examples/protocols/https_x509_bundle/README.md b/examples/protocols/https_x509_bundle/README.md index 4f034e6986..76edcce26a 100644 --- a/examples/protocols/https_x509_bundle/README.md +++ b/examples/protocols/https_x509_bundle/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # HTTPS x509 Bundle Example diff --git a/examples/protocols/icmp_echo/README.md b/examples/protocols/icmp_echo/README.md index ebd494c76b..2dbfba9c57 100644 --- a/examples/protocols/icmp_echo/README.md +++ b/examples/protocols/icmp_echo/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # ICMP Echo-Reply (Ping) example diff --git a/examples/protocols/l2tap/README.md b/examples/protocols/l2tap/README.md index 29eed49db3..4a3779609a 100644 --- a/examples/protocols/l2tap/README.md +++ b/examples/protocols/l2tap/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # ESP-NETIF L2 TAP Interface Example (See the README.md file in the upper level 'examples' directory for more information about examples.) diff --git a/examples/protocols/mqtt/ssl/README.md b/examples/protocols/mqtt/ssl/README.md index eb53cedf92..d597c6b8a7 100644 --- a/examples/protocols/mqtt/ssl/README.md +++ b/examples/protocols/mqtt/ssl/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # ESP-MQTT SSL Sample application diff --git a/examples/protocols/mqtt/ssl_ds/main/CMakeLists.txt b/examples/protocols/mqtt/ssl_ds/main/CMakeLists.txt index 7a48b53163..c31750a8f7 100644 --- a/examples/protocols/mqtt/ssl_ds/main/CMakeLists.txt +++ b/examples/protocols/mqtt/ssl_ds/main/CMakeLists.txt @@ -1,4 +1,3 @@ idf_component_register(SRCS "app_main.c" - INCLUDE_DIRS "." - REQUIRED_IDF_TARGETS esp32s2 esp32c3 esp32s3) + INCLUDE_DIRS ".") target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format") diff --git a/examples/protocols/mqtt/ssl_mutual_auth/README.md b/examples/protocols/mqtt/ssl_mutual_auth/README.md index 9274aa457c..f50c449b41 100644 --- a/examples/protocols/mqtt/ssl_mutual_auth/README.md +++ b/examples/protocols/mqtt/ssl_mutual_auth/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # ESP-MQTT SSL Sample application (mutual authentication) diff --git a/examples/protocols/mqtt/ssl_psk/README.md b/examples/protocols/mqtt/ssl_psk/README.md index 3029ccdd7f..9df73beedb 100644 --- a/examples/protocols/mqtt/ssl_psk/README.md +++ b/examples/protocols/mqtt/ssl_psk/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # ESP-MQTT SSL example with PSK verification diff --git a/examples/protocols/mqtt/tcp/README.md b/examples/protocols/mqtt/tcp/README.md index 05890919fd..63c0f0f2ad 100644 --- a/examples/protocols/mqtt/tcp/README.md +++ b/examples/protocols/mqtt/tcp/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # ESP-MQTT sample application (See the README.md file in the upper level 'examples' directory for more information about examples.) diff --git a/examples/protocols/mqtt/ws/README.md b/examples/protocols/mqtt/ws/README.md index a5f36c9f7b..5209b0d6be 100644 --- a/examples/protocols/mqtt/ws/README.md +++ b/examples/protocols/mqtt/ws/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # ESP-MQTT MQTT over Websocket diff --git a/examples/protocols/mqtt/wss/README.md b/examples/protocols/mqtt/wss/README.md index ca2e98e3cd..94a2e025d6 100644 --- a/examples/protocols/mqtt/wss/README.md +++ b/examples/protocols/mqtt/wss/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # ESP-MQTT MQTT over WSS Sample application (See the README.md file in the upper level 'examples' directory for more information about examples.) diff --git a/examples/protocols/mqtt5/README.md b/examples/protocols/mqtt5/README.md index 1ac3eafad3..afe65adf42 100644 --- a/examples/protocols/mqtt5/README.md +++ b/examples/protocols/mqtt5/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # ESP-MQTT sample application (See the README.md file in the upper level 'examples' directory for more information about examples.) diff --git a/examples/protocols/smtp_client/README.md b/examples/protocols/smtp_client/README.md index 49150f41bb..fb04358c33 100644 --- a/examples/protocols/smtp_client/README.md +++ b/examples/protocols/smtp_client/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # SMTP Client Example diff --git a/examples/protocols/sockets/icmpv6_ping/README.md b/examples/protocols/sockets/icmpv6_ping/README.md index 1c43c6d877..ddbf55552c 100644 --- a/examples/protocols/sockets/icmpv6_ping/README.md +++ b/examples/protocols/sockets/icmpv6_ping/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # ICMPv6 Ping example diff --git a/examples/protocols/sockets/tcp_client/README.md b/examples/protocols/sockets/tcp_client/README.md index 3e4b571f40..ec477b53ab 100644 --- a/examples/protocols/sockets/tcp_client/README.md +++ b/examples/protocols/sockets/tcp_client/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-S2 | ESP32-S3 | Linux | -| ----------------- | ----- | -------- | -------- | -------- | -------- | ----- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | Linux | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | ----- | # TCP Client example diff --git a/examples/protocols/sockets/tcp_client_multi_net/README.md b/examples/protocols/sockets/tcp_client_multi_net/README.md index 5e3ec65547..17f3db58ca 100644 --- a/examples/protocols/sockets/tcp_client_multi_net/README.md +++ b/examples/protocols/sockets/tcp_client_multi_net/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # Multiple Ethernet Example (See the README.md file in the upper level 'examples' directory for more information about examples.) diff --git a/examples/protocols/sockets/tcp_server/README.md b/examples/protocols/sockets/tcp_server/README.md index 8b0312320b..694f3cac7e 100644 --- a/examples/protocols/sockets/tcp_server/README.md +++ b/examples/protocols/sockets/tcp_server/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # TCP Server example diff --git a/examples/protocols/sockets/tcp_transport_client/README.md b/examples/protocols/sockets/tcp_transport_client/README.md index 6f3649b29d..202770de2d 100644 --- a/examples/protocols/sockets/tcp_transport_client/README.md +++ b/examples/protocols/sockets/tcp_transport_client/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # TCP TRANSPORT Client example diff --git a/examples/protocols/sockets/udp_client/README.md b/examples/protocols/sockets/udp_client/README.md index 87a6eb1a7e..bdcee22108 100644 --- a/examples/protocols/sockets/udp_client/README.md +++ b/examples/protocols/sockets/udp_client/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # UDP Client example diff --git a/examples/protocols/sockets/udp_multicast/README.md b/examples/protocols/sockets/udp_multicast/README.md index 81565589b3..0d37f4abe1 100644 --- a/examples/protocols/sockets/udp_multicast/README.md +++ b/examples/protocols/sockets/udp_multicast/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # UDP Multicast Example diff --git a/examples/protocols/sockets/udp_server/README.md b/examples/protocols/sockets/udp_server/README.md index 5a868c6f32..089a2c5778 100644 --- a/examples/protocols/sockets/udp_server/README.md +++ b/examples/protocols/sockets/udp_server/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # UDP Server example diff --git a/examples/protocols/static_ip/README.md b/examples/protocols/static_ip/README.md index a48624286b..764d2c4c85 100644 --- a/examples/protocols/static_ip/README.md +++ b/examples/protocols/static_ip/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # WiFi station example diff --git a/examples/wifi/.build-test-rules.yml b/examples/wifi/.build-test-rules.yml index 867f77d0f2..1e9011a6c8 100644 --- a/examples/wifi/.build-test-rules.yml +++ b/examples/wifi/.build-test-rules.yml @@ -2,9 +2,7 @@ examples/wifi: disable: - - if: IDF_TARGET == "esp32c6" - temporary: true - reason: target(s) not supported yet + - if: SOC_WIFI_SUPPORTED != 1 examples/wifi/ftm: enable: @@ -13,27 +11,17 @@ examples/wifi/ftm: reason: the other targets are not tested yet examples/wifi/getting_started: - disable: - - if: IDF_TARGET == "esp32c6" - temporary: true - reason: target esp32c6 is not supported yet disable_test: - if: IDF_TARGET not in ["esp32", "esp32c3", "esp32c2", "esp32s3"] temporary: true reason: lack of runners examples/wifi/iperf: - disable: - - if: IDF_TARGET == "esp32c6" - temporary: true - reason: target esp32c6 is not supported yet disable_test: - if: IDF_TARGET != "esp32" temporary: true reason: lack of runners examples/wifi/itwt: - enable: - - if: IDF_TARGET == "esp32c6" - temporary: true - reason: the other targets are not supported yet + disable: + - if: SOC_WIFI_HE_SUPPORT != 1 diff --git a/examples/wifi/espnow/README.md b/examples/wifi/espnow/README.md index 4b87c5a054..b08a914902 100644 --- a/examples/wifi/espnow/README.md +++ b/examples/wifi/espnow/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # ESPNOW Example diff --git a/examples/wifi/fast_scan/README.md b/examples/wifi/fast_scan/README.md index ed4ad67790..faede35c52 100644 --- a/examples/wifi/fast_scan/README.md +++ b/examples/wifi/fast_scan/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # Wi-Fi Fast Scan Example diff --git a/examples/wifi/getting_started/softAP/README.md b/examples/wifi/getting_started/softAP/README.md index 5d8fdda3b4..176a4ed8fb 100644 --- a/examples/wifi/getting_started/softAP/README.md +++ b/examples/wifi/getting_started/softAP/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # Wi-Fi SoftAP Example diff --git a/examples/wifi/getting_started/station/README.md b/examples/wifi/getting_started/station/README.md index 93a26aadad..f194a1fcba 100644 --- a/examples/wifi/getting_started/station/README.md +++ b/examples/wifi/getting_started/station/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # Wi-Fi Station Example diff --git a/examples/wifi/iperf/README.md b/examples/wifi/iperf/README.md index 1e261c5178..36f1f0dbdd 100644 --- a/examples/wifi/iperf/README.md +++ b/examples/wifi/iperf/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # Iperf Example diff --git a/examples/wifi/power_save/README.md b/examples/wifi/power_save/README.md index 70dbbcca5c..0e05834122 100644 --- a/examples/wifi/power_save/README.md +++ b/examples/wifi/power_save/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # Wifi Power Save Example diff --git a/examples/wifi/roaming/README.md b/examples/wifi/roaming/README.md index 22c7b03a0c..77b69d89fe 100644 --- a/examples/wifi/roaming/README.md +++ b/examples/wifi/roaming/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # Roaming Example diff --git a/examples/wifi/scan/README.md b/examples/wifi/scan/README.md index 0de1a9a65a..fc8dba9b12 100644 --- a/examples/wifi/scan/README.md +++ b/examples/wifi/scan/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # Wi-Fi Scan Example diff --git a/examples/wifi/smart_config/README.md b/examples/wifi/smart_config/README.md index 068682f865..1072af0fbc 100644 --- a/examples/wifi/smart_config/README.md +++ b/examples/wifi/smart_config/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # smartconfig Example diff --git a/examples/wifi/wifi_eap_fast/README.md b/examples/wifi/wifi_eap_fast/README.md index 76d147dc64..fb313656f7 100644 --- a/examples/wifi/wifi_eap_fast/README.md +++ b/examples/wifi/wifi_eap_fast/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # WPA2 Enterprise Example diff --git a/examples/wifi/wifi_easy_connect/dpp-enrollee/README.md b/examples/wifi/wifi_easy_connect/dpp-enrollee/README.md index b97caaf973..0415b814d3 100644 --- a/examples/wifi/wifi_easy_connect/dpp-enrollee/README.md +++ b/examples/wifi/wifi_easy_connect/dpp-enrollee/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # Device Provisioning Protocol (Enrollee) Example diff --git a/examples/wifi/wifi_enterprise/README.md b/examples/wifi/wifi_enterprise/README.md index c1080759f9..883bfcbb53 100644 --- a/examples/wifi/wifi_enterprise/README.md +++ b/examples/wifi/wifi_enterprise/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # WPA2 Enterprise Example diff --git a/examples/wifi/wps/README.md b/examples/wifi/wps/README.md index e46757cb99..63c44dd6ef 100644 --- a/examples/wifi/wps/README.md +++ b/examples/wifi/wps/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # Wi-Fi WPS Example diff --git a/examples/wifi/wps_softap_registrar/README.md b/examples/wifi/wps_softap_registrar/README.md index 9a3a2fadf7..b8d8d98dad 100644 --- a/examples/wifi/wps_softap_registrar/README.md +++ b/examples/wifi/wps_softap_registrar/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | # Wi-Fi WPS Registrar Example