blob: 2f2fc49501d231ec083fae60c2e87256d34c0067 [file] [log] [blame]
Douglas Rocha Ferraz172c0242022-04-06 14:02:03 -04001#
Douglas Rocha Ferrazc0e05dd2022-04-19 21:30:01 -04002# Copyright (c) 2022 Project CHIP Authors
Douglas Rocha Ferraz172c0242022-04-06 14:02:03 -04003#
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 Ferrazc0e05dd2022-04-19 21:30:01 -040017CONFIG_CHIP=y
18CONFIG_STD_CPP14=y
19
20# This sample uses Kconfig.defaults to set options common for all
Douglas Rocha Ferraz172c0242022-04-06 14:02:03 -040021# 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
25CONFIG_DK_LIBRARY=y
Douglas Rocha Ferrazc0e05dd2022-04-19 21:30:01 -040026CONFIG_PWM=y
Douglas Rocha Ferraz172c0242022-04-06 14:02:03 -040027
28# OpenThread configs
29CONFIG_OPENTHREAD_NORDIC_LIBRARY_FTD=y
30
Douglas Rocha Ferrazc0e05dd2022-04-19 21:30:01 -040031# Bluetooth overrides
32CONFIG_BT_DEVICE_NAME="MatterLight"
Douglas Rocha Ferraz172c0242022-04-06 14:02:03 -040033
34# Additional configs for debbugging experience.
35CONFIG_THREAD_NAME=y
36CONFIG_MPU_STACK_GUARD=y
37CONFIG_RESET_ON_FATAL_ERROR=n
38
Douglas Rocha Ferrazc0e05dd2022-04-19 21:30:01 -040039# Disable Matter OTA DFU
40CONFIG_CHIP_OTA_REQUESTOR=n
41
42# Disable QSPI NOR
43CONFIG_CHIP_QSPI_NOR=n
44
Douglas Rocha Ferraz172c0242022-04-06 14:02:03 -040045# CHIP configuration
46CONFIG_CHIP_PROJECT_CONFIG="CHIPProjectConfig.h"
Douglas Rocha Ferrazc0e05dd2022-04-19 21:30:01 -040047# 32773 == 0x8005 (example lighting-app)
48CONFIG_CHIP_DEVICE_PRODUCT_ID=32773
49
50# Enable CHIP pairing automatically on application start.
51CONFIG_CHIP_ENABLE_PAIRING_AUTOSTART=y
52
53# Configure CHIP shell
54CONFIG_CHIP_LIB_SHELL=y
Damian Królikcedcce02022-08-01 17:02:14 +020055CONFIG_OPENTHREAD_SHELL=y
Kamil Kasperczykcf4beb52022-06-23 12:55:11 +020056
57# Disable factory data support.
58CONFIG_CHIP_FACTORY_DATA=n
59CONFIG_CHIP_FACTORY_DATA_BUILD=n