diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1b611c9..f91cab4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,7 +46,7 @@ jobs: strategy: matrix: idf_ver: ["latest"] - example: [ { app: host, path: "examples/mqtt" }, { app: slave, path: "examples/server" }] + example: [ { app: host, path: "examples/mqtt", bin: "build_esp32p4_p4" }, { app: slave, path: "examples/server", bin: "build_esp32c6_c6" }] include: - idf_ver: "latest" example: { app: slave, path: "examples/server" } @@ -65,6 +65,7 @@ jobs: sparse-checkout: | ci/build_apps.py ci/ignore_build_warnings.txt + ci/clean_build_artifacts.sh sparse-checkout-cone-mode: false path: protocols - name: Build ${{ matrix.example.app }} with IDF-${{ matrix.idf_ver }} @@ -75,3 +76,45 @@ jobs: . ${IDF_PATH}/export.sh pip install idf-component-manager idf-build-apps --upgrade python $GITHUB_WORKSPACE/protocols/ci/build_apps.py ./components/esp_wifi_remote/${{matrix.example.path}} -vv --preserve-all + cd ./components/esp_wifi_remote/${{matrix.example.path}} + ${GITHUB_WORKSPACE}/protocols/ci/clean_build_artifacts.sh `pwd`/${{matrix.example.bin}} + zip -qur artifacts.zip ${{matrix.example.bin}} + - uses: actions/upload-artifact@v4 + with: + name: eppp_${{ matrix.idf_ver }}_${{matrix.example.bin}} + path: components/esp_wifi_remote/${{matrix.example.path}}/artifacts.zip + if-no-files-found: error + + run_example: + # Skip running on forks since it won't have access to secrets + if: github.repository == 'espressif/esp-wifi-remote' + name: EPP target test + needs: build_wifi_remote_example + strategy: + matrix: + idf_ver: ["latest"] + runs-on: [self-hosted, wifi-remote] + container: + image: python:3.7-buster + options: --privileged # Privileged mode has access to serial ports + env: + TEST_DIR: components/esp_wifi_remote/examples + steps: + - uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 + with: + name: eppp_${{ matrix.idf_ver }}_build_esp32p4_p4 + path: ${{ env.TEST_DIR }}/mqtt/ + - uses: actions/download-artifact@v4 + with: + name: eppp_${{ matrix.idf_ver }}_build_esp32c6_c6 + path: ${{ env.TEST_DIR }}/server/ + - name: Run Test + working-directory: ${{ env.TEST_DIR }} + run: | + python -m pip install pytest-embedded-serial-esp pytest-embedded-idf pytest-rerunfailures pytest-timeout pytest-ignore-test-results + unzip server/artifacts.zip -d server/ + mv server/build_esp32c6_c6/ server/build/ + unzip mqtt/artifacts.zip -d mqtt/ + mv mqtt/build_esp32p4_p4/ mqtt/build/ + python -m pytest --log-cli-level DEBUG --target esp32p4,esp32c6 diff --git a/components/esp_wifi_remote/Kconfig.rpc.in b/components/esp_wifi_remote/Kconfig.rpc.in index cd6ac8b..5c679b9 100644 --- a/components/esp_wifi_remote/Kconfig.rpc.in +++ b/components/esp_wifi_remote/Kconfig.rpc.in @@ -16,17 +16,24 @@ endchoice if ESP_WIFI_REMOTE_LIBRARY_EPPP + config ESP_WIFI_REMOTE_EPPP_UART_PORT + int "UART port number" + default 1 + range 0 3 + help + UART Port number. + config ESP_WIFI_REMOTE_EPPP_UART_TX_PIN int "TXD Pin Number" default 10 - range 0 31 + range 0 54 help Pin number of UART TX. config ESP_WIFI_REMOTE_EPPP_UART_RX_PIN int "RXD Pin Number" default 11 - range 0 31 + range 0 54 help Pin number of UART RX. diff --git a/components/esp_wifi_remote/eppp/eppp_init.c b/components/esp_wifi_remote/eppp/eppp_init.c index 94bf8f5..0fe8ab2 100644 --- a/components/esp_wifi_remote/eppp/eppp_init.c +++ b/components/esp_wifi_remote/eppp/eppp_init.c @@ -16,6 +16,7 @@ __attribute__((weak)) esp_netif_t *wifi_remote_eppp_init(eppp_type_t role) config.transport = EPPP_TRANSPORT_UART; config.uart.tx_io = CONFIG_ESP_WIFI_REMOTE_EPPP_UART_TX_PIN; config.uart.rx_io = CONFIG_ESP_WIFI_REMOTE_EPPP_UART_RX_PIN; + config.uart.port = CONFIG_ESP_WIFI_REMOTE_EPPP_UART_PORT; config.ppp.netif_description = CONFIG_ESP_WIFI_REMOTE_EPPP_NETIF_DESCRIPTION; config.ppp.netif_prio = CONFIG_ESP_WIFI_REMOTE_EPPP_NETIF_PRIORITY; return eppp_open(role, &config, portMAX_DELAY); diff --git a/components/esp_wifi_remote/examples/mqtt/sdkconfig.ci.p4 b/components/esp_wifi_remote/examples/mqtt/sdkconfig.ci.p4 index 8ca2fb7..a8e7e5d 100644 --- a/components/esp_wifi_remote/examples/mqtt/sdkconfig.ci.p4 +++ b/components/esp_wifi_remote/examples/mqtt/sdkconfig.ci.p4 @@ -1,5 +1,11 @@ -CONFIG_ESP_WIFI_REMOTE_EPPP_UART_TX_PIN=17 -CONFIG_ESP_WIFI_REMOTE_EPPP_UART_RX_PIN=16 -CONFIG_ESP_WIFI_REMOTE_EPPP_SERVER_CA="MIIDIzCCAgugAwIBAgIULOncUeRLKxgrihIh1kHGGlPV7ecwDQYJKoZIhvcNAQELBQAwITELMAkGA1UEBhMCQ1oxEjAQBgNVBAMMCUVzcHJlc3NpZjAeFw0yNDA0MDMwOTE0MjNaFw0zNDA0MDEwOTE0MjNaMCExCzAJBgNVBAYTAkNaMRIwEAYDVQQDDAlFc3ByZXNzaWYwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbayaZAuzQWrwRj3oiFP9AZK0ECaDvVlJec4M6yokded1pqNY+bNmA7VsHSQkf3d1rO1G5GwEXoMPli15m7rJodq9iYp1J2LhLhpKDNapm19reyH9A4rAfjSyk/WyvT+3Y5sNHVFdE2t1EetOyzy90CfOHT9JfWG9PiV6b1W65CqgjJVCHMWioppVAGQCoN+mDBf1VhD4am6onei+ijHdALJDfp74mSIOJGulm/IR7504s+yy7068PQ05V/wHkmd9O1Iww5fnJdRh2KvTFZVOB5u9y54MTJb0sGZj+JfxIbcFiIWAykLFVWBk5PO6yj8fNMmk/Ogb2K4wo7AZnJ3qBAgMBAAGjUzBRMB0GA1UdDgQWBBT3j77hJHm/hI34fEn3tocHqB4INzAfBgNVHSMEGDAWgBT3j77hJHm/hI34fEn3tocHqB4INzAPBgNVHRMBAf8EBTADAQH/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b36A3JOFolkHjtq4eNntThNRQbTL9OficbxJSHXQcOsQeo7dvwEhJjuVwEajL4/6cjc9b4oyGJxLlTKTshUPmeKPfGWUjRZKGbVWbT3m4BXqGiv4laCZ0LDHiCt4DvEzQ1Bo3AoGBAOetBClbcbUJhxkAme5HHI9A5VcqyOi2CrRh+HjKd/2IJlDA+Vmbl2iEB+9cMRGRubazbrk1yAzgtW29GX8kngr8yxDtIM8M7lPR2NhXx7XbmCKwKosZ7l6hHNdnD12TFyLCjuuJlUA37sWXw8r33623mLFQlNVjnL0onUa1XSMvAoGACw47+cR73YDKMstOQp11pzmRxUiMmworEhOvNtlYmq8FuEgDUPfgiKOMOyn9w5fmbEK6h4GpND6PYX4KWG0/ZgnmwiC8H8Jmuq6NKDa35Ck57MAFM8E9Kdok7YCeBmkPgNwJwuzgNtr1zwK/FODXm1HdGKl6e8TSU2H9/8oVZR8CgYEAoHSWI0awNCCLLufZtMwPna/mpz58s6ARPel0u8QO4st/LgLZMBSxArQfAsqpOW/iXgVcNG5pRXIEdiK4G/TyeM2onup9BKoCDo+SThRNv0h9z9iPPpQRIf0YCp/YZojPR0XU0pERi86xUqzP8C1I//neiUA0NK6vCdutQiGuhgUCgYEAp89EFcM1WvtPRJE+md8N8BUef5MJ+JJ0nb+BW1kkLY50Q1MVmsVXdUowYupWLBgEfMn8fy8Q+xD9EeiISTF9MtT1X4iQSI/pzKW5LLd0OJYnqPMWzyggASzSNWdYBIGNkqsQGmGCtF9+i6V4acfTTbMD9LiB7u5/enQa8N0Qg+s=" +CONFIG_IDF_TARGET="esp32p4" +CONFIG_ESP_WIFI_SSID="local_mosquitto" +CONFIG_ESP_WIFI_PASSWORD="local_mosquitto_password" +CONFIG_ESP_WIFI_REMOTE_EPPP_UART_TX_PIN=47 +CONFIG_ESP_WIFI_REMOTE_EPPP_UART_RX_PIN=48 +CONFIG_ESP_WIFI_REMOTE_EPPP_SERVER_CA="MIIDIzCCAgugAwIBAgIUL4dO91g+lJLA9mHo+2wI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vx/pACh/SgVPd9JMzTBdbE13bB1O3nx/7n3gJmkBkKtlWL6vA294qdlHa3RMokV+lTwRx+b5VzxoKZHv6grHPNMulx3R/gHcWgz1dAo8Ume8LgR6zTqPVEy1uB95hX7I0CgYEA9/u/5IjDQQJ9qTkvJey6FNsvl68JcYRtP2+3WKXPRaUJLPv6M20ZmjpuVk4NpkEBWzJ4fhQ6D9TL8F7+WsjLfa58gMs1juu3uAEk4H5AgPi3vqkdw/Kgo4uU3QCa/6R5dXzpndWqllSBAsx+0s/uwbI6bLodqcVOlIE7vLusoYcCgYEA3r9Zt8cwDt1h6JXdHcNVKEcPt01XB7h3bQtiliSDcfToV9fYuQXUOkBK76Xt6w3L5NqWrQwigRCdDmYBuhql/RgvIGcOKVC/cL+sSetNP8xzSozQsyfBalCk826X7MV065OtqXZZVux48gVBSvfuzs1xTo3e1TpV+pd1nj27c5cCgYEAy70WR1jlsn+tZl8JEYuQxpneXCz/ATjf2QKcDEUOKhYRl9feFGpKYqAnDtlJ9ZHq31Z0EIHlwiP++hnRuBzIsxWsTNSnyCh55L9r4NVZgZzWudqQDfFFcZi4UWqx7d7fu1tJRNfLM39yDy6b8+/KJXGc9r9ip5znlrMmtUUr6/kCgYAlp8V7+vFV4fj2P7d0m5vexjyS6UEoLfgKeB0/cobCEfvhNb0OcjzRaCMC5lMVJGzukEFemamPlgZm87mhA3ZCFf+Jg8JyG5NxdQWkLWIOwfpPhQSW9MaOuXlZKb4HKc49MObvufEab7l2eIr0KHu3fCWGeRdNhqIYTdh1WsxAmwKBgQCE50V7GAyG+tsMwZyimAAykcBL2x0NSKT2LY59sM6+FEtRH9d1dyacIFQ2GVHPNXjeRxtqIawsU/5yJ5Ivh38nDJzQLLM3oDXi5VHtWP6ExfUi9ZFb1CLiALg5dBoyAP/3Xvtq8JpIp6PwFRVPCKE7/GgBmEQ23eIfViFhfPIrfQ==" diff --git a/components/esp_wifi_remote/examples/pytest_eppp.py b/components/esp_wifi_remote/examples/pytest_eppp.py new file mode 100644 index 0000000..5f24932 --- /dev/null +++ b/components/esp_wifi_remote/examples/pytest_eppp.py @@ -0,0 +1,22 @@ +# SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD +# SPDX-License-Identifier: CC0-1.0 +import os.path +from typing import Tuple + +import pytest +from pytest_embedded_idf.dut import IdfDut + + +@pytest.mark.parametrize( + 'count, app_path, target', [ + (2, + f'{os.path.join(os.path.dirname(__file__), "mqtt")}|{os.path.join(os.path.dirname(__file__), "server")}', + 'esp32p4|esp32c6'), + ], indirect=True +) +def test_wifi_remote_eppp(dut: Tuple[IdfDut, IdfDut]) -> None: + client = dut[0] + server = dut[1] + + server.expect('rpc_server: Received IP event', timeout=100) + client.expect('MQTT_EVENT_CONNECTED', timeout=100) diff --git a/components/esp_wifi_remote/examples/server/sdkconfig.ci.c6 b/components/esp_wifi_remote/examples/server/sdkconfig.ci.c6 index 2e773d2..71abf1a 100644 --- a/components/esp_wifi_remote/examples/server/sdkconfig.ci.c6 +++ b/components/esp_wifi_remote/examples/server/sdkconfig.ci.c6 @@ -1,7 +1,10 @@ CONFIG_IDF_TARGET="esp32c6" CONFIG_ESP_WIFI_REMOTE_EPPP_UART_TX_PIN=22 CONFIG_ESP_WIFI_REMOTE_EPPP_UART_RX_PIN=23 -CONFIG_ESP_WIFI_REMOTE_EPPP_CLIENT_CA="MIIDIzCCAgugAwIBAgIUTWOEAhITHAm2ixn5i2XlSeL01mowDQYJKoZIhvcNAQELBQAwITELMAkGA1UEBhMCQ1oxEjAQBgNVBAMMCUVzcHJlc3NpZjAeFw0yNDA0MTAxNTEzNTdaFw0yNTA0MTAxNTEzNTdaMCExCzAJBgNVBAYTAkNaMRIwEAYDVQQDDAlFc3ByZXNzaWYwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCSewupiSiyZNfLdVW0/smQB0yJ0Ua0KNU423ZZ7HMSrBPhfHtnQQ6SJqTdfqGCl1lvSsJZN9aT4iaEtyAm6N9trmSb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HPNXjeRxtqIawsU/5yJ5Ivh38nDJzQLLM3oDXi5VHtWP6ExfUi9ZFb1CLiALg5dBoyAP/3Xvtq8JpIp6PwFRVPCKE7/GgBmEQ23eIfViFhfPIrfQ==" CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 0000000..7d368d6 --- /dev/null +++ b/pytest.ini @@ -0,0 +1,28 @@ +[pytest] +# only the files with prefix `pytest_` would be recognized as pytest test scripts. +python_files = pytest_*.py + +# ignore PytestExperimentalApiWarning for record_xml_attribute +# set traceback to "short" to prevent the overwhelming tracebacks +addopts = + -s + --embedded-services esp,idf + --tb short + +# ignore DeprecationWarning +filterwarnings = + ignore:Call to deprecated create function (.*)\(\):DeprecationWarning + +# log related +log_cli = True +log_cli_level = INFO +log_cli_format = %(asctime)s %(levelname)s %(message)s +log_cli_date_format = %Y-%m-%d %H:%M:%S + +log_file = test.log +log_file_level = INFO +log_file_format = %(asctime)s %(levelname)s %(message)s +log_file_date_format = %Y-%m-%d %H:%M:%S + +# Directory patterns to avoid for recursion +norecursedirs = "managed_components"