Skip to content

Commit d619858

Browse files
maciejbaczmanskiadigie
authored andcommitted
samples: openthread: add support for nRF54L10 and nRF54L05
Add support for nRF54L10 and nRF54L05 in OpenThread Signed-off-by: Maciej Baczmanski <[email protected]> Co-authored-by: Adrian Gielniewski <[email protected]>
1 parent 14927ff commit d619858

16 files changed

+166
-13
lines changed

doc/nrf/protocols/thread/overview/architectures.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ This platform design is suitable for the following development kits:
7474

7575
.. table-from-rows:: /includes/sample_board_rows.txt
7676
:header: heading
77-
:rows: nrf52840dk_nrf52840, nrf5340dk_nrf5340_cpuapp, nrf54l15dk_nrf54l15_cpuapp_and_cpuapp_ns, nrf21540dk_nrf52840
77+
:rows: nrf52840dk_nrf52840, nrf5340dk_nrf5340_cpuapp, nrf54l15dk_nrf54l15_cpuapp_and_cpuapp_ns, nrf54l15dk_nrf54l10_cpuapp, nrf21540dk_nrf52840
7878

7979
.. _thread_architectures_designs_soc_designs_multiprotocol:
8080

@@ -110,7 +110,7 @@ This platform design is suitable for the following development kits:
110110

111111
.. table-from-rows:: /includes/sample_board_rows.txt
112112
:header: heading
113-
:rows: nrf52840dk_nrf52840, nrf5340dk_nrf5340_cpuapp, nrf54l15dk_nrf54l15_cpuapp_and_cpuapp_ns
113+
:rows: nrf52840dk_nrf52840, nrf5340dk_nrf5340_cpuapp, nrf54l15dk_nrf54l15_cpuapp_and_cpuapp_ns, nrf54l15dk_nrf54l10_cpuapp
114114

115115
.. _thread_architectures_designs_cp:
116116

@@ -190,7 +190,7 @@ This platform design is suitable for the following development kits:
190190

191191
.. table-from-rows:: /includes/sample_board_rows.txt
192192
:header: heading
193-
:rows: nrf52833dk_nrf52833, nrf52840dk_nrf52840, nrf54l15dk_nrf54l15_cpuapp_and_cpuapp_ns, nrf21540dk_nrf52840
193+
:rows: nrf52833dk_nrf52833, nrf52840dk_nrf52840, nrf54l15dk_nrf54l15_cpuapp_and_cpuapp_ns, nrf54l15dk_nrf54l05_cpuapp, nrf21540dk_nrf52840
194194

195195
.. _thread_architectures_designs_cp_uart:
196196

samples/openthread/cli/README.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ The following snippets are available:
9999
* ``usb`` - Enables USB transport support.
100100

101101
.. note::
102-
The ``usb`` snippet is not supported for the ``nrf54l15dk/nrf54l15/cpuapp`` board target.
102+
The ``usb`` snippet does not support the ``nrf54l15dk/nrf54l15/cpuapp`` and ``nrf54l15dk/nrf54l10/cpuapp`` board targets.
103103

104104
* ``logging`` - Enables logging using RTT.
105105
For additional options, refer to :ref:`RTT logging <ug_logging_backends_rtt>`.
@@ -125,6 +125,9 @@ The following snippets are available:
125125
* ``tcp`` - Enables experimental TCP support in this sample.
126126
* ``low_power`` - Enables low power consumption mode in this sample.
127127

128+
.. note::
129+
The ``low_power`` snippet does not support the ``nrf54l15dk/nrf54l10/cpuapp`` board target.
130+
128131
FEM support
129132
===========
130133

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#
2+
# Copyright (c) 2024 Nordic Semiconductor
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
# Disable the unsupported driver
8+
CONFIG_NRFX_UARTE0=n
9+
10+
# Increase Main and shell stack sizes to avoid stack overflow
11+
# while using CRACEN
12+
CONFIG_MAIN_STACK_SIZE=6144
13+
CONFIG_SHELL_STACK_SIZE=5120
14+
15+
# Workaround required as Zephyr L2 implies usage of NVS backend for settings.
16+
# It should be removed once the proper fix will be applied in Zephyr.
17+
CONFIG_NVS=n
18+
CONFIG_ZMS=y
19+
CONFIG_SETTINGS_ZMS=y
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*
2+
* Copyright (c) 2024 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
// restore full RRAM and SRAM space - by default some parts are dedicated to FLPR
8+
&cpuapp_rram {
9+
reg = <0x0 DT_SIZE_K(1022)>;
10+
};
11+
12+
&cpuapp_sram {
13+
reg = <0x20000000 DT_SIZE_K(192)>;
14+
ranges = <0x0 0x20000000 DT_SIZE_K(192)>;
15+
};

