Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / examples / lighting-app / nrfconnect / rpc.overlay
1 #
2 #    Copyright (c) 2020 Project CHIP Authors
3 #
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
7 #
8 #        http://www.apache.org/licenses/LICENSE-2.0
9 #
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.
15 #
16
17 # This file should be used as a configuration overlay to build Pigweed RPCs to
18 # lighting-app:
19 #
20 # west build -b nrf52840dk_nrf52840 -- -DOVERLAY_CONFIG=rpc.overlay
21
22 # Enable Pigweed RPC
23 CONFIG_CHIP_PW_RPC=y
24
25 # Add support for C++17 to build Pigweed components
26 CONFIG_STD_CPP14=n
27 CONFIG_STD_CPP17=y
28
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
33
34 # Disable features which may interfere with Pigweed HDLC transport
35 CONFIG_SHELL=n
36 CONFIG_OPENTHREAD_SHELL=n
37 CONFIG_BOOT_BANNER=n
38
39 # Configure Zephyr logger with defaults backends disabled as the app provides its own,
40 # based on Pigweed HDLC.
41 CONFIG_LOG=y
42 CONFIG_LOG_MODE_MINIMAL=n
43 CONFIG_LOG_MODE_IMMEDIATE=y
44 CONFIG_LOG_BACKEND_UART=n
45 CONFIG_LOG_BACKEND_RTT=n