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 13, 2023
1 parent 7c4956e commit 87ac23a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/examples/gn_silabs_example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,14 @@ else
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"* && $optArgs != *"chip_device_platform =\"SiWx917\""* && $USE_WIFI == true ]] ||
[[ $ROOT == *"thermostat"* && $optArgs == *"chip_device_platform =\"SiWx917\" "* ]];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 87ac23a

Please sign in to comment.