| # |
| # Copyright (c) 2022-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 |
| |
| # 32772 == 0x8004 (example light-switch-app) |
| CONFIG_CHIP_DEVICE_PRODUCT_ID=32772 |
| |
| # Bluetooth Low Energy configuration |
| CONFIG_BT_DEVICE_NAME="TelinkSwitch" |
| |
| # Disable Matter OTA DFU |
| CONFIG_CHIP_OTA_REQUESTOR=n |
| CONFIG_CHIP_DEVICE_SOFTWARE_VERSION=1 |
| |
| # Disable CHIP shell support |
| CONFIG_CHIP_LIB_SHELL=n |
| |
| # Disable factory data support |
| CONFIG_CHIP_FACTORY_DATA=n |
| CONFIG_CHIP_FACTORY_DATA_BUILD=n |
| CONFIG_CHIP_FACTORY_DATA_MERGE_WITH_FIRMWARE=n |
| CONFIG_CHIP_CERTIFICATION_DECLARATION_STORAGE=n |
| |
| # Enable Power Management |
| CONFIG_PM=y |