Skip to content

Commit

Permalink
Remove support for light-switch app for wifi NCP combinations and The…
Browse files Browse the repository at this point in the history
…rmostat app for SiWx917
  • Loading branch information
Sarthak-Shaha committed Oct 15, 2023
1 parent eac0c7c commit 7ca3416
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions scripts/examples/gn_silabs_example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ else
exit 1
fi
USE_WIFI=true
WIFI_NCP=true
optArgs+="chip_device_platform =\"efr32\" "
shift
shift
Expand Down Expand Up @@ -275,9 +276,17 @@ else
if [ "$SILABS_BOARD" == "BRD4325B" ] || [ "$SILABS_BOARD" == "BRD4325C" ] || [ "$SILABS_BOARD" == "BRD4338A" ]; then
echo "Compiling for 917 WiFi SOC"
USE_WIFI=true
WIFI_NCP=false
optArgs+="chip_device_platform =\"SiWx917\" "
fi

# Deprecated support for Light-swtich app for NCP combinations and Thermostat app for SiWx917
if [[ $ROOT == *"light-switch-app"* && "$WIFI_NCP" == true ]] ||
[[ $ROOT == *"thermostat"* && "$WIFI_NCP" == false && "$USE_WIFI" == true ]]; then
echo "Provided App and Build Options are not supported"
exit 1
fi

if [ "$USE_GIT_SHA_FOR_VERSION" == true ]; then
{
ShortCommitSha=$(git describe --always --dirty --exclude '*')
Expand Down

0 comments on commit 7ca3416

Please sign in to comment.