Skip to content

Commit 030b6c1

Browse files
grochurlubos
authored andcommitted
samples: Add support for nRF54L05/L10 build targets in some samples
The prioritized samples to add L05 and L10 targets are: peripheral_lbs, peripheral_uart, peripheral_power_profiling, direct_test_mode and peripheral:radio_test. Move together with nRF54l-specific configuration. Ref. NCSDK-30668 Signed-off-by: Michał Grochala <[email protected]>
1 parent 9d8fa22 commit 030b6c1

20 files changed

+249
-7
lines changed

doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,9 +290,13 @@ Bluetooth samples
290290

291291
* The :ref:`channel_sounding_ras_reflector` sample demonstrating how to implement a Channel Sounding Reflector that exposes the Ranging Responder GATT Service.
292292
* The :ref:`channel_sounding_ras_initiator` sample demonstrating basic distance estimation with Channel Sounding by setting up a Channel Sounding Initiator that acts as a Ranging Requestor GATT Client.
293-
* Support for the ``nrf54l15dk/nrf54l05/cpuapp`` and ``nrf54l15dk/nrf54l10/cpuapp`` board targets in the following sample:
293+
* Support for the ``nrf54l15dk/nrf54l05/cpuapp`` and ``nrf54l15dk/nrf54l10/cpuapp`` board targets in the following samples:
294294

295+
* :ref:`direct_test_mode`
295296
* :ref:`peripheral_hids_mouse`
297+
* :ref:`peripheral_lbs`
298+
* :ref:`power_profiling`
299+
* :ref:`peripheral_uart`
296300

297301
* :ref:`power_profiling` sample:
298302

@@ -429,7 +433,7 @@ nRF5340 samples
429433
Peripheral samples
430434
------------------
431435

432-
|no_changes_yet_note|
436+
* Added support for the ``nrf54l15dk/nrf54l05/cpuapp`` and ``nrf54l15dk/nrf54l10/cpuapp`` board targets in the :ref:`radio_test` sample.
433437

434438
PMIC samples
435439
------------
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
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
# Disable the unsupported driver
8+
CONFIG_NRFX_TIMER0=n
9+
CONFIG_NRFX_TIMER1=n
10+
CONFIG_NRFX_TIMER2=n
11+
12+
# Use necessary peripherals
13+
CONFIG_NRFX_TIMER20=y
14+
CONFIG_NRFX_TIMER10=y
15+
CONFIG_NRFX_GPPI=y
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
/*
2+
* Copyright (c) 2024 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
/ {
8+
chosen {
9+
ncs,dtm-uart = &uart20;
10+
};
11+
};
12+
13+
&uart20 {
14+
status = "okay";
15+
current-speed = <19200>;
16+
};
17+
18+
&radio {
19+
status = "okay";
20+
/* This is a number of antennas that are available on antenna matrix
21+
* designed by Nordic. For more information see README.rst.
22+
*/
23+
dfe-antenna-num = <12>;
24+
/* This is a setting that enables antenna 12 (in antenna matrix designed
25+
* by Nordic) for PDU. For more information see README.rst.
26+
*/
27+
dfe-pdu-antenna = <0x0>;
28+
29+
/* These are GPIO pin numbers that are provided to
30+
* Radio peripheral. The pins will be acquired by Radio to
31+
* drive antenna switching.
32+
* Pin numbers are selected to drive switches on antenna matrix
33+
* desinged by Nordic. For more information see README.rst.
34+
*/
35+
dfegpio0-gpios = <&gpio0 4 0>;
36+
dfegpio1-gpios = <&gpio0 5 0>;
37+
dfegpio2-gpios = <&gpio0 6 0>;
38+
dfegpio3-gpios = <&gpio0 7 0>;
39+
};
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
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
# Disable the unsupported driver
8+
CONFIG_NRFX_TIMER0=n
9+
CONFIG_NRFX_TIMER1=n
10+
CONFIG_NRFX_TIMER2=n
11+
12+
# Use necessary peripherals
13+
CONFIG_NRFX_TIMER20=y
14+
CONFIG_NRFX_TIMER10=y
15+
CONFIG_NRFX_GPPI=y
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
/*
2+
* Copyright (c) 2024 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
/ {
8+
chosen {
9+
ncs,dtm-uart = &uart20;
10+
};
11+
};
12+
13+
&uart20 {
14+
status = "okay";
15+
current-speed = <19200>;
16+
};
17+
18+
&radio {
19+
status = "okay";
20+
/* This is a number of antennas that are available on antenna matrix
21+
* designed by Nordic. For more information see README.rst.
22+
*/
23+
dfe-antenna-num = <12>;
24+
/* This is a setting that enables antenna 12 (in antenna matrix designed
25+
* by Nordic) for PDU. For more information see README.rst.
26+
*/
27+
dfe-pdu-antenna = <0x0>;
28+
29+
/* These are GPIO pin numbers that are provided to
30+
* Radio peripheral. The pins will be acquired by Radio to
31+
* drive antenna switching.
32+
* Pin numbers are selected to drive switches on antenna matrix
33+
* desinged by Nordic. For more information see README.rst.
34+
*/
35+
dfegpio0-gpios = <&gpio0 4 0>;
36+
dfegpio1-gpios = <&gpio0 5 0>;
37+
dfegpio2-gpios = <&gpio0 6 0>;
38+
dfegpio3-gpios = <&gpio0 7 0>;
39+
};

