blob: dfb88873d11ed0d0f7a48f1d568d9a9edf7d150d [file]
#
# Copyright (c) 2023-2024, 2026 Project CHIP Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# This sample uses Kconfig.defaults to set options common for all
# samples. This file should contain only options specific for this sample
# or overrides of default values.
# Enable CHIP
CONFIG_CHIP=y
CONFIG_STD_CPP17=y
# Additional configs for debbugging experience.
CONFIG_THREAD_NAME=y
CONFIG_MPU_STACK_GUARD=y
CONFIG_DEBUG=y
CONFIG_DEBUG_THREAD_INFO=y
# use this config if stepping during debug session is not consistent
# CONFIG_NO_OPTIMIZATIONS=y
CONFIG_ASSERT=y
# by default west will generate the full assembly output, which can take several minutes when binaries are large
CONFIG_OUTPUT_DISASSEMBLY=n
# embedded thread analyzer with thread statistics (stack usage, cpu usage...)
# CONFIG_THREAD_ANALYZER=y
# CONFIG_THREAD_ANALYZER_USE_PRINTK=y
# CONFIG_THREAD_ANALYZER_AUTO=y
# enable Matter CLI
#CONFIG_CHIP_LIB_SHELL=y
# enable NET commands if desired
# CONFIG_NET_SHELL=y
CONFIG_CHIP_STATISTICS=y
CONFIG_CHIP_BUILD_TESTS=y
CONFIG_CHIP_BUILD_NL_FAULT_INJECTION=n
CONFIG_MAIN_STACK_SIZE=8704
CONFIG_CHIP_ZEPHYR_USE_POSIX_DEFAULT_SOURCE=y
CONFIG_SHELL=n