-
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.
snippets: Add snippet to emulate the nRF54L10
Add a snippet to simulate the RAM and RRAM sizes of the nRF54L10 when building for the nRF54L15. Note that enabling FLPR is not supported when using this snippet. Signed-off-by: Carles Cufi <[email protected]>
- Loading branch information
1 parent
9e5b54d
commit bb93491
Showing
3 changed files
with
88 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
.. _emulated-nrf54l10: | ||
|
||
nRF54L10 snippet | ||
################ | ||
|
||
.. contents:: | ||
:local: | ||
:depth: 2 | ||
|
||
Overview | ||
******** | ||
|
||
Simulate the nRF54L10 on an nRF54L15. | ||
|
||
Supported SoCs and boards | ||
************************* | ||
|
||
.. warning: | ||
This snippet is not compatible with the use of the FLPR core, since all | ||
memory (both RAM and RRAM) is assigned to the application core. | ||
Currently, the only SoC and board supported for use with the snippet is: | ||
|
||
* :ref:`zephyr:nrf54l15dk_nrf54l15` |
52 changes: 52 additions & 0 deletions
52
snippets/emulated-nrf54l10/boards/nrf54l15dk_nrf54l15_cpuapp.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,52 @@ | ||
/* | ||
* Copyright (c) 2024 Nordic Semiconductor | ||
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
*/ | ||
|
||
&cpuapp_sram { | ||
reg = <0x20000000 DT_SIZE_K(192)>; | ||
ranges = <0x0 0x20000000 DT_SIZE_K(192)>; | ||
}; | ||
|
||
&cpuapp_rram { | ||
reg = <0x0 DT_SIZE_K(1022)>; | ||
}; | ||
|
||
/delete-node/ &boot_partition; | ||
/delete-node/ &slot0_partition; | ||
/delete-node/ &slot0_ns_partition; | ||
/delete-node/ &slot1_partition; | ||
/delete-node/ &slot1_ns_partition; | ||
/delete-node/ &storage_partition; | ||
|
||
&cpuapp_rram { | ||
partitions { | ||
compatible = "fixed-partitions"; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
boot_partition: partition@0 { | ||
label = "mcuboot"; | ||
reg = <0x0 DT_SIZE_K(64)>; | ||
}; | ||
slot0_partition: partition@10000 { | ||
label = "image-0"; | ||
reg = <0x10000 DT_SIZE_K(230)>; | ||
}; | ||
slot0_ns_partition: partition@49800 { | ||
label = "image-0-nonsecure"; | ||
reg = <0x49800 DT_SIZE_K(230)>; | ||
}; | ||
slot1_partition: partition@83000 { | ||
label = "image-1"; | ||
reg = <0x83000 DT_SIZE_K(230)>; | ||
}; | ||
slot1_ns_partition: partition@bc800 { | ||
label = "image-1-nonsecure"; | ||
reg = <0xbc800 DT_SIZE_K(230)>; | ||
}; | ||
storage_partition: partition@f6000 { | ||
label = "storage"; | ||
reg = <0xf6000 DT_SIZE_K(38)>; | ||
}; | ||
}; | ||
}; |
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) 2024 Nordic Semiconductor | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
name: emulated-nrf54l10 | ||
|
||
boards: | ||
nrf54l15dk/nrf54l15/cpuapp: | ||
append: | ||
EXTRA_DTC_OVERLAY_FILE: boards/nrf54l15dk_nrf54l15_cpuapp.overlay |