Skip to content

Commit 52d6498

Browse files
mstasiaknordicrlubos
authored andcommitted
tests: drivers: lpuart: allow testing on nRF54L05 and nRF54L10
Lpuart test and sample can now be run on nRF54L05 and nRF54l10 targets. Signed-off-by: Michał Stasiak <[email protected]>
1 parent a79f194 commit 52d6498

10 files changed

+66
-4
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#
2+
# Copyright (c) 2024 Nordic Semiconductor
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
CONFIG_UART_21_ASYNC=y
7+
CONFIG_UART_21_INTERRUPT_DRIVEN=n
8+
# Do not use interrupt driven API for console UART to not enable RX.
9+
CONFIG_UART_20_INTERRUPT_DRIVEN=n
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include "nrf54l15dk_nrf54l15_cpuapp.overlay"
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#
2+
# Copyright (c) 2024 Nordic Semiconductor
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
CONFIG_UART_21_ASYNC=y
7+
CONFIG_UART_21_INTERRUPT_DRIVEN=n
8+
# Do not use interrupt driven API for console UART to not enable RX.
9+
CONFIG_UART_20_INTERRUPT_DRIVEN=n
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include "nrf54l15dk_nrf54l15_cpuapp.overlay"

samples/peripheral/lpuart/sample.yaml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ tests:
1515
- nrf9160dk/nrf9160/ns
1616
- nrf5340dk/nrf5340/cpuapp
1717
- nrf21540dk/nrf52840
18+
- nrf54l15dk/nrf54l05/cpuapp
19+
- nrf54l15dk/nrf54l10/cpuapp
1820
- nrf54l15dk/nrf54l15/cpuapp
1921
integration_platforms:
2022
- nrf52dk/nrf52832
@@ -23,6 +25,8 @@ tests:
2325
- nrf9160dk/nrf9160/ns
2426
- nrf5340dk/nrf5340/cpuapp
2527
- nrf21540dk/nrf52840
28+
- nrf54l15dk/nrf54l05/cpuapp
29+
- nrf54l15dk/nrf54l10/cpuapp
2630
- nrf54l15dk/nrf54l15/cpuapp
2731
platform_exclude: native_sim
2832
tags: ppk_power_measure
@@ -40,6 +44,8 @@ tests:
4044
- nrf9160dk/nrf9160/ns
4145
- nrf5340dk/nrf5340/cpuapp
4246
- nrf21540dk/nrf52840
47+
- nrf54l15dk/nrf54l05/cpuapp
48+
- nrf54l15dk/nrf54l10/cpuapp
4349
- nrf54l15dk/nrf54l15/cpuapp
4450
integration_platforms:
4551
- nrf52840dk/nrf52840
@@ -74,9 +80,12 @@ tests:
7480
- nrf9160dk/nrf9160/ns
7581
- nrf5340dk/nrf5340/cpuapp
7682
- nrf21540dk/nrf52840
83+
- nrf54l15dk/nrf54l05/cpuapp
84+
- nrf54l15dk/nrf54l10/cpuapp
7785
- nrf54l15dk/nrf54l15/cpuapp
7886
platform_allow: nrf52dk/nrf52832 nrf52833dk/nrf52833 nrf52840dk/nrf52840 nrf9160dk/nrf9160/ns
79-
nrf5340dk/nrf5340/cpuapp nrf21540dk/nrf52840 nrf54l15dk/nrf54l15/cpuapp
87+
nrf5340dk/nrf5340/cpuapp nrf21540dk/nrf52840 nrf54l15dk/nrf54l05/cpuapp
88+
nrf54l15dk/nrf54l10/cpuapp nrf54l15dk/nrf54l15/cpuapp
8089
tags: ppk_power_measure
8190
harness: pytest
8291
harness_config:
@@ -100,9 +109,12 @@ tests:
100109
- nrf9160dk/nrf9160/ns
101110
- nrf5340dk/nrf5340/cpuapp
102111
- nrf21540dk/nrf52840
112+
- nrf54l15dk/nrf54l05/cpuapp
113+
- nrf54l15dk/nrf54l10/cpuapp
103114
- nrf54l15dk/nrf54l15/cpuapp
104115
platform_allow: nrf52dk/nrf52832 nrf52833dk/nrf52833 nrf52840dk/nrf52840 nrf9160dk/nrf9160/ns
105-
nrf5340dk/nrf5340/cpuapp nrf21540dk/nrf52840 nrf54l15dk/nrf54l15/cpuapp
116+
nrf5340dk/nrf5340/cpuapp nrf21540dk/nrf52840 nrf54l15dk/nrf54l05/cpuapp
117+
nrf54l15dk/nrf54l10/cpuapp nrf54l15dk/nrf54l15/cpuapp
106118
harness: console
107119
harness_config:
108120
fixture: gpio_loopback
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#
2+
# Copyright (c) 2024 Nordic Semiconductor
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
CONFIG_UART_21_ASYNC=y
7+
CONFIG_UART_21_INTERRUPT_DRIVEN=n
8+
# Do not use interrupt driven API for console UART to not enable RX.
9+
CONFIG_UART_20_INTERRUPT_DRIVEN=n
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include "nrf54l15dk_nrf54l15_cpuapp.overlay"
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#
2+
# Copyright (c) 2024 Nordic Semiconductor
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
CONFIG_UART_21_ASYNC=y
7+
CONFIG_UART_21_INTERRUPT_DRIVEN=n
8+
# Do not use interrupt driven API for console UART to not enable RX.
9+
CONFIG_UART_20_INTERRUPT_DRIVEN=n
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include "nrf54l15dk_nrf54l15_cpuapp.overlay"

tests/drivers/lpuart/testcase.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,13 @@ tests:
1616
fixture: gpio_loopback
1717
lpuart.loopback.nrf54l:
1818
sysbuild: true
19-
platform_allow: nrf54l15dk/nrf54l15/cpuapp
19+
platform_allow:
20+
- nrf54l15dk/nrf54l05/cpuapp
21+
- nrf54l15dk/nrf54l10/cpuapp
22+
- nrf54l15dk/nrf54l15/cpuapp
2023
integration_platforms:
24+
- nrf54l15dk/nrf54l05/cpuapp
25+
- nrf54l15dk/nrf54l10/cpuapp
2126
- nrf54l15dk/nrf54l15/cpuapp
2227
extra_configs:
2328
- CONFIG_TEST_LPUART_LOOPBACK=y
@@ -26,8 +31,13 @@ tests:
2631
fixture: gpio_loopback
2732
lpuart.loopback.nrf54l.busy_sim:
2833
sysbuild: true
29-
platform_allow: nrf54l15dk/nrf54l15/cpuapp
34+
platform_allow:
35+
- nrf54l15dk/nrf54l05/cpuapp
36+
- nrf54l15dk/nrf54l10/cpuapp
37+
- nrf54l15dk/nrf54l15/cpuapp
3038
integration_platforms:
39+
- nrf54l15dk/nrf54l05/cpuapp
40+
- nrf54l15dk/nrf54l10/cpuapp
3141
- nrf54l15dk/nrf54l15/cpuapp
3242
extra_configs:
3343
- CONFIG_TEST_LPUART_LOOPBACK=y

0 commit comments

Comments
 (0)