From f66f632bbe6a2affbab28d993e0991f9d4252cdb Mon Sep 17 00:00:00 2001 From: bndkk <93373038+bndkk@users.noreply.github.com> Date: Wed, 23 Nov 2022 15:54:00 +0100 Subject: [PATCH] fix paths for dynamic-bridge-app still pointing to bridge-app (#23722) * fix paths for dynamic-bridge-app still pointing to bridge-app * Restyled by gn Co-authored-by: Restyled.io --- examples/dynamic-bridge-app/linux/BUILD.gn | 3 ++- examples/dynamic-bridge-app/linux/README.md | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/examples/dynamic-bridge-app/linux/BUILD.gn b/examples/dynamic-bridge-app/linux/BUILD.gn index 1f4bda053ce30f..1ed00756d01bcc 100644 --- a/examples/dynamic-bridge-app/linux/BUILD.gn +++ b/examples/dynamic-bridge-app/linux/BUILD.gn @@ -29,7 +29,8 @@ if (chip_enable_pw_rpc) { assert(chip_build_tools) chip_codegen("chip-bridge-codegen") { - input = "${chip_root}/examples/bridge-app/bridge-common/bridge-app.matter" + input = + "${chip_root}/examples/dynamic-bridge-app/bridge-common/bridge-app.matter" generator = "bridge" outputs = [ diff --git a/examples/dynamic-bridge-app/linux/README.md b/examples/dynamic-bridge-app/linux/README.md index 9960be56f504a3..85c71429fe8d0a 100644 --- a/examples/dynamic-bridge-app/linux/README.md +++ b/examples/dynamic-bridge-app/linux/README.md @@ -119,7 +119,7 @@ value/label pair `"room"`/`[light name]`. - Build the example application: ``` - $ cd ~/connectedhomeip/examples/bridge-app/linux + $ cd ~/connectedhomeip/examples/dynamic-bridge-app/linux $ git submodule update --init $ source third_party/connectedhomeip/scripts/activate.sh $ gn gen out/debug @@ -129,7 +129,7 @@ value/label pair `"room"`/`[light name]`. - To delete generated executable, libraries and object files use: ``` - $ cd ~/connectedhomeip/examples/bridge-app/linux + $ cd ~/connectedhomeip/examples/dynamic-bridge-app/linux $ rm -rf out/ ``` @@ -175,8 +175,8 @@ value/label pair `"room"`/`[light name]`. - Run Linux Bridge Example App ``` - $ cd ~/connectedhomeip/examples/bridge-app/linux - $ sudo out/debug/chip-bridge-app --ble-device [bluetooth device number] + $ cd ~/connectedhomeip/examples/dynamic-bridge-app/linux + $ sudo out/debug/dynamic-chip-bridge-app --ble-device [bluetooth device number] # In this example, the device we want to use is hci1 $ sudo out/debug/chip-bridge-app --ble-device 1 ```