Skip to content

Commit

Permalink
Restyle and add some description for the new parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartinez-silabs committed Dec 7, 2022
1 parent 7451ac7 commit 409c6a8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions scripts/examples/gn_efr32_example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ if [ "$#" == "0" ]; then
enable_sleepy_device
Enable Sleepy end device. (Default false)
Must also set chip_openthread_ftd=false
sl_matter_version_str
Set a Matter sotfware version string for the Silabs examples
Used and formatted by default in this script.
To skip that formatting or use your own version string use --skip_versioning
use_rs911x
Build wifi example with extension board rs911x. (Default false)
use_wf200
Expand All @@ -105,6 +109,9 @@ if [ "$#" == "0" ]; then
enable Addition data advertissing and rotating device ID
--use_ot_lib
use the silabs openthread library
--skip_versioning
Skip the silabs formating for the Matter software version string
Currently : v1.0-<branchName>-<ShortCommitSha>
"
elif [ "$#" -lt "2" ]; then
echo "Invalid number of arguments
Expand Down Expand Up @@ -164,7 +171,7 @@ else
optArgs+="use_silabs_thread_lib=true chip_openthread_target=$SILABS_THREAD_TARGET openthread_external_platform=\"""\" use_thread_coap_lib=true "
shift
;;
--skip_silabs_version)
--skip_versioning)
USE_SILABS_VERSIONING=false
shift
;;
Expand All @@ -189,7 +196,7 @@ else
ShortCommitSha=$(git describe --always --dirty)
branchName=$(git rev-parse --abbrev-ref HEAD)
optArgs+="sl_matter_version_str=\"v1.0-$branchName-$ShortCommitSha\" "
} &> /dev/null
} &>/dev/null
fi

BUILD_DIR=$OUTDIR/$SILABS_BOARD
Expand Down

0 comments on commit 409c6a8

Please sign in to comment.