diff --git a/examples/lighting-app/efr32/BUILD.gn b/examples/lighting-app/efr32/BUILD.gn index 2a2c28cad112ff..09b4107110206f 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..e0255323f79722 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", + ] } }