samples/openthread/cli/boards/nrf54l15dk_nrf54l15_cpuapp.overlay

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@
44
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
55
*/
66

7-
8-
// restore full RRAM and SRAM space - by default some parts are dedicated to FLRP
7+
// restore full RRAM and SRAM space - by default some parts are dedicated to FLPR
98
&cpuapp_rram {
109
reg = <0x0 DT_SIZE_K(1524)>;
1110
};
1211

1312
&cpuapp_sram {
1413
reg = <0x20000000 DT_SIZE_K(256)>;
15-
ranges = <0x0 0x20000000 0x40000>;
14+
ranges = <0x0 0x20000000 DT_SIZE_K(256)>;
1615
};

samples/openthread/cli/boards/nrf54l15dk_nrf54l15_cpuapp_ns.overlay

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@
44
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
55
*/
66

7-
8-
// restore full RRAM and SRAM space - by default some parts are dedicated to FLRP
7+
// restore full RRAM and SRAM space - by default some parts are dedicated to FLPR
98
&cpuapp_rram {
109
reg = <0x0 DT_SIZE_K(1524)>;
1110
};
1211

1312
&cpuapp_sram {
1413
reg = <0x20000000 DT_SIZE_K(256)>;
15-
ranges = <0x0 0x20000000 0x40000>;
14+
ranges = <0x0 0x20000000 DT_SIZE_K(256)>;
1615
};

