-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[noup] nordic_nrf: 54l Add UARTE defines to peripherals config
fixup! [nrf noup] platform: nordic_nrf: Add support for 54l Adding missing definitions for UART ports to build the regression tests Ref: NCSDK-27431 Signed-off-by: Markus Swarowsky <[email protected]>
- Loading branch information
1 parent
92a5b4f
commit 27cf237
Showing
5 changed files
with
79 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
20 changes: 20 additions & 0 deletions
20
platform/ext/target/nordic_nrf/common/nrf54l15/tfm_peripherals_config_nrf54l15.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
#ifndef TFM_PERIPHERAL_UARTE00_SECURE | ||
#define TFM_PERIPHERAL_UARTE00_SECURE 0 | ||
#endif | ||
|
||
#ifndef TFM_PERIPHERAL_UARTE20_SECURE | ||
#define TFM_PERIPHERAL_UARTE20_SECURE 0 | ||
#endif | ||
|
||
#ifndef TFM_PERIPHERAL_UARTE21_SECURE | ||
#define TFM_PERIPHERAL_UARTE21_SECURE 0 | ||
#endif | ||
|
||
#ifndef TFM_PERIPHERAL_UARTE22_SECURE | ||
#define TFM_PERIPHERAL_UARTE22_SECURE 0 | ||
#endif | ||
|
||
#ifndef TFM_PERIPHERAL_UARTE30_SECURE | ||
#define TFM_PERIPHERAL_UARTE30_SECURE 0 | ||
#endif |
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
30 changes: 30 additions & 0 deletions
30
platform/ext/target/nordic_nrf/nrf54l15dk_nrf54l15_cpuapp/tfm_peripherals_config.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/* | ||
* Copyright (c) 2021, Arm Limited. All rights reserved. | ||
* | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
* | ||
*/ | ||
|
||
#ifndef TFM_PERIPHERALS_CONFIG_H__ | ||
#define TFM_PERIPHERALS_CONFIG_H__ | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
#ifdef SECURE_UART30 | ||
#define TFM_PERIPHERAL_UARTE30_SECURE 1 | ||
#endiff | ||
|
||
|
||
#if defined(NRF54L15_ENGA_XXAA) | ||
#include <tfm_peripherals_config_nrf54l15.h> | ||
#else | ||
#error "Unknown device." | ||
#endif | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif /* TFM_PERIPHERAL_CONFIG_H__ */ |