commit | bebba90c0161c8185a4f5dba4b1aabe3ff635e66 | [log] [tgz] |
---|---|---|
author | Alexei Frolov <frolv@google.com> | Wed Jun 09 17:03:52 2021 -0700 |
committer | Alexei Frolov <frolv@google.com> | Fri Jun 11 16:30:14 2021 +0000 |
tree | 5ec0ea658a22d1f9c44950202a7f356681bd530b | |
parent | ecbdb697920d57a8eddb913d331d027335f93de3 [diff] [blame] |
pw_rpc: Use pw_function callbacks in RPC client This updates the nanopb RPC client to use pw::Function for callbacks instead of custom virtual interfaces. Change-Id: I7c548cde00223ec32e45cc831fe7f9f79577842b Requires: pigweed-internal:13201 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/48484 Reviewed-by: Wyatt Hepler <hepler@google.com>
diff --git a/pw_protobuf_compiler/proto.cmake b/pw_protobuf_compiler/proto.cmake index 911ba3a..62f6eaf 100644 --- a/pw_protobuf_compiler/proto.cmake +++ b/pw_protobuf_compiler/proto.cmake
@@ -299,6 +299,7 @@ target_link_libraries("${NAME}.nanopb_rpc" INTERFACE "${NAME}.nanopb" + pw_rpc.nanopb.client pw_rpc.nanopb.method_union pw_rpc.server ${DEPS}