Skip to content

Commit

Permalink
Adds changes based on comments
Browse files Browse the repository at this point in the history
  • Loading branch information
brosahay committed Nov 3, 2023
1 parent 9613cc9 commit 73fc998
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
3 changes: 1 addition & 2 deletions examples/platform/silabs/efr32/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ if (chip_enable_wifi) {

if (use_rs9116) {
import("rs911x/rs911x.gni")
}
if (use_SiWx917) {
} else if (use_SiWx917) {
import("rs911x/rs9117.gni")
}
if (use_wf200) {
Expand Down
10 changes: 2 additions & 8 deletions scripts/examples/gn_silabs_example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,8 @@ else
;;
--docker)
optArgs+="efr32_sdk_root=\"$GSDK_ROOT\" "
optArgs+="wiseconnect_sdk_root=\"$WISECONNECT_SDK_ROOT\" "
optArgs+="wiseconnect_sdk_root=\"$WISECONNECT_SDK_ROOT\" "
USE_DOCKER=true
shift
;;
Expand Down Expand Up @@ -322,14 +324,6 @@ else
optArgs+="openthread_root=\"$GSDK_ROOT/util/third_party/openthread\" "
fi

if [ "$USE_DOCKER" == true ] && [ "$USE_WIFI" == true ]; then
echo "Switching WiseConnect 2 SDK ROOT"
optArgs+="wiseconnect_sdk_root=\"$WISECONNECT_SDK_ROOT\" "

echo "Switching WiseConnect 3 SDK ROOT"
optArgs+="wifi_sdk_root=\"$WIFI_SDK_ROOT\" "
fi

"$GN_PATH" gen --check --script-executable="$PYTHON_PATH" --fail-on-unused-args --export-compile-commands --root="$ROOT" --dotfile="$DOTFILE" --args="silabs_board=\"$SILABS_BOARD\" $optArgs" "$BUILD_DIR"

if [ "$USE_SLC" == true ]; then
Expand Down

0 comments on commit 73fc998

Please sign in to comment.