From 0b0c35d3a7f57dbba04854006529a16610baa57d Mon Sep 17 00:00:00 2001 From: Jean-Francois Penven <67962328+jepenven-silabs@users.noreply.github.com> Date: Tue, 14 Nov 2023 12:06:57 -0500 Subject: [PATCH] add a dedicated option for PW_RPC (#30239) --- scripts/examples/gn_silabs_example.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/examples/gn_silabs_example.sh b/scripts/examples/gn_silabs_example.sh index e160f4da067fd5..0ebcc463ff7454 100755 --- a/scripts/examples/gn_silabs_example.sh +++ b/scripts/examples/gn_silabs_example.sh @@ -92,7 +92,7 @@ if [ "$#" == "0" ]; then Build wifi example with extension board SiWx917. (Default false) use_wf200 Build wifi example with extension board wf200. (Default false) - 'import("//with_pw_rpc.gni")' + use_pw_rpc Use to build the example with pigweed RPC ota_periodic_query_timeout_sec Periodic query timeout variable for OTA in seconds @@ -242,6 +242,10 @@ else USE_SLC=true shift ;; + --use_pw_rpc) + optArgs+="import(\"//with_pw_rpc.gni\") " + shift + ;; --slc_reuse_files) optArgs+="slc_reuse_files=true " USE_SLC=true