Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / examples / pigweed-app / nrfconnect / prj.conf
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 # Export POSIX names for functions implementing a subset of POSIX standard in Zephyr
17 CONFIG_POSIX_API=y
18
19 # Add support for LEDs and buttons on Nordic development kits
20 CONFIG_DK_LIBRARY=y
21
22 # Additional configs for debbugging experience.
23 CONFIG_THREAD_NAME=y
24 CONFIG_MPU_STACK_GUARD=y
25
26 # Enable Pigweed RPC
27 CONFIG_CHIP_PW_RPC=y
28
29 # Add support for C++17 to build Pigweed components
30 CONFIG_STD_CPP14=n
31 CONFIG_STD_CPP17=y
32
33 # Add support for Zephyr console component to use it for Pigweed console purposes
34 CONFIG_CONSOLE_SUBSYS=y
35 CONFIG_CONSOLE_GETCHAR=y
36 CONFIG_CONSOLE_PUTCHAR_BUFSIZE=256
37
38 # Disable features which may interfere with Pigweed HDLC transport
39 CONFIG_SHELL=n
40 CONFIG_OPENTHREAD_SHELL=n
41 CONFIG_BOOT_BANNER=n
42
43 # Configure Zephyr logger with defaults backends disabled as the app provides its own,
44 # based on Pigweed HDLC.
45 CONFIG_LOG=y
46 CONFIG_LOG_MODE_MINIMAL=n
47 CONFIG_LOG_MODE_IMMEDIATE=y
48 CONFIG_LOG_BACKEND_UART=n
49 CONFIG_LOG_BACKEND_RTT=n