-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add build docs for Fabric-Admin and Fabric-Bridge-App (#34122)
* Add build doc for Fabric-Admin and Fabric-Bridge-App * Update examples/fabric-admin/README.md Co-authored-by: saurabhst <s.kumar9@samsung.com> --------- Co-authored-by: saurabhst <s.kumar9@samsung.com> Co-authored-by: Andrei Litvin <andy314@gmail.com>
- Loading branch information
Showing
3 changed files
with
102 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Matter Fabric Administrator Example | ||
|
||
An example application that supports synchronization of devices across fabrics | ||
fabrics. | ||
|
||
--- | ||
|
||
- [Building the Example Application](#building-the-example-application) | ||
|
||
--- | ||
|
||
## Building the Example Application | ||
|
||
For Linux host example: | ||
|
||
``` | ||
./scripts/examples/gn_build_example.sh examples/fabric-admin out/debug/standalone chip_config_network_layer_ble=false 'import("//with_pw_rpc.gni")' | ||
``` | ||
|
||
For Raspberry Pi 4 example: | ||
|
||
### Pull Docker Images | ||
|
||
``` | ||
docker pull connectedhomeip/chip-build-vscode:latest | ||
``` | ||
|
||
### Run docker | ||
|
||
``` | ||
docker run -it -v ~/connectedhomeip:/var/connectedhomeip connectedhomeip/chip-build-vscode:latest /bin/bash | ||
``` | ||
|
||
### Build | ||
|
||
``` | ||
cd /var/connectedhomeip | ||
git config --global --add safe.directory /var/connectedhomeip | ||
git config --global --add safe.directory /var/connectedhomeip/third_party/pigweed/repo | ||
git config --global --add safe.directory /var/connectedhomeip/examples/common/QRCode/repo | ||
./scripts/run_in_build_env.sh \ | ||
"./scripts/build/build_examples.py \ | ||
--target linux-arm64-fabric-admin-clang-rpc \ | ||
build" | ||
``` | ||
|
||
### Transfer the fabric-admin binary to a Raspberry Pi | ||
|
||
``` | ||
scp ./fabric-admin ubuntu@xxx.xxx.xxx.xxx:/home/ubuntu | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters