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_NANOPB 16 bool "Pigweed RPC nanobp" 17 18if PIGWEED_RPC_NANOPB 19 20config PIGWEED_RPC_NANOPB_DIR 21 string "Optional 3rd party directory for nanopb" 22 help 23 The directory for the custom nanopb build rules to integrate with pigweed. 24 25config PIGWEED_RPC_NANOPB_METHOD 26 bool "Enable Pigweed RPC/Nanopb method library (pw_rpc.nanopb.method)" 27 select PIGWEED_RPC_NANOPB_COMMON 28 select PIGWEED_RPC_SERVER 29 select PIGWEED_LOG 30 31config PIGWEED_RPC_NANOPB_METHOD_UNION 32 bool "Enable Pigweed RPC/Nanopb method union library (pw_rpc.nanopb.method_union)" 33 select PIGWEED_RPC_NANOPB_METHOD 34 select PIGWEED_RPC_RAW 35 select PIGWEED_RPC_SERVER 36 select PIGWEED_LOG 37 38config PIGWEED_RPC_NANOPB_CLIENT 39 bool "Enable Pigweed RPC/Nanopb client library (pw_rpc.nanopb.client)" 40 select PIGWEED_FUNCTION 41 select PIGWEED_RPC_NANOPB_COMMON 42 select PIGWEED_RPC_COMMON 43 44config PIGWEED_RPC_NANOPB_COMMON 45 bool "Enable Pigweed RPC/Nanopb common library (pw_rpc.nanopb.common)" 46 select PIGWEED_BYTES 47 select PIGWEED_LOG 48 select PIGWEED_RPC_COMMON 49 50config PIGWEED_RPC_NANOPB_ECHO_SERVICE 51 bool "Enable Pigweed RPC/Nanopb echo service library (pw_rpc.nanopb.echo_service)" 52 53endif # PIGWEED_RPC_NANOPB