2 # Copyright (c) 2020 Project CHIP Authors
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
17 # This file should be used as a configuration overlay to build Pigweed RPCs to
20 # west build -b nrf52840dk_nrf52840 -- -DOVERLAY_CONFIG=rpc.overlay
25 # Add support for C++17 to build Pigweed components
29 # Add support for Zephyr console component to use it for Pigweed console purposes
30 CONFIG_CONSOLE_SUBSYS=y
31 CONFIG_CONSOLE_GETCHAR=y
32 CONFIG_CONSOLE_PUTCHAR_BUFSIZE=256
34 # Disable features which may interfere with Pigweed HDLC transport
36 CONFIG_OPENTHREAD_SHELL=n
39 # Configure Zephyr logger with defaults backends disabled as the app provides its own,
40 # based on Pigweed HDLC.
42 CONFIG_LOG_MODE_MINIMAL=n
43 CONFIG_LOG_MODE_IMMEDIATE=y
44 CONFIG_LOG_BACKEND_UART=n
45 CONFIG_LOG_BACKEND_RTT=n