-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tfm: Add support for configurable baud rate
Add support for configurable baud rate for TF-M secure log. Signed-off-by: Vidar Lillebø <vidar.lillebo@nordicsemi.no>
- Loading branch information
1 parent
7063c82
commit 6332cd4
Showing
2 changed files
with
25 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
* Copyright (c) 2022 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
*/ | ||
|
||
#ifndef DEVICE_CFG_H__ | ||
#define DEVICE_CFG_H__ | ||
|
||
/** | ||
* \file device_cfg.h | ||
* \brief | ||
* This is the default device configuration file with all peripherals | ||
* defined and configured to be use via the secure and/or non-secure base | ||
* address. | ||
*/ | ||
/* ARRAY_SIZE causes a conflict as it is defined both by TF-M and indirectly by devicetree.h */ | ||
#undef ARRAY_SIZE | ||
#include <autoconf.h> | ||
#include <zephyr/devicetree.h> | ||
|
||
#define DEFAULT_UART_BAUDRATE DT_PROP(DT_NODELABEL(uart1), current_speed) | ||
|
||
#endif /* DEVICE_CFG_H__ */ |
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