Skip to content

Commit

Permalink
RPC: Fix efr light/lock rpc example.
Browse files Browse the repository at this point in the history
Add missing define which caused the RPCs to not start.
  • Loading branch information
Rob Oliver committed Dec 7, 2021
1 parent 051685b commit a021013
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion examples/lighting-app/efr32/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]
}
}

Expand Down
5 changes: 4 additions & 1 deletion examples/lock-app/efr32/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]
}
}

Expand Down

0 comments on commit a021013

Please sign in to comment.