• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2021 The Pigweed Authors
2#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may not
4# use this file except in compliance with the License. You may obtain a copy of
5# the License at
6#
7#     https://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations under
13# the License.
14
15menuconfig PIGWEED_RPC
16    bool "Pigweed RPC submodule"
17
18if PIGWEED_RPC
19
20rsource "nanopb/Kconfig"
21
22config PIGWEED_RPC_SERVER
23    bool "Enable Pigweed RPC server library (pw_rpc.server)"
24    select PIGWEED_RPC_COMMON
25    select PIGWEED_LOG
26
27config PIGWEED_RPC_CLIENT
28    bool "Enable Pigweed RPC client library (pw_rpc.client)"
29    select PIGWEED_RPC_COMMON
30    select PIGWEED_RESULT
31    select PIGWEED_LOG
32
33config PIGWEED_RPC_CLIENT_SERVER
34    bool "Enable Pigweed RPC client-server library (pw_rpc.client_server)"
35    select PIGWEED_RPC_CLIENT
36    select PIGWEED_RPC_SERVER
37
38config PIGWEED_RPC_COMMON
39    bool "Enable Pigweed RPC common library (pw_rpc.common)"
40    select PIGWEED_ASSERT
41    select PIGWEED_BYTES
42    select PIGWEED_CONTAINERS
43    select PIGWEED_FUNCTION
44    select PIGWEED_SPAN
45    select PIGWEED_STATUS
46    select PIGWEED_LOG
47
48endif # PIGWEED_RPC
49