samples/bluetooth/direct_test_mode/sample.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,12 @@ tests:
99
- nrf5340dk/nrf5340/cpunet
1010
- nrf21540dk/nrf52840
1111
- nrf52840dk/nrf52840
12+
- nrf54l15dk/nrf54l05/cpuapp
13+
- nrf54l15dk/nrf54l10/cpuapp
1214
- nrf54l15dk/nrf54l15/cpuapp
1315
- nrf54h20dk/nrf54h20/cpurad
1416
platform_allow: nrf5340dk/nrf5340/cpunet nrf21540dk/nrf52840 nrf52840dk/nrf52840
17+
nrf54l15dk/nrf54l05/cpuapp nrf54l15dk/nrf54l10/cpuapp
1518
nrf54l15dk/nrf54l15/cpuapp nrf54h20dk/nrf54h20/cpurad
1619
tags: bluetooth ci_build sysbuild
1720
sample.bluetooth.direct_test_mode.hci:

samples/bluetooth/peripheral_lbs/sample.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,14 @@ tests:
1212
- nrf5340dk/nrf5340/cpuapp/ns
1313
- thingy53/nrf5340/cpuapp
1414
- thingy53/nrf5340/cpuapp/ns
15+
- nrf54l15dk/nrf54l05/cpuapp
16+
- nrf54l15dk/nrf54l10/cpuapp
1517
- nrf54l15dk/nrf54l15/cpuapp
1618
- nrf54h20dk/nrf54h20/cpuapp
1719
platform_allow: nrf52dk/nrf52832 nrf52840dk/nrf52840
1820
nrf5340dk/nrf5340/cpuapp nrf5340dk/nrf5340/cpuapp/ns thingy53/nrf5340/cpuapp
19-
thingy53/nrf5340/cpuapp/ns nrf54l15dk/nrf54l15/cpuapp
20-
nrf54h20dk/nrf54h20/cpuapp
21+
thingy53/nrf5340/cpuapp/ns nrf54l15dk/nrf54l05/cpuapp nrf54l15dk/nrf54l10/cpuapp
22+
nrf54l15dk/nrf54l15/cpuapp nrf54h20dk/nrf54h20/cpuapp
2123
tags: bluetooth ci_build sysbuild
2224
sample.bluetooth.peripheral_lbs_minimal:
2325
sysbuild: true
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#
2+
# Copyright (c) 2024 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
CONFIG_PM_DEVICE=y
8+
CONFIG_PM_DEVICE_RUNTIME=y
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 ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
/ {
8+
aliases {
9+
/delete-property/ sw2;
10+
/delete-property/ sw3;
11+
};
12+
};
13+
14+
/delete-node/ &button2;
15+
/delete-node/ &button3;
16+
17+
&uart20 {
18+
zephyr,pm-device-runtime-auto;
19+
};
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#
2+
# Copyright (c) 2024 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
CONFIG_PM_DEVICE=y
8+
CONFIG_PM_DEVICE_RUNTIME=y

0 commit comments

Comments
 (0)