| # |
| # Copyright (c) 2023-2024 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 |
| CONFIG_CHIP_PROJECT_CONFIG="main/include/CHIPProjectConfig.h" |
| CONFIG_CHIP_ENABLE_PAIRING_AUTOSTART=y |
| # CHIP PID: 32769 == 0x8001 (all-clusters-app) |
| CONFIG_CHIP_DEVICE_PRODUCT_ID=32769 |
| CONFIG_CHIP_DEVICE_PRODUCT_NAME="All Clusters" |
| CONFIG_CHIP_DEVICE_DISCRIMINATOR=0x800 |
| |
| # Enable MbedTLS PSA - heavily experimental, not thread safe yet |
| # CONFIG_CHIP_CRYPTO_PSA=y |
| |
| # Bluetooth overrides |
| CONFIG_BT_DEVICE_NAME="NXPAllClusters" |
| |
| # Additional configs for debbugging experience. |
| CONFIG_THREAD_NAME=y |
| CONFIG_MPU_STACK_GUARD=y |
| |
| CONFIG_DEBUG=y |
| CONFIG_DEBUG_INFO=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 |