Skip to content

Commit

Permalink
Add low power flag
Browse files Browse the repository at this point in the history
  • Loading branch information
mkardous-silabs committed Oct 24, 2022
1 parent d5e2725 commit 6550be0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion scripts/examples/gn_efr32_example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,10 @@ if [ "$#" == "0" ]; then
Presets
--sed
enable sleepy end device, set thread mtd
For minimum consumption, disable openthread cli and qr code
For minimum consumption, add --low-power
--low-power
disables all power consuming features for the most power efficient build
This flag is to be used with --sed
--wifi <wf200 | rs911x>
build wifi example variant for given exansion board
--additional_data_advertising
Expand Down Expand Up @@ -140,6 +143,10 @@ else
optArgs+="enable_sleepy_device=true chip_openthread_ftd=false "
shift
;;
--low-power)
optArgs+="chip_build_libshell=false enable_openthread_cli=false show_qr_code=false disable_lcd=true "
shift
;;
--chip_enable_wifi_ipv4)
optArgs+="chip_enable_wifi_ipv4=true "
shift
Expand Down

0 comments on commit 6550be0

Please sign in to comment.