From 8c04dce5fa134dd2596feaa911333c24df52b840 Mon Sep 17 00:00:00 2001 From: rgoliver Date: Tue, 7 Dec 2021 22:35:16 -0500 Subject: [PATCH] RPC: Fix efr light/lock rpc example. (#12698) Add missing define which caused the RPCs to not start. --- examples/lighting-app/efr32/BUILD.gn | 5 ++++- examples/lock-app/efr32/BUILD.gn | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/examples/lighting-app/efr32/BUILD.gn b/examples/lighting-app/efr32/BUILD.gn index 2a2c28cad112ff..142cb8dff3e051 100644 --- a/examples/lighting-app/efr32/BUILD.gn +++ b/examples/lighting-app/efr32/BUILD.gn @@ -70,7 +70,10 @@ efr32_sdk("sdk") { ] if (chip_enable_pw_rpc) { - defines += [ "HAL_VCOM_ENABLE=1" ] + defines += [ + "HAL_VCOM_ENABLE=1", + "PW_RPC_ENABLED", + ] } } diff --git a/examples/lock-app/efr32/BUILD.gn b/examples/lock-app/efr32/BUILD.gn index eae91987d71832..165b388f11c369 100644 --- a/examples/lock-app/efr32/BUILD.gn +++ b/examples/lock-app/efr32/BUILD.gn @@ -67,7 +67,10 @@ efr32_sdk("sdk") { ] if (chip_enable_pw_rpc) { - defines += [ "HAL_VCOM_ENABLE=1" ] + defines += [ + "HAL_VCOM_ENABLE=1", + "PW_RPC_ENABLED", + ] } }