Skip to content

Commit

Permalink
updated board references from BRD4161A to BRD4187C in example commands (
Browse files Browse the repository at this point in the history
#26264)

* updated board references from BRD4161A to BRD4187C in example commands

* change EFR32_BOARD to SILABS_BOARD

* change references to silabs_board to SILABS_BOARD
  • Loading branch information
Ezra Hale authored and pull[bot] committed Oct 19, 2023
1 parent 61ced2d commit 4376441
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 33 deletions.
14 changes: 7 additions & 7 deletions examples/light-switch-app/silabs/efr32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Silicon Labs platform.
* Build the example application:

cd ~/connectedhomeip
./scripts/examples/gn_efr32_example.sh ./examples/light-switch-app/silabs/efr32/ ./out/light-switch-app BRD4161A
./scripts/examples/gn_efr32_example.sh ./examples/light-switch-app/silabs/efr32/ ./out/light-switch-app BRD4187C

- To delete generated executable, libraries and object files use:

Expand All @@ -118,7 +118,7 @@ Silicon Labs platform.
$ cd ~/connectedhomeip/examples/light-switch-app/silabs/efr32
$ git submodule update --init
$ source third_party/connectedhomeip/scripts/activate.sh
$ export EFR32_BOARD=BRD4161A
$ export SILABS_BOARD=BRD4187C
$ gn gen out/debug
$ ninja -C out/debug

Expand All @@ -129,26 +129,26 @@ Silicon Labs platform.

* Build the example with Matter shell

./scripts/examples/gn_efr32_example.sh examples/light-switch-app/silabs/efr32/ out/light-switch-app BRD4161A chip_build_libshell=true
./scripts/examples/gn_efr32_example.sh examples/light-switch-app/silabs/efr32/ out/light-switch-app BRD4187C chip_build_libshell=true

* Build the example as Sleepy End Device (SED)

$ ./scripts/examples/gn_efr32_example.sh ./examples/light-switch-app/silabs/efr32/ ./out/light-switch-app_SED BRD4161A --sed
$ ./scripts/examples/gn_efr32_example.sh ./examples/light-switch-app/silabs/efr32/ ./out/light-switch-app_SED BRD4187C --sed

or use gn as previously mentioned but adding the following arguments:

$ gn gen out/debug '--args=silabs_board="BRD4161A" enable_sleepy_device=true chip_openthread_ftd=false chip_build_libshell=true'
$ gn gen out/debug '--args=SILABS_BOARD="BRD4187C" enable_sleepy_device=true chip_openthread_ftd=false chip_build_libshell=true'

* Build the example with pigweed RCP

$ ./scripts/examples/gn_efr32_example.sh examples/light-switch-app/silabs/efr32/ out/light-switch-app_rpc BRD4161A 'import("//with_pw_rpc.gni")'
$ ./scripts/examples/gn_efr32_example.sh examples/light-switch-app/silabs/efr32/ out/light-switch-app_rpc BRD4187C 'import("//with_pw_rpc.gni")'

or use GN/Ninja Directly

$ cd ~/connectedhomeip/examples/light-switch-app/silabs/efr32
$ git submodule update --init
$ source third_party/connectedhomeip/scripts/activate.sh
$ export EFR32_BOARD=BRD4161A
$ export SILABS_BOARD=BRD4187C
$ gn gen out/debug --args='import("//with_pw_rpc.gni")'
$ ninja -C out/debug

Expand Down
12 changes: 6 additions & 6 deletions examples/lighting-app/silabs/efr32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Silicon Labs platform.
* Build the example application:

cd ~/connectedhomeip
./scripts/examples/gn_efr32_example.sh ./examples/lighting-app/silabs/efr32/ ./out/lighting-app BRD4161A
./scripts/examples/gn_efr32_example.sh ./examples/lighting-app/silabs/efr32/ ./out/lighting-app BRD4187C

- To delete generated executable, libraries and object files use:

Expand All @@ -112,7 +112,7 @@ Silicon Labs platform.
$ cd ~/connectedhomeip/examples/lighting-app/silabs/efr32
$ git submodule update --init
$ source third_party/connectedhomeip/scripts/activate.sh
$ export silabs_board=BRD4161A
$ export SILABS_BOARD=BRD4187C
$ gn gen out/debug
$ ninja -C out/debug

Expand All @@ -123,22 +123,22 @@ Silicon Labs platform.

* Build the example as Sleepy End Device (SED)

$ ./scripts/examples/gn_efr32_example.sh ./examples/lighting-app/silabs/efr32/ ./out/lighting-app_SED BRD4161A --sed
$ ./scripts/examples/gn_efr32_example.sh ./examples/lighting-app/silabs/efr32/ ./out/lighting-app_SED BRD4187C --sed

or use gn as previously mentioned but adding the following arguments:

$ gn gen out/debug '--args=silabs_board="BRD4161A" enable_sleepy_device=true chip_openthread_ftd=false'
$ gn gen out/debug '--args=SILABS_BOARD="BRD4187C" enable_sleepy_device=true chip_openthread_ftd=false'

* Build the example with pigweed RPC

$ ./scripts/examples/gn_efr32_example.sh examples/lighting-app/silabs/efr32/ out/lighting_app_rpc BRD4161A 'import("//with_pw_rpc.gni")'
$ ./scripts/examples/gn_efr32_example.sh examples/lighting-app/silabs/efr32/ out/lighting_app_rpc BRD4187C 'import("//with_pw_rpc.gni")'

or use GN/Ninja Directly

$ cd ~/connectedhomeip/examples/lighting-app/silabs/efr32
$ git submodule update --init
$ source third_party/connectedhomeip/scripts/activate.sh
$ export silabs_board=BRD4161A
$ export SILABS_BOARD=BRD4187C
$ gn gen out/debug --args='import("//with_pw_rpc.gni")'
$ ninja -C out/debug

Expand Down
14 changes: 7 additions & 7 deletions examples/lock-app/silabs/efr32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Mac OS X

```
cd ~/connectedhomeip
./scripts/examples/gn_efr32_example.sh ./examples/lock-app/silabs/efr32/ ./out/lock_app BRD4161A
./scripts/examples/gn_efr32_example.sh ./examples/lock-app/silabs/efr32/ ./out/lock_app BRD4187C
```

- To delete generated executable, libraries and object files use:
Expand All @@ -118,8 +118,8 @@ Mac OS X
$ cd ~/connectedhomeip/examples/silabs/lock-app/efr32
$ git submodule update --init
$ source third_party/connectedhomeip/scripts/activate.sh
$ export EFR32_BOARD=BRD4161A
$ gn gen out/debug --args="efr32_sdk_root=\"${EFR32_SDK_ROOT}\" silabs_board=\"${EFR32_BOARD}\""
$ export SILABS_BOARD=BRD4187C
$ gn gen out/debug --args="efr32_sdk_root=\"${EFR32_SDK_ROOT}\" SILABS_BOARD=\"${SILABS_BOARD}\""
$ ninja -C out/debug
```

Expand All @@ -133,19 +133,19 @@ Mac OS X
* Build the example as Sleepy End Device (SED)

```
$ ./scripts/examples/gn_efr32_example.sh ./examples/lock-app/silabs/efr32/ ./out/lock-app_SED BRD4161A --sed
$ ./scripts/examples/gn_efr32_example.sh ./examples/lock-app/silabs/efr32/ ./out/lock-app_SED BRD4187C --sed
```

or use gn as previously mentioned but adding the following arguments:

```
$ gn gen out/debug '--args=silabs_board="BRD4161A" enable_sleepy_device=true chip_openthread_ftd=false'
$ gn gen out/debug '--args=SILABS_BOARD="BRD4187C" enable_sleepy_device=true chip_openthread_ftd=false'
```

* Build the example with pigweed RCP

```
$ ./scripts/examples/gn_efr32_example.sh examples/lock-app/silabs/efr32/ out/lock_app_rpc BRD4161A 'import("//with_pw_rpc.gni")'
$ ./scripts/examples/gn_efr32_example.sh examples/lock-app/silabs/efr32/ out/lock_app_rpc BRD4187C 'import("//with_pw_rpc.gni")'
```

or use GN/Ninja Directly
Expand All @@ -154,7 +154,7 @@ Mac OS X
$ cd ~/connectedhomeip/examples/lock-app/silabs/efr32
$ git submodule update --init
$ source third_party/connectedhomeip/scripts/activate.sh
$ export EFR32_BOARD=BRD4161A
$ export SILABS_BOARD=BRD4187C
$ gn gen out/debug --args='import("//with_pw_rpc.gni")'
$ ninja -C out/debug
```
Expand Down
14 changes: 7 additions & 7 deletions examples/thermostat/silabs/efr32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Silicon Labs platform.
* Build the example application:

cd ~/connectedhomeip
./scripts/examples/gn_efr32_example.sh ./examples/thermostat/silabs/efr32/ ./out/thermostat-app BRD4161A
./scripts/examples/gn_efr32_example.sh ./examples/thermostat/silabs/efr32/ ./out/thermostat-app BRD4187C

- To delete generated executable, libraries and object files use:

Expand All @@ -118,7 +118,7 @@ Silicon Labs platform.
$ cd ~/connectedhomeip/examples/thermostat/silabs/efr32
$ git submodule update --init
$ source third_party/connectedhomeip/scripts/activate.sh
$ export EFR32_BOARD=BRD4161A
$ export SILABS_BOARD=BRD4187C
$ gn gen out/debug
$ ninja -C out/debug

Expand All @@ -129,26 +129,26 @@ Silicon Labs platform.

* Build the example with Matter shell

./scripts/examples/gn_efr32_example.sh examples/thermostat/silabs/efr32/ out/thermostat-app BRD4161A chip_build_libshell=true
./scripts/examples/gn_efr32_example.sh examples/thermostat/silabs/efr32/ out/thermostat-app BRD4187C chip_build_libshell=true

* Build the example as Sleepy End Device (SED)

$ ./scripts/examples/gn_efr32_example.sh ./examples/thermostat/silabs/efr32/ ./out/thermostat-app_SED BRD4161A --sed
$ ./scripts/examples/gn_efr32_example.sh ./examples/thermostat/silabs/efr32/ ./out/thermostat-app_SED BRD4187C --sed

or use gn as previously mentioned but adding the following arguments:

$ gn gen out/debug '--args=silabs_board="BRD4161A" enable_sleepy_device=true chip_openthread_ftd=false chip_build_libshell=true'
$ gn gen out/debug '--args=SILABS_BOARD="BRD4187C" enable_sleepy_device=true chip_openthread_ftd=false chip_build_libshell=true'

* Build the example with pigweed RCP

$ ./scripts/examples/gn_efr32_example.sh examples/thermostat/silabs/efr32/ out/thermostat-app_rpc BRD4161A 'import("//with_pw_rpc.gni")'
$ ./scripts/examples/gn_efr32_example.sh examples/thermostat/silabs/efr32/ out/thermostat-app_rpc BRD4187C 'import("//with_pw_rpc.gni")'

or use GN/Ninja Directly

$ cd ~/connectedhomeip/examples/thermostat/silabs/efr32
$ git submodule update --init
$ source third_party/connectedhomeip/scripts/activate.sh
$ export EFR32_BOARD=BRD4161A
$ export SILABS_BOARD=BRD4187C
$ gn gen out/debug --args='import("//with_pw_rpc.gni")'
$ ninja -C out/debug

Expand Down
12 changes: 6 additions & 6 deletions examples/window-app/silabs/efr32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Silicon Labs platform.
* Build the example application:

cd ~/connectedhomeip
./scripts/examples/gn_efr32_example.sh ./examples/window-app/silabs/efr32/ ./out/window-app BRD4161A
./scripts/examples/gn_efr32_example.sh ./examples/window-app/silabs/efr32/ ./out/window-app BRD4187C

- To delete generated executable, libraries and object files use:

Expand All @@ -111,7 +111,7 @@ Silicon Labs platform.
$ cd ~/connectedhomeip/examples/window-app/silabs/efr32
$ git submodule update --init
$ source third_party/connectedhomeip/scripts/activate.sh
$ export EFR32_BOARD=BRD4161A
$ export SILABS_BOARD=BRD4187C
$ gn gen out/debug
$ ninja -C out/debug

Expand All @@ -122,22 +122,22 @@ Silicon Labs platform.

* Build the example as Sleepy End Device (SED)

$ ./scripts/examples/gn_efr32_example.sh ./examples/window-app/silabs/efr32/ ./out/window-app_SED BRD4161A --sed
$ ./scripts/examples/gn_efr32_example.sh ./examples/window-app/silabs/efr32/ ./out/window-app_SED BRD4187C --sed

or use gn as previously mentioned but adding the following arguments:

$ gn gen out/debug '--args=silabs_board="BRD4161A" enable_sleepy_device=true chip_openthread_ftd=false'
$ gn gen out/debug '--args=SILABS_BOARD="BRD4187C" enable_sleepy_device=true chip_openthread_ftd=false'

* Build the example with pigweed RCP

$ ./scripts/examples/gn_efr32_example.sh examples/window-app/silabs/efr32/ out/window_app_rpc BRD4161A 'import("//with_pw_rpc.gni")'
$ ./scripts/examples/gn_efr32_example.sh examples/window-app/silabs/efr32/ out/window_app_rpc BRD4187C 'import("//with_pw_rpc.gni")'

or use GN/Ninja Directly

$ cd ~/connectedhomeip/examples/window-app/silabs/efr32
$ git submodule update --init
$ source third_party/connectedhomeip/scripts/activate.sh
$ export EFR32_BOARD=BRD4161A
$ export SILABS_BOARD=BRD4187C
$ gn gen out/debug --args='import("//with_pw_rpc.gni")'
$ ninja -C out/debug

Expand Down

0 comments on commit 4376441

Please sign in to comment.