Douglas Rocha Ferraz | 172c024 | 2022-04-06 14:02:03 -0400 | [diff] [blame] | 1 | # |
Douglas Rocha Ferraz | c0e05dd | 2022-04-19 21:30:01 -0400 | [diff] [blame] | 2 | # Copyright (c) 2022 Project CHIP Authors |
Douglas Rocha Ferraz | 172c024 | 2022-04-06 14:02:03 -0400 | [diff] [blame] | 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 | |
Douglas Rocha Ferraz | c0e05dd | 2022-04-19 21:30:01 -0400 | [diff] [blame] | 17 | CONFIG_CHIP=y |
| 18 | CONFIG_STD_CPP14=y |
| 19 | |
| 20 | # This sample uses Kconfig.defaults to set options common for all |
Douglas Rocha Ferraz | 172c024 | 2022-04-06 14:02:03 -0400 | [diff] [blame] | 21 | # samples. This file should contain only options specific for this sample |
| 22 | # or overrides of default values. |
| 23 | |
| 24 | # Add support for LEDs and buttons on Nordic development kits |
| 25 | CONFIG_DK_LIBRARY=y |
Douglas Rocha Ferraz | c0e05dd | 2022-04-19 21:30:01 -0400 | [diff] [blame] | 26 | CONFIG_PWM=y |
Douglas Rocha Ferraz | 172c024 | 2022-04-06 14:02:03 -0400 | [diff] [blame] | 27 | |
| 28 | # OpenThread configs |
| 29 | CONFIG_OPENTHREAD_NORDIC_LIBRARY_FTD=y |
| 30 | |
Douglas Rocha Ferraz | c0e05dd | 2022-04-19 21:30:01 -0400 | [diff] [blame] | 31 | # Bluetooth overrides |
| 32 | CONFIG_BT_DEVICE_NAME="MatterLight" |
Douglas Rocha Ferraz | 172c024 | 2022-04-06 14:02:03 -0400 | [diff] [blame] | 33 | |
| 34 | # Additional configs for debbugging experience. |
| 35 | CONFIG_THREAD_NAME=y |
| 36 | CONFIG_MPU_STACK_GUARD=y |
| 37 | CONFIG_RESET_ON_FATAL_ERROR=n |
| 38 | |
Douglas Rocha Ferraz | c0e05dd | 2022-04-19 21:30:01 -0400 | [diff] [blame] | 39 | # Disable Matter OTA DFU |
| 40 | CONFIG_CHIP_OTA_REQUESTOR=n |
| 41 | |
| 42 | # Disable QSPI NOR |
| 43 | CONFIG_CHIP_QSPI_NOR=n |
| 44 | |
Douglas Rocha Ferraz | 172c024 | 2022-04-06 14:02:03 -0400 | [diff] [blame] | 45 | # CHIP configuration |
| 46 | CONFIG_CHIP_PROJECT_CONFIG="CHIPProjectConfig.h" |
Douglas Rocha Ferraz | c0e05dd | 2022-04-19 21:30:01 -0400 | [diff] [blame] | 47 | # 32773 == 0x8005 (example lighting-app) |
| 48 | CONFIG_CHIP_DEVICE_PRODUCT_ID=32773 |
| 49 | |
| 50 | # Enable CHIP pairing automatically on application start. |
| 51 | CONFIG_CHIP_ENABLE_PAIRING_AUTOSTART=y |
| 52 | |
| 53 | # Configure CHIP shell |
| 54 | CONFIG_CHIP_LIB_SHELL=y |
Damian Królik | cedcce0 | 2022-08-01 17:02:14 +0200 | [diff] [blame] | 55 | CONFIG_OPENTHREAD_SHELL=y |
Kamil Kasperczyk | cf4beb5 | 2022-06-23 12:55:11 +0200 | [diff] [blame] | 56 | |
| 57 | # Disable factory data support. |
| 58 | CONFIG_CHIP_FACTORY_DATA=n |
| 59 | CONFIG_CHIP_FACTORY_DATA_BUILD=n |