samples/openthread/cli/sample.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ tests:
1313
nrf21540dk/nrf52840
1414
nrf5340dk/nrf5340/cpuapp
1515
nrf54l15dk/nrf54l15/cpuapp
16+
nrf54l15dk/nrf54l10/cpuapp
1617
nrf54l15dk/nrf54l15/cpuapp/ns
1718
nrf54h20dk/nrf54h20/cpuapp
1819
integration_platforms:
@@ -21,6 +22,7 @@ tests:
2122
- nrf21540dk/nrf52840
2223
- nrf5340dk/nrf5340/cpuapp
2324
- nrf54l15dk/nrf54l15/cpuapp
25+
- nrf54l15dk/nrf54l10/cpuapp
2426
- nrf54l15dk/nrf54l15/cpuapp/ns
2527
- nrf54h20dk/nrf54h20/cpuapp
2628
sample.openthread.cli.multiprotocol:
@@ -33,6 +35,7 @@ tests:
3335
nrf21540dk/nrf52840
3436
nrf5340dk/nrf5340/cpuapp
3537
nrf54l15dk/nrf54l15/cpuapp
38+
nrf54l15dk/nrf54l10/cpuapp
3639
nrf54l15dk/nrf54l15/cpuapp/ns
3740
nrf54h20dk/nrf54h20/cpuapp
3841
extra_args: >
@@ -44,6 +47,7 @@ tests:
4447
- nrf21540dk/nrf52840
4548
- nrf5340dk/nrf5340/cpuapp
4649
- nrf54l15dk/nrf54l15/cpuapp
50+
- nrf54l15dk/nrf54l10/cpuapp
4751
- nrf54l15dk/nrf54l15/cpuapp/ns
4852
- nrf54h20dk/nrf54h20/cpuapp
4953
sample.openthread.cli.singleprotocol:
@@ -55,6 +59,7 @@ tests:
5559
nrf21540dk/nrf52840
5660
nrf5340dk/nrf5340/cpuapp
5761
nrf54l15dk/nrf54l15/cpuapp
62+
nrf54l15dk/nrf54l10/cpuapp
5863
nrf54l15dk/nrf54l15/cpuapp/ns
5964
nrf54h20dk/nrf54h20/cpuapp
6065
extra_args: >
@@ -64,6 +69,7 @@ tests:
6469
- nrf21540dk/nrf52840
6570
- nrf5340dk/nrf5340/cpuapp
6671
- nrf54l15dk/nrf54l15/cpuapp
72+
- nrf54l15dk/nrf54l10/cpuapp
6773
- nrf54l15dk/nrf54l15/cpuapp/ns
6874
- nrf54h20dk/nrf54h20/cpuapp
6975
sample.openthread.cli.usb:
@@ -114,6 +120,7 @@ tests:
114120
nrf21540dk/nrf52840
115121
nrf5340dk/nrf5340/cpuapp
116122
nrf54l15dk/nrf54l15/cpuapp
123+
nrf54l15dk/nrf54l10/cpuapp
117124
nrf54l15dk/nrf54l15/cpuapp/ns
118125
extra_args: >
119126
cli_SNIPPET="ci;tcat;tcp"
@@ -123,6 +130,7 @@ tests:
123130
- nrf21540dk/nrf52840
124131
- nrf5340dk/nrf5340/cpuapp
125132
- nrf54l15dk/nrf54l15/cpuapp
133+
- nrf54l15dk/nrf54l10/cpuapp
126134
- nrf54l15dk/nrf54l15/cpuapp/ns
127135
sample.openthread.cli.diag_gpio:
128136
sysbuild: true
@@ -132,11 +140,13 @@ tests:
132140
nrf52840dk/nrf52840
133141
nrf5340dk/nrf5340/cpuapp
134142
nrf54l15dk/nrf54l15/cpuapp
143+
nrf54l15dk/nrf54l10/cpuapp
135144
nrf54l15dk/nrf54l15/cpuapp/ns
136145
extra_args: >
137146
cli_SNIPPET=diag_gpio
138147
integration_platforms:
139148
- nrf52840dk/nrf52840
140149
- nrf5340dk/nrf5340/cpuapp
141150
- nrf54l15dk/nrf54l15/cpuapp
151+
- nrf54l15dk/nrf54l10/cpuapp
142152
- nrf54l15dk/nrf54l15/cpuapp/ns

samples/openthread/coprocessor/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ The following snippets are available:
111111
* ``usb`` - Enables emulating a serial port over USB for Spinel communication with the host.
112112

113113
.. note::
114-
The ``usb`` snippet is not supported for the ``nrf54l15dk/nrf54l15/cpuapp`` board target.
114+
The ``usb`` snippet does not support the ``nrf54l15dk/nrf54l15/cpuapp``, ``nrf54l15dk/nrf54l10/cpuapp`` and ``nrf54l15dk/nrf54l05/cpuapp`` board targets.
115115

116116
* ``hci`` - Enables support for the Bluetooth HCI interface parallel to :ref:`Thread RCP <thread_architectures_designs_cp_rcp>`.
117117

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#
2+
# Copyright (c) 2024 Nordic Semiconductor
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
CONFIG_SPI_NOR=n
8+
9+
# Workaround required as Zephyr L2 implies usage of NVS backend for settings.
10+
# It should be removed once the proper fix will be applied in Zephyr.
11+
CONFIG_NVS=n
12+
CONFIG_ZMS=y
13+
CONFIG_SETTINGS_ZMS=y
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/*
2+
* Copyright (c) 2024 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
&uart20 {
8+
current-speed = <1000000>;
9+
status = "okay";
10+
hw-flow-control;
11+
};
12+
13+
/ {
14+
chosen {
15+
zephyr,ot-uart = &uart20;
16+
};
17+
};
18+
19+
// restore full RRAM and SRAM space - by default some parts are dedicated to FLPR
20+
&cpuapp_rram {
21+
reg = <0x0 DT_SIZE_K(500)>;
22+
};
23+
24+
&cpuapp_sram {
25+
reg = <0x20000000 DT_SIZE_K(96)>;
26+
ranges = <0x0 0x20000000 DT_SIZE_K(96)>;
27+
};

0 commit comments

Comments
 (0)