Skip to content

Commit 0f2cc60

Browse files
carlescufirlubos
authored andcommitted
snippets: Add snippet to emulate the nRF54L05
Add a snippet to simulate the RAM and RRAM sizes of the nRF54L05 when building for the nRF54L15. Note that enabling FLPR is not supported when using this snippet. Signed-off-by: Carles Cufi <[email protected]>
1 parent 31918fc commit 0f2cc60

File tree

3 files changed

+87
-0
lines changed

3 files changed

+87
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
.. _emulated-nrf54l05:
2+
3+
nRF54L05 snippet
4+
################
5+
6+
.. contents::
7+
:local:
8+
:depth: 2
9+
10+
Overview
11+
********
12+
13+
This snippet (``emulated-nrf54l05``) emulates nRF54L10 on the nRF54L15 DK.
14+
15+
Supported SoCs and boards
16+
*************************
17+
18+
.. warning:
19+
This snippet cannot be used with the FLPR core because all memory, including RAM and RRAM, is allocated to the application core.
20+
21+
Currently, the only SoC and board supported for use with the snippet is:
22+
23+
* :ref:`zephyr:nrf54l15dk_nrf54l15`
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
/*
2+
* Copyright (c) 2024 Nordic Semiconductor
3+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
4+
*/
5+
6+
&cpuapp_sram {
7+
reg = <0x20000000 DT_SIZE_K(96)>;
8+
ranges = <0x0 0x20000000 DT_SIZE_K(96)>;
9+
};
10+
11+
&cpuapp_rram {
12+
reg = <0x0 DT_SIZE_K(500)>;
13+
};
14+
15+
/delete-node/ &boot_partition;
16+
/delete-node/ &slot0_partition;
17+
/delete-node/ &slot0_ns_partition;
18+
/delete-node/ &slot1_partition;
19+
/delete-node/ &slot1_ns_partition;
20+
/delete-node/ &storage_partition;
21+
22+
&cpuapp_rram {
23+
partitions {
24+
compatible = "fixed-partitions";
25+
#address-cells = <1>;
26+
#size-cells = <1>;
27+
boot_partition: partition@0 {
28+
label = "mcuboot";
29+
reg = <0x0 DT_SIZE_K(64)>;
30+
};
31+
slot0_partition: partition@10000 {
32+
label = "image-0";
33+
reg = <0x10000 DT_SIZE_K(100)>;
34+
};
35+
slot0_ns_partition: partition@29000 {
36+
label = "image-0-nonsecure";
37+
reg = <0x29000 DT_SIZE_K(100)>;
38+
};
39+
slot1_partition: partition@42000 {
40+
label = "image-1";
41+
reg = <0x42000 DT_SIZE_K(100)>;
42+
};
43+
slot1_ns_partition: partition@5b000 {
44+
label = "image-1-nonsecure";
45+
reg = <0x5b000 DT_SIZE_K(100)>;
46+
};
47+
storage_partition: partition@74000 {
48+
label = "storage";
49+
reg = <0x74000 DT_SIZE_K(36)>;
50+
};
51+
};
52+
};
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#
2+
# Copyright (c) 2024 Nordic Semiconductor
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
name: emulated-nrf54l05
8+
9+
boards:
10+
nrf54l15dk/nrf54l15/cpuapp:
11+
append:
12+
EXTRA_DTC_OVERLAY_FILE: boards/nrf54l15dk_nrf54l15_cpuapp.overlay

0 commit comments

Comments
 (0)