From 9f3010f214dada14194e3561ca97ab07e5239afd Mon Sep 17 00:00:00 2001 From: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com> Date: Wed, 6 Nov 2024 13:08:16 -0300 Subject: [PATCH] ci(json): Improve requirement checking (#10554) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ci(json): Change requirements for sketches that use WiFi * ci(checks): Optimize requirement checking * fix(tests): Additional checks before running tests --------- Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com> --- .github/scripts/install-platformio-esp32.sh | 93 ++------------- .github/scripts/sketch_utils.sh | 109 +++++++++--------- .github/scripts/tests_run.sh | 47 +++----- .../ArduinoOTA/examples/BasicOTA/ci.json | 5 +- .../AsyncUDP/examples/AsyncUDPClient/ci.json | 5 +- .../examples/AsyncUDPMulticastServer/ci.json | 5 +- .../AsyncUDP/examples/AsyncUDPServer/ci.json | 5 +- .../DNSServer/examples/CaptivePortal/ci.json | 5 +- .../ESP32/examples/Time/SimpleTime/ci.json | 5 +- .../examples/ESP_NOW_Broadcast_Master/ci.json | 5 +- .../examples/ESP_NOW_Broadcast_Slave/ci.json | 5 +- .../ESP_NOW/examples/ESP_NOW_Network/ci.json | 5 +- .../ESP_NOW/examples/ESP_NOW_Serial/ci.json | 5 +- .../ESPmDNS/examples/mDNS-SD_Extended/ci.json | 5 +- .../ESPmDNS/examples/mDNS_Web_Server/ci.json | 5 +- .../Ethernet/examples/ETH_WIFI_BRIDGE/ci.json | 5 +- libraries/FFat/examples/FFat_time/ci.json | 5 +- .../HTTPClient/examples/Authorization/ci.json | 5 +- .../examples/BasicHttpClient/ci.json | 5 +- .../examples/BasicHttpsClient/ci.json | 5 +- .../examples/HTTPClientEnterprise/ci.json | 5 +- .../examples/ReuseConnection/ci.json | 5 +- .../examples/StreamHttpClient/ci.json | 5 +- .../HTTPUpdate/examples/httpUpdate/ci.json | 5 +- .../examples/httpUpdateSPIFFS/ci.json | 5 +- .../examples/httpUpdateSecure/ci.json | 5 +- .../examples/WebUpdater/ci.json | 5 +- .../examples/DiagnosticsSmokeTest/ci.json | 7 +- .../examples/MinimalDiagnostics/ci.json | 7 +- .../LittleFS/examples/LITTLEFS_time/ci.json | 5 +- libraries/NetBIOS/examples/ESP_NBNST/ci.json | 5 +- .../examples/WiFiClientInsecure/ci.json | 5 +- .../examples/WiFiClientPSK/ci.json | 5 +- .../examples/WiFiClientSecure/ci.json | 5 +- .../WiFiClientSecureEnterprise/ci.json | 5 +- .../WiFiClientSecureProtocolUpgrade/ci.json | 5 +- .../WiFiClientShowPeerCredentials/ci.json | 5 +- .../WiFiClientTrustOnFirstUse/ci.json | 5 +- .../PPP/examples/PPP_WIFI_BRIDGE/ci.json | 7 +- .../RainMaker/examples/RMakerCustom/ci.json | 5 +- .../examples/RMakerCustomAirCooler/ci.json | 5 +- .../examples/RMakerSonoffDualR3/ci.json | 5 +- .../RainMaker/examples/RMakerSwitch/ci.json | 5 +- libraries/SD/examples/SD_time/ci.json | 5 +- libraries/SD_MMC/examples/SDMMC_time/ci.json | 5 +- libraries/SPIFFS/examples/SPIFFS_time/ci.json | 5 +- .../Update/examples/AWS_S3_OTA_Update/ci.json | 5 +- .../Update/examples/HTTPS_OTA_Update/ci.json | 5 +- .../HTTP_Client_AES_OTA_Update/ci.json | 5 +- .../HTTP_Server_AES_OTA_Update/ci.json | 5 +- .../Update/examples/OTAWebUpdater/ci.json | 5 +- .../examples/AdvancedWebServer/ci.json | 5 +- .../WebServer/examples/FSBrowser/ci.json | 5 +- libraries/WebServer/examples/Filters/ci.json | 5 +- .../WebServer/examples/HelloServer/ci.json | 5 +- .../examples/HttpAdvancedAuth/ci.json | 5 +- .../examples/HttpAuthCallback/ci.json | 5 +- .../examples/HttpAuthCallbackInline/ci.json | 5 +- .../WebServer/examples/HttpBasicAuth/ci.json | 5 +- .../examples/HttpBasicAuthSHA1/ci.json | 5 +- .../HttpBasicAuthSHA1orBearerToken/ci.json | 5 +- .../examples/MultiHomedServers/ci.json | 5 +- .../WebServer/examples/PathArgServer/ci.json | 5 +- .../WebServer/examples/SDWebServer/ci.json | 5 +- .../examples/SimpleAuthentification/ci.json | 5 +- .../WebServer/examples/UploadHugeFile/ci.json | 5 +- .../WebServer/examples/WebServer/ci.json | 5 +- .../WebServer/examples/WebUpdate/ci.json | 5 +- .../WiFi/examples/FTM/FTM_Initiator/ci.json | 5 +- .../WiFi/examples/FTM/FTM_Responder/ci.json | 5 +- .../WiFi/examples/SimpleWiFiServer/ci.json | 5 +- libraries/WiFi/examples/WPS/ci.json | 5 +- .../WiFi/examples/WiFiAccessPoint/ci.json | 5 +- .../WiFi/examples/WiFiBlueToothSwitch/ci.json | 9 +- libraries/WiFi/examples/WiFiClient/ci.json | 5 +- .../WiFi/examples/WiFiClientBasic/ci.json | 5 +- .../WiFi/examples/WiFiClientConnect/ci.json | 5 +- .../examples/WiFiClientEnterprise/ci.json | 5 +- .../WiFi/examples/WiFiClientEvents/ci.json | 5 +- .../WiFi/examples/WiFiClientStaticIP/ci.json | 5 +- libraries/WiFi/examples/WiFiExtender/ci.json | 5 +- libraries/WiFi/examples/WiFiIPv6/ci.json | 5 +- libraries/WiFi/examples/WiFiMulti/ci.json | 5 +- .../WiFi/examples/WiFiMultiAdvanced/ci.json | 5 +- libraries/WiFi/examples/WiFiScan/ci.json | 5 +- libraries/WiFi/examples/WiFiScanAsync/ci.json | 5 +- .../WiFi/examples/WiFiScanDualAntenna/ci.json | 5 +- libraries/WiFi/examples/WiFiScanTime/ci.json | 5 +- .../WiFi/examples/WiFiSmartConfig/ci.json | 5 +- .../WiFi/examples/WiFiTelnetToSerial/ci.json | 5 +- libraries/WiFi/examples/WiFiUDPClient/ci.json | 5 +- libraries/WiFiProv/examples/WiFiProv/ci.json | 5 +- tests/validation/wifi/ci.json | 5 +- 93 files changed, 357 insertions(+), 352 deletions(-) diff --git a/.github/scripts/install-platformio-esp32.sh b/.github/scripts/install-platformio-esp32.sh index 5091ea69353..80c668bdc0e 100755 --- a/.github/scripts/install-platformio-esp32.sh +++ b/.github/scripts/install-platformio-esp32.sh @@ -7,6 +7,9 @@ TOOLCHAIN_VERSION="12.2.0+20230208" ESPTOOLPY_VERSION="~1.40501.0" ESPRESSIF_ORGANIZATION_NAME="espressif" SDKCONFIG_DIR="$PLATFORMIO_ESP32_PATH/tools/esp32-arduino-libs" +SCRIPTS_DIR="./.github/scripts" +COUNT_SKETCHES="${SCRIPTS_DIR}/sketch_utils.sh count" +CHECK_REQUIREMENTS="${SCRIPTS_DIR}/sketch_utils.sh check_requirements" echo "Installing Python Wheel ..." pip install wheel > /dev/null 2>&1 @@ -74,64 +77,6 @@ function build_pio_sketch(){ # build_pio_sketch python -m platformio ci --board "$board" "$sketch_dir" --project-option="$options" } -function count_sketches(){ # count_sketches - local examples="$1" - rm -rf sketches.txt - if [ ! -d "$examples" ]; then - touch sketches.txt - return 0 - fi - local sketches=$(find $examples -name *.ino) - local sketchnum=0 - for sketch in $sketches; do - local sketchdir=$(dirname $sketch) - local sketchdirname=$(basename $sketchdir) - local sketchname=$(basename $sketch) - if [[ "${sketchdirname}.ino" != "$sketchname" ]]; then - continue - elif [ -f $sketchdir/ci.json ]; then - # If the target is listed as false, skip the sketch. Otherwise, include it. - is_target=$(jq -r '.targets[esp32]' $sketchdir/ci.json) - if [[ "$is_target" == "false" ]]; then - continue - fi - - # Check if the sketch requires any configuration options (AND) - requirements=$(jq -r '.requires[]? // empty' $sketchdir/ci.json) - if [[ "$requirements" != "null" && "$requirements" != "" ]]; then - for requirement in $requirements; do - requirement=$(echo $requirement | xargs) - found_line=$(grep -E "^$requirement" "$SDKCONFIG_DIR/esp32/sdkconfig") - if [[ "$found_line" == "" ]]; then - continue 2 - fi - done - fi - - # Check if the sketch requires any configuration options (OR) - requirements_or=$(jq -r '.requires_any[]? // empty' $sketchdir/ci.json) - if [[ "$requirements_or" != "null" && "$requirements_or" != "" ]]; then - found=false - for requirement in $requirements_or; do - requirement=$(echo $requirement | xargs) - found_line=$(grep -E "^$requirement" "$SDKCONFIG_DIR/esp32/sdkconfig") - if [[ "$found_line" != "" ]]; then - found=true - break - fi - done - if [[ "$found" == "false" ]]; then - continue - fi - fi - fi - - echo $sketch >> sketches.txt - sketchnum=$(($sketchnum + 1)) - done - return $sketchnum -} - function build_pio_sketches(){ # build_pio_sketches if [ "$#" -lt 3 ]; then echo "ERROR: Illegal number of parameters" @@ -160,7 +105,7 @@ function build_pio_sketches(){ # build_pio_sketches + local sketchdir=$1 + local sdkconfig_path=$2 + local has_requirements=1 + + if [ ! -f "$sdkconfig_path" ] || [ ! -f "$sketchdir/ci.json" ]; then + echo "ERROR: sdkconfig or ci.json not found" 1>&2 + # Return 1 on error to force the sketch to be built and fail. This way the + # CI will fail and the user will know that the sketch has a problem. + else + # Check if the sketch requires any configuration options (AND) + local requirements=$(jq -r '.requires[]? // empty' "$sketchdir/ci.json") + if [[ "$requirements" != "null" && "$requirements" != "" ]]; then + for requirement in $requirements; do + requirement=$(echo $requirement | xargs) + found_line=$(grep -E "^$requirement" "$sdkconfig_path") + if [[ "$found_line" == "" ]]; then + has_requirements=0 + fi + done + fi + + # Check if the sketch requires any configuration options (OR) + local requirements_or=$(jq -r '.requires_any[]? // empty' "$sketchdir/ci.json") + if [[ "$requirements_or" != "null" && "$requirements_or" != "" ]]; then + local found=false + for requirement in $requirements_or; do + requirement=$(echo $requirement | xargs) + found_line=$(grep -E "^$requirement" "$sdkconfig_path") + if [[ "$found_line" != "" ]]; then + found=true + break + fi + done + if [[ "$found" == "false" ]]; then + has_requirements=0 + fi + fi + fi + + echo $has_requirements +} + function build_sketch(){ # build_sketch [extra-options] while [ ! -z "$1" ]; do case "$1" in @@ -171,35 +214,10 @@ function build_sketch(){ # build_sketch [ex exit 0 fi - # Check if the sketch requires any configuration options (AND) - requirements=$(jq -r '.requires[]? // empty' $sketchdir/ci.json) - if [[ "$requirements" != "null" && "$requirements" != "" ]]; then - for requirement in $requirements; do - requirement=$(echo $requirement | xargs) - found_line=$(grep -E "^$requirement" "$SDKCONFIG_DIR/$target/sdkconfig") - if [[ "$found_line" == "" ]]; then - echo "Target $target does not meet the requirement $requirement for $sketchname. Skipping." - exit 0 - fi - done - fi - - # Check if the sketch excludes any configuration options (OR) - requirements_or=$(jq -r '.requires_any[]? // empty' $sketchdir/ci.json) - if [[ "$requirements_or" != "null" && "$requirements_or" != "" ]]; then - found=false - for requirement in $requirements_or; do - requirement=$(echo $requirement | xargs) - found_line=$(grep -E "^$requirement" "$SDKCONFIG_DIR/$target/sdkconfig") - if [[ "$found_line" != "" ]]; then - found=true - break - fi - done - if [[ "$found" == "false" ]]; then - echo "Target $target meets none of the requirements in requires_any for $sketchname. Skipping." - exit 0 - fi + local has_requirements=$(check_requirements "$sketchdir" "$SDKCONFIG_DIR/$target/sdkconfig") + if [ "$has_requirements" == "0" ]; then + echo "Target $target does not meet the requirements for $sketchname. Skipping." + exit 0 fi fi @@ -348,33 +366,9 @@ function count_sketches(){ # count_sketches [target] [file] [ignore-requi fi if [ "$ignore_requirements" != "1" ]; then - # Check if the sketch requires any configuration options (AND) - requirements=$(jq -r '.requires[]? // empty' $sketchdir/ci.json) - if [[ "$requirements" != "null" && "$requirements" != "" ]]; then - for requirement in $requirements; do - requirement=$(echo $requirement | xargs) - found_line=$(grep -E "^$requirement" $SDKCONFIG_DIR/$target/sdkconfig) - if [[ "$found_line" == "" ]]; then - continue 2 - fi - done - fi - - # Check if the sketch excludes any configuration options (OR) - requirements_or=$(jq -r '.requires_any[]? // empty' $sketchdir/ci.json) - if [[ "$requirements_or" != "null" && "$requirements_or" != "" ]]; then - found=false - for requirement in $requirements_or; do - requirement=$(echo $requirement | xargs) - found_line=$(grep -E "^$requirement" $SDKCONFIG_DIR/$target/sdkconfig) - if [[ "$found_line" != "" ]]; then - found=true - break - fi - done - if [[ "$found" == "false" ]]; then - continue 2 - fi + local has_requirements=$(check_requirements "$sketchdir" "$SDKCONFIG_DIR/$target/sdkconfig") + if [ "$has_requirements" == "0" ]; then + continue fi fi fi @@ -552,6 +546,7 @@ Available commands: count: Count sketches. build: Build a sketch. chunk_build: Build a chunk of sketches. + check_requirements: Check if target meets sketch requirements. " cmd=$1 @@ -569,6 +564,8 @@ case "$cmd" in ;; "chunk_build") build_sketches $* ;; + "check_requirements") check_requirements $* + ;; *) echo "ERROR: Unrecognized command" echo "$USAGE" diff --git a/.github/scripts/tests_run.sh b/.github/scripts/tests_run.sh index a6128865ad4..6d9ecbb2f7f 100755 --- a/.github/scripts/tests_run.sh +++ b/.github/scripts/tests_run.sh @@ -9,6 +9,7 @@ function run_test() { local sketchname=$(basename $sketchdir) local result=0 local error=0 + local sdkconfig_path if [ $options -eq 0 ] && [ -f $sketchdir/ci.json ]; then len=`jq -r --arg target $target '.fqbn[$target] | length' $sketchdir/ci.json` @@ -20,9 +21,9 @@ function run_test() { fi if [ $len -eq 1 ]; then - SDKCONFIG_PATH="$HOME/.arduino/tests/$sketchname/build.tmp/sdkconfig" + sdkconfig_path="$HOME/.arduino/tests/$sketchname/build.tmp/sdkconfig" else - SDKCONFIG_PATH="$HOME/.arduino/tests/$sketchname/build0.tmp/sdkconfig" + sdkconfig_path="$HOME/.arduino/tests/$sketchname/build0.tmp/sdkconfig" fi if [ -f $sketchdir/ci.json ]; then @@ -35,39 +36,19 @@ function run_test() { printf "\n\n\n" return 0 fi + fi - # Check if the sketch requires any configuration options (AND) - requirements=$(jq -r '.requires[]? // empty' $sketchdir/ci.json) - if [[ "$requirements" != "null" && "$requirements" != "" ]]; then - for requirement in $requirements; do - requirement=$(echo $requirement | xargs) - found_line=$(grep -E "^$requirement" "$SDKCONFIG_PATH") - if [[ "$found_line" == "" ]]; then - printf "\033[93mTarget $target does not meet the requirement $requirement for $sketchname. Skipping.\033[0m\n" - printf "\n\n\n" - return 0 - fi - done - fi + if [ ! -f $sdkconfig_path ]; then + printf "\033[93mSketch $sketchname not built\nMight be due to missing target requirements or build failure\033[0m\n" + printf "\n\n\n" + return 0 + fi - # Check if the sketch requires any configuration options (OR) - requirements_or=$(jq -r '.requires_any[]? // empty' $sketchdir/ci.json) - if [[ "$requirements_or" != "null" && "$requirements_or" != "" ]]; then - found=false - for requirement in $requirements_or; do - requirement=$(echo $requirement | xargs) - found_line=$(grep -E "^$requirement" "$SDKCONFIG_PATH") - if [[ "$found_line" != "" ]]; then - found=true - break - fi - done - if [[ "$found" == "false" ]]; then - printf "\033[93mTarget $target meets none of the requirements in requires_any for $sketchname. Skipping.\033[0m\n" - printf "\n\n\n" - return 0 - fi - fi + local right_target=$(grep -E "^CONFIG_IDF_TARGET=\"$target\"$" "$sdkconfig_path") + if [ -z "$right_target" ]; then + printf "\033[91mError: Sketch $sketchname compiled for different target\n\033[0m\n" + printf "\n\n\n" + return 1 fi if [ $len -eq 1 ]; then diff --git a/libraries/ArduinoOTA/examples/BasicOTA/ci.json b/libraries/ArduinoOTA/examples/BasicOTA/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/ArduinoOTA/examples/BasicOTA/ci.json +++ b/libraries/ArduinoOTA/examples/BasicOTA/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/AsyncUDP/examples/AsyncUDPClient/ci.json b/libraries/AsyncUDP/examples/AsyncUDPClient/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/AsyncUDP/examples/AsyncUDPClient/ci.json +++ b/libraries/AsyncUDP/examples/AsyncUDPClient/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/AsyncUDP/examples/AsyncUDPMulticastServer/ci.json b/libraries/AsyncUDP/examples/AsyncUDPMulticastServer/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/AsyncUDP/examples/AsyncUDPMulticastServer/ci.json +++ b/libraries/AsyncUDP/examples/AsyncUDPMulticastServer/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/AsyncUDP/examples/AsyncUDPServer/ci.json b/libraries/AsyncUDP/examples/AsyncUDPServer/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/AsyncUDP/examples/AsyncUDPServer/ci.json +++ b/libraries/AsyncUDP/examples/AsyncUDPServer/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/DNSServer/examples/CaptivePortal/ci.json b/libraries/DNSServer/examples/CaptivePortal/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/DNSServer/examples/CaptivePortal/ci.json +++ b/libraries/DNSServer/examples/CaptivePortal/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/ESP32/examples/Time/SimpleTime/ci.json b/libraries/ESP32/examples/Time/SimpleTime/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/ESP32/examples/Time/SimpleTime/ci.json +++ b/libraries/ESP32/examples/Time/SimpleTime/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/ESP_NOW/examples/ESP_NOW_Broadcast_Master/ci.json b/libraries/ESP_NOW/examples/ESP_NOW_Broadcast_Master/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/ESP_NOW/examples/ESP_NOW_Broadcast_Master/ci.json +++ b/libraries/ESP_NOW/examples/ESP_NOW_Broadcast_Master/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/ESP_NOW/examples/ESP_NOW_Broadcast_Slave/ci.json b/libraries/ESP_NOW/examples/ESP_NOW_Broadcast_Slave/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/ESP_NOW/examples/ESP_NOW_Broadcast_Slave/ci.json +++ b/libraries/ESP_NOW/examples/ESP_NOW_Broadcast_Slave/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/ESP_NOW/examples/ESP_NOW_Network/ci.json b/libraries/ESP_NOW/examples/ESP_NOW_Network/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/ESP_NOW/examples/ESP_NOW_Network/ci.json +++ b/libraries/ESP_NOW/examples/ESP_NOW_Network/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/ESP_NOW/examples/ESP_NOW_Serial/ci.json b/libraries/ESP_NOW/examples/ESP_NOW_Serial/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/ESP_NOW/examples/ESP_NOW_Serial/ci.json +++ b/libraries/ESP_NOW/examples/ESP_NOW_Serial/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/ESPmDNS/examples/mDNS-SD_Extended/ci.json b/libraries/ESPmDNS/examples/mDNS-SD_Extended/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/ESPmDNS/examples/mDNS-SD_Extended/ci.json +++ b/libraries/ESPmDNS/examples/mDNS-SD_Extended/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/ESPmDNS/examples/mDNS_Web_Server/ci.json b/libraries/ESPmDNS/examples/mDNS_Web_Server/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/ESPmDNS/examples/mDNS_Web_Server/ci.json +++ b/libraries/ESPmDNS/examples/mDNS_Web_Server/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/Ethernet/examples/ETH_WIFI_BRIDGE/ci.json b/libraries/Ethernet/examples/ETH_WIFI_BRIDGE/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/Ethernet/examples/ETH_WIFI_BRIDGE/ci.json +++ b/libraries/Ethernet/examples/ETH_WIFI_BRIDGE/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/FFat/examples/FFat_time/ci.json b/libraries/FFat/examples/FFat_time/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/FFat/examples/FFat_time/ci.json +++ b/libraries/FFat/examples/FFat_time/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/HTTPClient/examples/Authorization/ci.json b/libraries/HTTPClient/examples/Authorization/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/HTTPClient/examples/Authorization/ci.json +++ b/libraries/HTTPClient/examples/Authorization/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/HTTPClient/examples/BasicHttpClient/ci.json b/libraries/HTTPClient/examples/BasicHttpClient/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/HTTPClient/examples/BasicHttpClient/ci.json +++ b/libraries/HTTPClient/examples/BasicHttpClient/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/HTTPClient/examples/BasicHttpsClient/ci.json b/libraries/HTTPClient/examples/BasicHttpsClient/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/HTTPClient/examples/BasicHttpsClient/ci.json +++ b/libraries/HTTPClient/examples/BasicHttpsClient/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/HTTPClient/examples/HTTPClientEnterprise/ci.json b/libraries/HTTPClient/examples/HTTPClientEnterprise/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/HTTPClient/examples/HTTPClientEnterprise/ci.json +++ b/libraries/HTTPClient/examples/HTTPClientEnterprise/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/HTTPClient/examples/ReuseConnection/ci.json b/libraries/HTTPClient/examples/ReuseConnection/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/HTTPClient/examples/ReuseConnection/ci.json +++ b/libraries/HTTPClient/examples/ReuseConnection/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/HTTPClient/examples/StreamHttpClient/ci.json b/libraries/HTTPClient/examples/StreamHttpClient/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/HTTPClient/examples/StreamHttpClient/ci.json +++ b/libraries/HTTPClient/examples/StreamHttpClient/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/HTTPUpdate/examples/httpUpdate/ci.json b/libraries/HTTPUpdate/examples/httpUpdate/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/HTTPUpdate/examples/httpUpdate/ci.json +++ b/libraries/HTTPUpdate/examples/httpUpdate/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/HTTPUpdate/examples/httpUpdateSPIFFS/ci.json b/libraries/HTTPUpdate/examples/httpUpdateSPIFFS/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/HTTPUpdate/examples/httpUpdateSPIFFS/ci.json +++ b/libraries/HTTPUpdate/examples/httpUpdateSPIFFS/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/HTTPUpdate/examples/httpUpdateSecure/ci.json b/libraries/HTTPUpdate/examples/httpUpdateSecure/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/HTTPUpdate/examples/httpUpdateSecure/ci.json +++ b/libraries/HTTPUpdate/examples/httpUpdateSecure/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/HTTPUpdateServer/examples/WebUpdater/ci.json b/libraries/HTTPUpdateServer/examples/WebUpdater/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/HTTPUpdateServer/examples/WebUpdater/ci.json +++ b/libraries/HTTPUpdateServer/examples/WebUpdater/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/Insights/examples/DiagnosticsSmokeTest/ci.json b/libraries/Insights/examples/DiagnosticsSmokeTest/ci.json index fd3a9295b01..cbd69d50029 100644 --- a/libraries/Insights/examples/DiagnosticsSmokeTest/ci.json +++ b/libraries/Insights/examples/DiagnosticsSmokeTest/ci.json @@ -1,6 +1,9 @@ { "requires": [ - "CONFIG_ESP_INSIGHTS_ENABLED=y", - "CONFIG_SOC_WIFI_SUPPORTED=y" + "CONFIG_ESP_INSIGHTS_ENABLED=y" + ], + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/Insights/examples/MinimalDiagnostics/ci.json b/libraries/Insights/examples/MinimalDiagnostics/ci.json index fd3a9295b01..cbd69d50029 100644 --- a/libraries/Insights/examples/MinimalDiagnostics/ci.json +++ b/libraries/Insights/examples/MinimalDiagnostics/ci.json @@ -1,6 +1,9 @@ { "requires": [ - "CONFIG_ESP_INSIGHTS_ENABLED=y", - "CONFIG_SOC_WIFI_SUPPORTED=y" + "CONFIG_ESP_INSIGHTS_ENABLED=y" + ], + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/LittleFS/examples/LITTLEFS_time/ci.json b/libraries/LittleFS/examples/LITTLEFS_time/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/LittleFS/examples/LITTLEFS_time/ci.json +++ b/libraries/LittleFS/examples/LITTLEFS_time/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/NetBIOS/examples/ESP_NBNST/ci.json b/libraries/NetBIOS/examples/ESP_NBNST/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/NetBIOS/examples/ESP_NBNST/ci.json +++ b/libraries/NetBIOS/examples/ESP_NBNST/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/NetworkClientSecure/examples/WiFiClientInsecure/ci.json b/libraries/NetworkClientSecure/examples/WiFiClientInsecure/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/NetworkClientSecure/examples/WiFiClientInsecure/ci.json +++ b/libraries/NetworkClientSecure/examples/WiFiClientInsecure/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/NetworkClientSecure/examples/WiFiClientPSK/ci.json b/libraries/NetworkClientSecure/examples/WiFiClientPSK/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/NetworkClientSecure/examples/WiFiClientPSK/ci.json +++ b/libraries/NetworkClientSecure/examples/WiFiClientPSK/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/NetworkClientSecure/examples/WiFiClientSecure/ci.json b/libraries/NetworkClientSecure/examples/WiFiClientSecure/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/NetworkClientSecure/examples/WiFiClientSecure/ci.json +++ b/libraries/NetworkClientSecure/examples/WiFiClientSecure/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/NetworkClientSecure/examples/WiFiClientSecureEnterprise/ci.json b/libraries/NetworkClientSecure/examples/WiFiClientSecureEnterprise/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/NetworkClientSecure/examples/WiFiClientSecureEnterprise/ci.json +++ b/libraries/NetworkClientSecure/examples/WiFiClientSecureEnterprise/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/NetworkClientSecure/examples/WiFiClientSecureProtocolUpgrade/ci.json b/libraries/NetworkClientSecure/examples/WiFiClientSecureProtocolUpgrade/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/NetworkClientSecure/examples/WiFiClientSecureProtocolUpgrade/ci.json +++ b/libraries/NetworkClientSecure/examples/WiFiClientSecureProtocolUpgrade/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/NetworkClientSecure/examples/WiFiClientShowPeerCredentials/ci.json b/libraries/NetworkClientSecure/examples/WiFiClientShowPeerCredentials/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/NetworkClientSecure/examples/WiFiClientShowPeerCredentials/ci.json +++ b/libraries/NetworkClientSecure/examples/WiFiClientShowPeerCredentials/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/NetworkClientSecure/examples/WiFiClientTrustOnFirstUse/ci.json b/libraries/NetworkClientSecure/examples/WiFiClientTrustOnFirstUse/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/NetworkClientSecure/examples/WiFiClientTrustOnFirstUse/ci.json +++ b/libraries/NetworkClientSecure/examples/WiFiClientTrustOnFirstUse/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/PPP/examples/PPP_WIFI_BRIDGE/ci.json b/libraries/PPP/examples/PPP_WIFI_BRIDGE/ci.json index 513ab9a296a..ccc62161c85 100644 --- a/libraries/PPP/examples/PPP_WIFI_BRIDGE/ci.json +++ b/libraries/PPP/examples/PPP_WIFI_BRIDGE/ci.json @@ -1,6 +1,9 @@ { "requires": [ - "CONFIG_LWIP_PPP_SUPPORT=y", - "CONFIG_SOC_WIFI_SUPPORTED=y" + "CONFIG_LWIP_PPP_SUPPORT=y" + ], + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/RainMaker/examples/RMakerCustom/ci.json b/libraries/RainMaker/examples/RMakerCustom/ci.json index 833a13f0860..1c80eda1d90 100644 --- a/libraries/RainMaker/examples/RMakerCustom/ci.json +++ b/libraries/RainMaker/examples/RMakerCustom/ci.json @@ -1,7 +1,10 @@ { "fqbn_append": "PartitionScheme=rainmaker_4MB", "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y", "CONFIG_ESP_RMAKER_WORK_QUEUE_TASK_STACK=[1-9][0-9]*" + ], + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/RainMaker/examples/RMakerCustomAirCooler/ci.json b/libraries/RainMaker/examples/RMakerCustomAirCooler/ci.json index 833a13f0860..1c80eda1d90 100644 --- a/libraries/RainMaker/examples/RMakerCustomAirCooler/ci.json +++ b/libraries/RainMaker/examples/RMakerCustomAirCooler/ci.json @@ -1,7 +1,10 @@ { "fqbn_append": "PartitionScheme=rainmaker_4MB", "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y", "CONFIG_ESP_RMAKER_WORK_QUEUE_TASK_STACK=[1-9][0-9]*" + ], + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/RainMaker/examples/RMakerSonoffDualR3/ci.json b/libraries/RainMaker/examples/RMakerSonoffDualR3/ci.json index 833a13f0860..1c80eda1d90 100644 --- a/libraries/RainMaker/examples/RMakerSonoffDualR3/ci.json +++ b/libraries/RainMaker/examples/RMakerSonoffDualR3/ci.json @@ -1,7 +1,10 @@ { "fqbn_append": "PartitionScheme=rainmaker_4MB", "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y", "CONFIG_ESP_RMAKER_WORK_QUEUE_TASK_STACK=[1-9][0-9]*" + ], + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/RainMaker/examples/RMakerSwitch/ci.json b/libraries/RainMaker/examples/RMakerSwitch/ci.json index 833a13f0860..1c80eda1d90 100644 --- a/libraries/RainMaker/examples/RMakerSwitch/ci.json +++ b/libraries/RainMaker/examples/RMakerSwitch/ci.json @@ -1,7 +1,10 @@ { "fqbn_append": "PartitionScheme=rainmaker_4MB", "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y", "CONFIG_ESP_RMAKER_WORK_QUEUE_TASK_STACK=[1-9][0-9]*" + ], + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/SD/examples/SD_time/ci.json b/libraries/SD/examples/SD_time/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/SD/examples/SD_time/ci.json +++ b/libraries/SD/examples/SD_time/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/SD_MMC/examples/SDMMC_time/ci.json b/libraries/SD_MMC/examples/SDMMC_time/ci.json index bd4aac1d647..5552b63d32a 100644 --- a/libraries/SD_MMC/examples/SDMMC_time/ci.json +++ b/libraries/SD_MMC/examples/SDMMC_time/ci.json @@ -1,6 +1,9 @@ { "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y", "CONFIG_SOC_SDMMC_HOST_SUPPORTED=y" + ], + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/SPIFFS/examples/SPIFFS_time/ci.json b/libraries/SPIFFS/examples/SPIFFS_time/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/SPIFFS/examples/SPIFFS_time/ci.json +++ b/libraries/SPIFFS/examples/SPIFFS_time/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/Update/examples/AWS_S3_OTA_Update/ci.json b/libraries/Update/examples/AWS_S3_OTA_Update/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/Update/examples/AWS_S3_OTA_Update/ci.json +++ b/libraries/Update/examples/AWS_S3_OTA_Update/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/Update/examples/HTTPS_OTA_Update/ci.json b/libraries/Update/examples/HTTPS_OTA_Update/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/Update/examples/HTTPS_OTA_Update/ci.json +++ b/libraries/Update/examples/HTTPS_OTA_Update/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/Update/examples/HTTP_Client_AES_OTA_Update/ci.json b/libraries/Update/examples/HTTP_Client_AES_OTA_Update/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/Update/examples/HTTP_Client_AES_OTA_Update/ci.json +++ b/libraries/Update/examples/HTTP_Client_AES_OTA_Update/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/Update/examples/HTTP_Server_AES_OTA_Update/ci.json b/libraries/Update/examples/HTTP_Server_AES_OTA_Update/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/Update/examples/HTTP_Server_AES_OTA_Update/ci.json +++ b/libraries/Update/examples/HTTP_Server_AES_OTA_Update/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/Update/examples/OTAWebUpdater/ci.json b/libraries/Update/examples/OTAWebUpdater/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/Update/examples/OTAWebUpdater/ci.json +++ b/libraries/Update/examples/OTAWebUpdater/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WebServer/examples/AdvancedWebServer/ci.json b/libraries/WebServer/examples/AdvancedWebServer/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WebServer/examples/AdvancedWebServer/ci.json +++ b/libraries/WebServer/examples/AdvancedWebServer/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WebServer/examples/FSBrowser/ci.json b/libraries/WebServer/examples/FSBrowser/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WebServer/examples/FSBrowser/ci.json +++ b/libraries/WebServer/examples/FSBrowser/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WebServer/examples/Filters/ci.json b/libraries/WebServer/examples/Filters/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WebServer/examples/Filters/ci.json +++ b/libraries/WebServer/examples/Filters/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WebServer/examples/HelloServer/ci.json b/libraries/WebServer/examples/HelloServer/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WebServer/examples/HelloServer/ci.json +++ b/libraries/WebServer/examples/HelloServer/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WebServer/examples/HttpAdvancedAuth/ci.json b/libraries/WebServer/examples/HttpAdvancedAuth/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WebServer/examples/HttpAdvancedAuth/ci.json +++ b/libraries/WebServer/examples/HttpAdvancedAuth/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WebServer/examples/HttpAuthCallback/ci.json b/libraries/WebServer/examples/HttpAuthCallback/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WebServer/examples/HttpAuthCallback/ci.json +++ b/libraries/WebServer/examples/HttpAuthCallback/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WebServer/examples/HttpAuthCallbackInline/ci.json b/libraries/WebServer/examples/HttpAuthCallbackInline/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WebServer/examples/HttpAuthCallbackInline/ci.json +++ b/libraries/WebServer/examples/HttpAuthCallbackInline/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WebServer/examples/HttpBasicAuth/ci.json b/libraries/WebServer/examples/HttpBasicAuth/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WebServer/examples/HttpBasicAuth/ci.json +++ b/libraries/WebServer/examples/HttpBasicAuth/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WebServer/examples/HttpBasicAuthSHA1/ci.json b/libraries/WebServer/examples/HttpBasicAuthSHA1/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WebServer/examples/HttpBasicAuthSHA1/ci.json +++ b/libraries/WebServer/examples/HttpBasicAuthSHA1/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WebServer/examples/HttpBasicAuthSHA1orBearerToken/ci.json b/libraries/WebServer/examples/HttpBasicAuthSHA1orBearerToken/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WebServer/examples/HttpBasicAuthSHA1orBearerToken/ci.json +++ b/libraries/WebServer/examples/HttpBasicAuthSHA1orBearerToken/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WebServer/examples/MultiHomedServers/ci.json b/libraries/WebServer/examples/MultiHomedServers/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WebServer/examples/MultiHomedServers/ci.json +++ b/libraries/WebServer/examples/MultiHomedServers/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WebServer/examples/PathArgServer/ci.json b/libraries/WebServer/examples/PathArgServer/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WebServer/examples/PathArgServer/ci.json +++ b/libraries/WebServer/examples/PathArgServer/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WebServer/examples/SDWebServer/ci.json b/libraries/WebServer/examples/SDWebServer/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WebServer/examples/SDWebServer/ci.json +++ b/libraries/WebServer/examples/SDWebServer/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WebServer/examples/SimpleAuthentification/ci.json b/libraries/WebServer/examples/SimpleAuthentification/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WebServer/examples/SimpleAuthentification/ci.json +++ b/libraries/WebServer/examples/SimpleAuthentification/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WebServer/examples/UploadHugeFile/ci.json b/libraries/WebServer/examples/UploadHugeFile/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WebServer/examples/UploadHugeFile/ci.json +++ b/libraries/WebServer/examples/UploadHugeFile/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WebServer/examples/WebServer/ci.json b/libraries/WebServer/examples/WebServer/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WebServer/examples/WebServer/ci.json +++ b/libraries/WebServer/examples/WebServer/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WebServer/examples/WebUpdate/ci.json b/libraries/WebServer/examples/WebUpdate/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WebServer/examples/WebUpdate/ci.json +++ b/libraries/WebServer/examples/WebUpdate/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WiFi/examples/FTM/FTM_Initiator/ci.json b/libraries/WiFi/examples/FTM/FTM_Initiator/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WiFi/examples/FTM/FTM_Initiator/ci.json +++ b/libraries/WiFi/examples/FTM/FTM_Initiator/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WiFi/examples/FTM/FTM_Responder/ci.json b/libraries/WiFi/examples/FTM/FTM_Responder/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WiFi/examples/FTM/FTM_Responder/ci.json +++ b/libraries/WiFi/examples/FTM/FTM_Responder/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WiFi/examples/SimpleWiFiServer/ci.json b/libraries/WiFi/examples/SimpleWiFiServer/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WiFi/examples/SimpleWiFiServer/ci.json +++ b/libraries/WiFi/examples/SimpleWiFiServer/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WiFi/examples/WPS/ci.json b/libraries/WiFi/examples/WPS/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WiFi/examples/WPS/ci.json +++ b/libraries/WiFi/examples/WPS/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WiFi/examples/WiFiAccessPoint/ci.json b/libraries/WiFi/examples/WiFiAccessPoint/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WiFi/examples/WiFiAccessPoint/ci.json +++ b/libraries/WiFi/examples/WiFiAccessPoint/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WiFi/examples/WiFiBlueToothSwitch/ci.json b/libraries/WiFi/examples/WiFiBlueToothSwitch/ci.json index 49a24f931bf..f27dd13c83e 100644 --- a/libraries/WiFi/examples/WiFiBlueToothSwitch/ci.json +++ b/libraries/WiFi/examples/WiFiBlueToothSwitch/ci.json @@ -1,8 +1,9 @@ { "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "CONFIG_BT_ENABLED=y" ], - "targets": { - "esp32s2": false - } + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" + ] } diff --git a/libraries/WiFi/examples/WiFiClient/ci.json b/libraries/WiFi/examples/WiFiClient/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WiFi/examples/WiFiClient/ci.json +++ b/libraries/WiFi/examples/WiFiClient/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WiFi/examples/WiFiClientBasic/ci.json b/libraries/WiFi/examples/WiFiClientBasic/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WiFi/examples/WiFiClientBasic/ci.json +++ b/libraries/WiFi/examples/WiFiClientBasic/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WiFi/examples/WiFiClientConnect/ci.json b/libraries/WiFi/examples/WiFiClientConnect/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WiFi/examples/WiFiClientConnect/ci.json +++ b/libraries/WiFi/examples/WiFiClientConnect/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WiFi/examples/WiFiClientEnterprise/ci.json b/libraries/WiFi/examples/WiFiClientEnterprise/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WiFi/examples/WiFiClientEnterprise/ci.json +++ b/libraries/WiFi/examples/WiFiClientEnterprise/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WiFi/examples/WiFiClientEvents/ci.json b/libraries/WiFi/examples/WiFiClientEvents/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WiFi/examples/WiFiClientEvents/ci.json +++ b/libraries/WiFi/examples/WiFiClientEvents/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WiFi/examples/WiFiClientStaticIP/ci.json b/libraries/WiFi/examples/WiFiClientStaticIP/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WiFi/examples/WiFiClientStaticIP/ci.json +++ b/libraries/WiFi/examples/WiFiClientStaticIP/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WiFi/examples/WiFiExtender/ci.json b/libraries/WiFi/examples/WiFiExtender/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WiFi/examples/WiFiExtender/ci.json +++ b/libraries/WiFi/examples/WiFiExtender/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WiFi/examples/WiFiIPv6/ci.json b/libraries/WiFi/examples/WiFiIPv6/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WiFi/examples/WiFiIPv6/ci.json +++ b/libraries/WiFi/examples/WiFiIPv6/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WiFi/examples/WiFiMulti/ci.json b/libraries/WiFi/examples/WiFiMulti/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WiFi/examples/WiFiMulti/ci.json +++ b/libraries/WiFi/examples/WiFiMulti/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WiFi/examples/WiFiMultiAdvanced/ci.json b/libraries/WiFi/examples/WiFiMultiAdvanced/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WiFi/examples/WiFiMultiAdvanced/ci.json +++ b/libraries/WiFi/examples/WiFiMultiAdvanced/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WiFi/examples/WiFiScan/ci.json b/libraries/WiFi/examples/WiFiScan/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WiFi/examples/WiFiScan/ci.json +++ b/libraries/WiFi/examples/WiFiScan/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WiFi/examples/WiFiScanAsync/ci.json b/libraries/WiFi/examples/WiFiScanAsync/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WiFi/examples/WiFiScanAsync/ci.json +++ b/libraries/WiFi/examples/WiFiScanAsync/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WiFi/examples/WiFiScanDualAntenna/ci.json b/libraries/WiFi/examples/WiFiScanDualAntenna/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WiFi/examples/WiFiScanDualAntenna/ci.json +++ b/libraries/WiFi/examples/WiFiScanDualAntenna/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WiFi/examples/WiFiScanTime/ci.json b/libraries/WiFi/examples/WiFiScanTime/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WiFi/examples/WiFiScanTime/ci.json +++ b/libraries/WiFi/examples/WiFiScanTime/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WiFi/examples/WiFiSmartConfig/ci.json b/libraries/WiFi/examples/WiFiSmartConfig/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WiFi/examples/WiFiSmartConfig/ci.json +++ b/libraries/WiFi/examples/WiFiSmartConfig/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WiFi/examples/WiFiTelnetToSerial/ci.json b/libraries/WiFi/examples/WiFiTelnetToSerial/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WiFi/examples/WiFiTelnetToSerial/ci.json +++ b/libraries/WiFi/examples/WiFiTelnetToSerial/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WiFi/examples/WiFiUDPClient/ci.json b/libraries/WiFi/examples/WiFiUDPClient/ci.json index 36babb82730..618e46bd244 100644 --- a/libraries/WiFi/examples/WiFiUDPClient/ci.json +++ b/libraries/WiFi/examples/WiFiUDPClient/ci.json @@ -1,5 +1,6 @@ { - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/libraries/WiFiProv/examples/WiFiProv/ci.json b/libraries/WiFiProv/examples/WiFiProv/ci.json index 04eb62b977a..cbdd28f773d 100644 --- a/libraries/WiFiProv/examples/WiFiProv/ci.json +++ b/libraries/WiFiProv/examples/WiFiProv/ci.json @@ -1,6 +1,7 @@ { "fqbn_append": "PartitionScheme=huge_app", - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] } diff --git a/tests/validation/wifi/ci.json b/tests/validation/wifi/ci.json index 36e91b221cb..94819d60efc 100644 --- a/tests/validation/wifi/ci.json +++ b/tests/validation/wifi/ci.json @@ -21,7 +21,8 @@ "hardware": false, "qemu": false }, - "requires": [ - "CONFIG_SOC_WIFI_SUPPORTED=y" + "requires_any": [ + "CONFIG_SOC_WIFI_SUPPORTED=y", + "CONFIG_ESP_WIFI_REMOTE_ENABLED=y" ] }