File tree 5 files changed +50
-27
lines changed
5 files changed +50
-27
lines changed Original file line number Diff line number Diff line change @@ -34,15 +34,6 @@ config CHIP_NRF_PLATFORM
34
34
config CHIP_DEVICE_VENDOR_NAME
35
35
default "Nordic Semiconductor ASA"
36
36
37
- config CHIP_APP_LOG_LEVEL
38
- int "Logging level in application"
39
- default LOG_DEFAULT_LEVEL
40
- depends on LOG
41
- help
42
- Sets the logging level in the Matter application. Use this configuration
43
- option only within the application. To set the logging level for the
44
- Matter stack, use the MATTER_LOG_LEVEL configuration option.
45
-
46
37
config CHIP_NFC_COMMISSIONING
47
38
bool "Share onboarding payload in NFC tag"
48
39
default n
Original file line number Diff line number Diff line change @@ -30,15 +30,6 @@ config CHIP_NXP_PLATFORM
30
30
config CHIP_DEVICE_VENDOR_NAME
31
31
default "NXP Semiconductors"
32
32
33
- config CHIP_APP_LOG_LEVEL
34
- int "Logging level in application"
35
- default LOG_DEFAULT_LEVEL
36
- depends on LOG
37
- help
38
- Sets the logging level in the Matter application. Use this configuration
39
- option only within the application. To set the logging level for the
40
- Matter stack, use the MATTER_LOG_LEVEL configuration option.
41
-
42
33
config CHIP_EXAMPLE_DEVICE_INFO_PROVIDER
43
34
bool "Include default device information provider build"
44
35
default y
Original file line number Diff line number Diff line change @@ -22,15 +22,6 @@ if CHIP
22
22
config CHIP_DEVICE_VENDOR_NAME
23
23
default "Telink Semiconductor"
24
24
25
- config CHIP_APP_LOG_LEVEL
26
- int "Logging level in application"
27
- default LOG_DEFAULT_LEVEL
28
- depends on LOG
29
- help
30
- Sets the logging level in the Matter application. Use this configuration
31
- option only within the application. To set the logging level for the
32
- Matter stack, use the MATTER_LOG_LEVEL configuration option.
33
-
34
25
config CHIP_NFC_COMMISSIONING
35
26
bool "Share onboarding payload in NFC tag"
36
27
default n
Original file line number Diff line number Diff line change @@ -42,6 +42,15 @@ menuconfig CHIP
42
42
43
43
if CHIP
44
44
45
+ config CHIP_APP_LOG_LEVEL
46
+ int "Logging level in application"
47
+ default LOG_DEFAULT_LEVEL
48
+ depends on LOG
49
+ help
50
+ Sets the logging level in the Matter application. Use this configuration
51
+ option only within the application. To set the logging level for the
52
+ Matter stack, use the MATTER_LOG_LEVEL configuration option.
53
+
45
54
# Device and firmware identifers
46
55
47
56
config CHIP_DEVICE_VENDOR_ID
Original file line number Diff line number Diff line change
1
+ #
2
+ # Copyright (c) 2021 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
+ config LOG
18
+ default y
19
+
20
+ if LOG
21
+
22
+ choice LOG_MODE
23
+ default LOG_MODE_MINIMAL
24
+ endchoice
25
+
26
+ choice MATTER_LOG_LEVEL_CHOICE
27
+ default MATTER_LOG_LEVEL_DBG
28
+ endchoice
29
+
30
+ config CHIP_APP_LOG_LEVEL
31
+ default 4 # debug
32
+
33
+ config LOG_DEFAULT_LEVEL
34
+ default 1 # error
35
+
36
+ # disable synchronous printk to avoid blocking IRQs which
37
+ # may affect time sensitive components
38
+ config PRINTK_SYNC
39
+ default n
40
+
41
+ endif # LOG
You can’t perform that action at this time.
0 commit comments