Damian Królik | 34a4a93 | 2020-07-20 20:07:50 +0200 | [diff] [blame] | 1 | # |
Kamil Kasperczyk | dcca243 | 2022-04-05 12:46:55 +0200 | [diff] [blame] | 2 | # Copyright (c) 2022 Project CHIP Authors |
Damian Królik | 34a4a93 | 2020-07-20 20:07:50 +0200 | [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 | |
Kamil Kasperczyk | dcca243 | 2022-04-05 12:46:55 +0200 | [diff] [blame] | 17 | CONFIG_CHIP=y |
| 18 | CONFIG_STD_CPP14=y |
| 19 | |
| 20 | # This sample uses Kconfig.defaults to set options common for all |
Kamil Kasperczyk | f256bec | 2020-10-02 17:41:51 +0200 | [diff] [blame] | 21 | # samples. This file should contain only options specific for this sample |
| 22 | # or overrides of default values. |
Damian Królik | 34a4a93 | 2020-07-20 20:07:50 +0200 | [diff] [blame] | 23 | |
| 24 | # Add support for LEDs and buttons on Nordic development kits |
| 25 | CONFIG_DK_LIBRARY=y |
| 26 | |
Kamil Kasperczyk | 08ca987 | 2022-03-04 15:28:49 +0100 | [diff] [blame] | 27 | # OpenThread configs |
Kamil Kasperczyk | dcca243 | 2022-04-05 12:46:55 +0200 | [diff] [blame] | 28 | CONFIG_OPENTHREAD_THREAD_VERSION_1_2=y |
Kamil Kasperczyk | 08ca987 | 2022-03-04 15:28:49 +0100 | [diff] [blame] | 29 | CONFIG_OPENTHREAD_NORDIC_LIBRARY_MTD=y |
| 30 | CONFIG_OPENTHREAD_MTD=y |
| 31 | CONFIG_OPENTHREAD_FTD=n |
| 32 | |
Kamil Kasperczyk | 9d95790 | 2020-10-05 15:33:50 +0200 | [diff] [blame] | 33 | # Default OpenThread network settings |
| 34 | CONFIG_OPENTHREAD_PANID=4660 |
| 35 | CONFIG_OPENTHREAD_CHANNEL=15 |
| 36 | CONFIG_OPENTHREAD_NETWORK_NAME="OpenThread" |
| 37 | CONFIG_OPENTHREAD_XPANID="11:11:11:11:22:22:22:22" |
| 38 | |
Damian Królik | 6e56b41 | 2020-10-26 19:17:45 +0100 | [diff] [blame] | 39 | # Bluetooth overrides |
Kamil Kasperczyk | 1d9927a | 2021-06-18 18:51:50 +0200 | [diff] [blame] | 40 | CONFIG_BT_DEVICE_NAME="MatterLock" |
Damian Królik | 34a4a93 | 2020-07-20 20:07:50 +0200 | [diff] [blame] | 41 | |
Rafał Kuźnia | 568f4f7 | 2020-07-28 17:51:37 +0200 | [diff] [blame] | 42 | # Additional configs for debbugging experience. |
Damian Królik | 34a4a93 | 2020-07-20 20:07:50 +0200 | [diff] [blame] | 43 | CONFIG_THREAD_NAME=y |
Rafał Kuźnia | 568f4f7 | 2020-07-28 17:51:37 +0200 | [diff] [blame] | 44 | CONFIG_MPU_STACK_GUARD=y |
Kamil Kasperczyk | ae5a36a | 2022-03-23 09:54:22 +0100 | [diff] [blame] | 45 | CONFIG_RESET_ON_FATAL_ERROR=n |
Damian Królik | c0889c6 | 2020-12-14 20:50:12 +0100 | [diff] [blame] | 46 | |
| 47 | # CHIP configuration |
| 48 | CONFIG_CHIP_PROJECT_CONFIG="main/include/CHIPProjectConfig.h" |
Damian Królik | d671a52 | 2022-02-16 08:43:29 +0100 | [diff] [blame] | 49 | # 32774 == 0x8006 (example lock-app) |
| 50 | CONFIG_CHIP_DEVICE_PRODUCT_ID=32774 |