-
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.
samples: openthread: add TF-M support for nrf54l15
add TF-M support for nrf54l15 and pull nrfxlib with changes allowing building TFM from libraries without warnings Signed-off-by: Maciej Baczmanski <[email protected]>
- Loading branch information
1 parent
f4360c0
commit 4d32157
Showing
9 changed files
with
73 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
14 changes: 14 additions & 0 deletions
14
samples/openthread/cli/boards/nrf54l15dk_nrf54l15_cpuapp_ns.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,14 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
# Disable the unsupported driver | ||
CONFIG_NRFX_UARTE0=n | ||
|
||
# Workaround required as Zephyr L2 implies usage of NVS backend for settings. | ||
# It should be removed once the proper fix will be applied in Zephyr. | ||
CONFIG_NVS=n | ||
CONFIG_ZMS=y | ||
CONFIG_SETTINGS_ZMS=y |
16 changes: 16 additions & 0 deletions
16
samples/openthread/cli/boards/nrf54l15dk_nrf54l15_cpuapp_ns.overlay
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,16 @@ | ||
/* | ||
* Copyright (c) 2024 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
*/ | ||
|
||
|
||
// restore full RRAM and SRAM space - by default some parts are dedicated to FLRP | ||
&cpuapp_rram { | ||
reg = <0x0 DT_SIZE_K(1524)>; | ||
}; | ||
|
||
&cpuapp_sram { | ||
reg = <0x20000000 DT_SIZE_K(256)>; | ||
ranges = <0x0 0x20000000 0x40000>; | ||
}; |
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
13 changes: 13 additions & 0 deletions
13
samples/openthread/coprocessor/boards/nrf54l15dk_nrf54l15_cpuapp_ns.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,13 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
CONFIG_SPI_NOR=n | ||
|
||
# Workaround required as Zephyr L2 implies usage of NVS backend for settings. | ||
# It should be removed once the proper fix will be applied in Zephyr. | ||
CONFIG_NVS=n | ||
CONFIG_ZMS=y | ||
CONFIG_SETTINGS_ZMS=y |
16 changes: 16 additions & 0 deletions
16
samples/openthread/coprocessor/boards/nrf54l15dk_nrf54l15_cpuapp_ns.overlay
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,16 @@ | ||
/* Copyright (c) 2024 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
*/ | ||
|
||
&uart20 { | ||
Check warning on line 6 in samples/openthread/coprocessor/boards/nrf54l15dk_nrf54l15_cpuapp_ns.overlay GitHub Actions / Run compliance checks on patch series (PR)LEADING_SPACE
|
||
current-speed = <1000000>; | ||
status = "okay"; | ||
hw-flow-control; | ||
}; | ||
|
||
/ { | ||
chosen { | ||
zephyr,ot-uart = &uart20; | ||
}; | ||
}; |
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