blob: a74e2e254f73036a4567bccca650e2dad8a2f310 [file] [log] [blame]
Damian Królik34a4a932020-07-20 20:07:50 +02001#
Kamil Kasperczykdcca2432022-04-05 12:46:55 +02002# Copyright (c) 2022 Project CHIP Authors
Damian Królik34a4a932020-07-20 20:07:50 +02003#
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
Kamil Kasperczykdcca2432022-04-05 12:46:55 +020017CONFIG_CHIP=y
18CONFIG_STD_CPP14=y
19
20# This sample uses Kconfig.defaults to set options common for all
Kamil Kasperczykf256bec2020-10-02 17:41:51 +020021# samples. This file should contain only options specific for this sample
22# or overrides of default values.
Damian Królik34a4a932020-07-20 20:07:50 +020023
24# Add support for LEDs and buttons on Nordic development kits
25CONFIG_DK_LIBRARY=y
26
Kamil Kasperczyk08ca9872022-03-04 15:28:49 +010027# OpenThread configs
Kamil Kasperczykdcca2432022-04-05 12:46:55 +020028CONFIG_OPENTHREAD_THREAD_VERSION_1_2=y
Kamil Kasperczyk08ca9872022-03-04 15:28:49 +010029CONFIG_OPENTHREAD_NORDIC_LIBRARY_MTD=y
30CONFIG_OPENTHREAD_MTD=y
31CONFIG_OPENTHREAD_FTD=n
32
Kamil Kasperczyk9d957902020-10-05 15:33:50 +020033# Default OpenThread network settings
34CONFIG_OPENTHREAD_PANID=4660
35CONFIG_OPENTHREAD_CHANNEL=15
36CONFIG_OPENTHREAD_NETWORK_NAME="OpenThread"
37CONFIG_OPENTHREAD_XPANID="11:11:11:11:22:22:22:22"
38
Damian Królik6e56b412020-10-26 19:17:45 +010039# Bluetooth overrides
Kamil Kasperczyk1d9927a2021-06-18 18:51:50 +020040CONFIG_BT_DEVICE_NAME="MatterLock"
Damian Królik34a4a932020-07-20 20:07:50 +020041
Rafał Kuźnia568f4f72020-07-28 17:51:37 +020042# Additional configs for debbugging experience.
Damian Królik34a4a932020-07-20 20:07:50 +020043CONFIG_THREAD_NAME=y
Rafał Kuźnia568f4f72020-07-28 17:51:37 +020044CONFIG_MPU_STACK_GUARD=y
Kamil Kasperczykae5a36a2022-03-23 09:54:22 +010045CONFIG_RESET_ON_FATAL_ERROR=n
Damian Królikc0889c62020-12-14 20:50:12 +010046
47# CHIP configuration
48CONFIG_CHIP_PROJECT_CONFIG="main/include/CHIPProjectConfig.h"
Damian Królikd671a522022-02-16 08:43:29 +010049# 32774 == 0x8006 (example lock-app)
50CONFIG_CHIP_DEVICE_PRODUCT_ID=32774