forked from nrfconnect/sdk-nrf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
snippets: add snippet for tfm logging on shared uart
Add snippet for tfm loggging sharing the same uart as the application utilizes. This allows the same configuration to be used for all samples without duplicationg it. sharing the uart with the application can be useful when modem traces occupies the other uart. Signed-off-by: Kaja Koren <[email protected]>
- Loading branch information
Showing
7 changed files
with
42 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
snippets/tfm-enable-share-uart/overlay-tfm-enable-share-uart.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# | ||
# Copyright (c) 2023 Nordic Semiconductor | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
# TFM logging over uart0 | ||
CONFIG_TFM_LOG_LEVEL_SILENCE=n | ||
CONFIG_TFM_SECURE_UART0=y | ||
CONFIG_TFM_SECURE_UART_SHARE_INSTANCE=y | ||
CONFIG_TFM_EXCEPTION_INFO_DUMP=y | ||
CONFIG_TFM_SPM_LOG_LEVEL_DEBUG=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
name: tfm-enable-share-uart | ||
append: | ||
EXTRA_CONF_FILE: overlay-tfm-enable-share-uart.conf |