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.
16 # Export POSIX names for functions implementing a subset of POSIX standard in Zephyr
19 # Add support for LEDs and buttons on Nordic development kits
22 # Additional configs for debbugging experience.
24 CONFIG_MPU_STACK_GUARD=y
29 # Add support for C++17 to build Pigweed components
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
38 # Disable features which may interfere with Pigweed HDLC transport
40 CONFIG_OPENTHREAD_SHELL=n
43 # Configure Zephyr logger with defaults backends disabled as the app provides its own,
44 # based on Pigweed HDLC.
46 CONFIG_LOG_MODE_MINIMAL=n
47 CONFIG_LOG_MODE_IMMEDIATE=y
48 CONFIG_LOG_BACKEND_UART=n
49 CONFIG_LOG_BACKEND_RTT=n