From 87ac23afa1eb6c2bf1201965d4c2703b8b3a70c3 Mon Sep 17 00:00:00 2001 From: Sarthak Shaha Date: Fri, 13 Oct 2023 15:08:13 -0400 Subject: [PATCH] Remove support for light-switch app for wifi NCP combinations and Thermostat app for SiWx917 --- scripts/examples/gn_silabs_example.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/examples/gn_silabs_example.sh b/scripts/examples/gn_silabs_example.sh index 484788eb4baf28..f79c268d2c48a9 100755 --- a/scripts/examples/gn_silabs_example.sh +++ b/scripts/examples/gn_silabs_example.sh @@ -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 '*')