# Commands will be run in CHIP project root. | |
cd "{root}" | |
# Generating efr32-brd4161a-light-rpc | |
gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/efr32 '--args=silabs_board="BRD4161A" is_debug=false import("//with_pw_rpc.gni")' {out}/efr32-brd4161a-light-rpc | |
# Building efr32-brd4161a-light-rpc | |
ninja -C {out}/efr32-brd4161a-light-rpc |