-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
Utilizing this snippet: - Extended log buffer size - Increased UART speed to 1M - Eabled OpenThread debug - Disabled log size optimization - Switched to log mode deferred. Signed-off-by: Arkadiusz Balys <[email protected]>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* Copyright (c) 2025 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
*/ | ||
|
||
&uart0 { | ||
current-speed = <1000000>; | ||
Check failure on line 7 in snippets/matter-debug/boards/nrf52840dk_nrf52840.overlay GitHub Actions / Run compliance checks on patch series (PR)CODE_INDENT
|
||
}; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* Copyright (c) 2025 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
*/ | ||
|
||
&uart0 { | ||
current-speed = <1000000>; | ||
Check failure on line 7 in snippets/matter-debug/boards/nrf5340dk_nrf5340_cpuapp.overlay GitHub Actions / Run compliance checks on patch series (PR)CODE_INDENT
Check warning on line 7 in snippets/matter-debug/boards/nrf5340dk_nrf5340_cpuapp.overlay GitHub Actions / Run compliance checks on patch series (PR)LEADING_SPACE
|
||
}; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* Copyright (c) 2025 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
*/ | ||
|
||
&uart136 { | ||
current-speed = <1000000>; | ||
Check failure on line 7 in snippets/matter-debug/boards/nrf54h20dk_nrf54h20_cpuapp.overlay GitHub Actions / Run compliance checks on patch series (PR)CODE_INDENT
Check warning on line 7 in snippets/matter-debug/boards/nrf54h20dk_nrf54h20_cpuapp.overlay GitHub Actions / Run compliance checks on patch series (PR)LEADING_SPACE
|
||
}; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* Copyright (c) 2025 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
*/ | ||
|
||
&uart20 { | ||
current-speed = <1000000>; | ||
Check failure on line 7 in snippets/matter-debug/boards/nrf54l15dk_nrf54l15_cpuapp.overlay GitHub Actions / Run compliance checks on patch series (PR)CODE_INDENT
Check warning on line 7 in snippets/matter-debug/boards/nrf54l15dk_nrf54l15_cpuapp.overlay GitHub Actions / Run compliance checks on patch series (PR)LEADING_SPACE
|
||
}; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* Copyright (c) 2025 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
*/ | ||
|
||
&uart0 { | ||
current-speed = <1000000>; | ||
Check failure on line 7 in snippets/matter-debug/boards/nrf7002dk_nrf5340_cpuapp.overlay GitHub Actions / Run compliance checks on patch series (PR)CODE_INDENT
Check warning on line 7 in snippets/matter-debug/boards/nrf7002dk_nrf5340_cpuapp.overlay GitHub Actions / Run compliance checks on patch series (PR)LEADING_SPACE
|
||
}; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# | ||
# Copyright (c) 2025 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
# Enable OpenThread debug logs | ||
CONFIG_OPENTHREAD_SOURCES=y | ||
CONFIG_OPENTHREAD_DEBUG=y | ||
CONFIG_OPENTHREAD_LOG_LEVEL_INFO=y | ||
CONFIG_OPENTHREAD_SHELL=y | ||
|
||
# Deffered mode of logging | ||
CONFIG_LOG=y | ||
CONFIG_LOG_MODE_DEFERRED=y | ||
CONFIG_LOG_BUFFER_SIZE=40960 | ||
CONFIG_LOG_SPEED=y | ||
CONFIG_LOG_BLOCK_IN_THREAD=y | ||
CONFIG_LOG_BLOCK_IN_THREAD_TIMEOUT_MS=50 | ||
|
||
# Enable shell features | ||
CONFIG_SHELL_MINIMAL=n | ||
|
||
# Increase verbosity of Matter logs | ||
CONFIG_CHIP_LOG_SIZE_OPTIMIZATION=n | ||
|
||
# Enable logging source code location on VerifyOrDie failure | ||
CONFIG_CHIP_LOG_VERIFY_OR_DIE=y |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: matter-debug | ||
append: | ||
EXTRA_CONF_FILE: matter_debug.conf | ||
|
||
boards: | ||
nrf52840dk/nrf52840: | ||
append: | ||
EXTRA_DTC_OVERLAY_FILE: boards/nrf52840dk_nrf52840.overlay | ||
nrf5340dk/nrf5340/cpuapp: | ||
append: | ||
EXTRA_DTC_OVERLAY_FILE: boards/nrf5340dk_nrf5340_cpuapp.overlay | ||
nrf7002dk/nrf5340/cpuapp: | ||
append: | ||
EXTRA_DTC_OVERLAY_FILE: boards/nrf7002dk_nrf5340_cpuapp.overlay | ||
thingy53/nrf5340/cpuapp: | ||
append: | ||
EXTRA_DTC_OVERLAY_FILE: boards/nrf5340dk_nrf5340_cpuapp.overlay | ||
nrf54l15dk/nrf54l15/cpuapp: | ||
append: | ||
EXTRA_DTC_OVERLAY_FILE: boards/nrf54l15dk_nrf54l15_cpuapp.overlay | ||
nrf54h20dk/nrf54h20/cpuapp: | ||
append: | ||
EXTRA_DTC_OVERLAY_FILE: boards/nrf54h20dk_nrf54h20_cpuapp.overlay |