Change script for apply upstream code
[platform/upstream/connectedhomeip.git] / config / nrfconnect / Kconfig
1 #
2 #   Copyright (c) 2020 Project CHIP Authors
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
17 mainmenu "CHIP application"
18
19 source "Kconfig.zephyr"
20
21 config CHIP
22         bool "Enable CHIP"
23         default n
24         select CPLUSPLUS
25         imply LIB_CPLUSPLUS
26         imply REBOOT
27         select ENTROPY_GENERATOR
28         imply NET_UDP
29         imply NET_IPV6
30         imply NET_CONFIG_NEED_IPV6
31         imply NET_SOCKETS
32         imply MULTIPROTOCOL
33         help
34           Use the CHIP protocol.
35
36 config CHIP_LIB_SHELL
37         bool "Enable CHIP's shell library"
38         help
39           Link the application with the library containing CHIP shell commands
40
41 config CHIP_PW_RPC
42         bool "Enable Pigweed RPC library"
43         help
44           Link the application with the library containing Pigweed RPC functionalities
45
46 config MULTIPROTOCOL
47         bool "Enable multiprotocol support"
48         select NRF_802154_MULTIPROTOCOL_SUPPORT
49         depends on BT && NET_L2_OPENTHREAD
50         help
51           Enable multiprotocol in the nRF 802.15.4 radio driver
52
53 config CHIP_DISABLE_CHIPOBLE_ADVERTISING_WHEN_PROVISIONED
54         bool "Disable CHIPoBLE advertising when device is fully provisioned"
55         default y
56         help
57           Enables CHIPoBLE advertising disabling when the device achieves a fully provisioned state.
58
59 config CHIP_ENABLE_CHIPOBLE_ADVERTISING_AUTOSTART
60         bool "Enable CHIPoBLE advertising autostart"
61         default n
62         help
63           Enables starting CHIPoBLE advertising automatically after application boot.
64
65 config CHIP_NFC_COMMISSIONING
66         bool "Enable NFC commissioning support"
67         default n
68         imply NFC_T2T_NRFXLIB
69         imply NFC_NDEF
70         imply NFC_NDEF_MSG
71         imply NFC_NDEF_RECORD
72         imply NFC_NDEF_URI_REC
73         imply NFC_NDEF_URI_MSG
74         help
75           Enables NFC commissioning by sharing onboarding payload in NFC tag.