Skip to content

Commit 0543ac7

Browse files
nordic-seglrlubos
authored andcommitted
tests: drivers: gpio: gpio_more_loops: Enable test on nrf54l20pdk
Add overlay required to execute test on nrf54l20pdk. Signed-off-by: Sebastian Głąb <[email protected]>
1 parent 21dcbec commit 0543ac7

File tree

3 files changed

+43
-1
lines changed

3 files changed

+43
-1
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
/*
2+
* Copyright (c) 2024 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
/ {
8+
/* Test requirements:
9+
* out-gpios[0] wire connected with in-gpios[0],
10+
* out-gpios[1] wire connected with in-gpios[1],
11+
* etc.
12+
* Output-input GPIO pair must have identical active level flag.
13+
*/
14+
test_gpios {
15+
compatible = "gpio-leds";
16+
out_gpios: out_gpios {
17+
gpios = <&gpio2 0 GPIO_ACTIVE_HIGH>, <&gpio2 2 GPIO_ACTIVE_HIGH>,
18+
<&gpio2 4 GPIO_ACTIVE_HIGH>, <&gpio2 6 GPIO_ACTIVE_HIGH>,
19+
<&gpio1 10 GPIO_ACTIVE_HIGH>;
20+
};
21+
22+
in_gpios: in_gpios {
23+
gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>, <&gpio2 3 GPIO_ACTIVE_HIGH>,
24+
<&gpio2 5 GPIO_ACTIVE_HIGH>, <&gpio2 7 GPIO_ACTIVE_HIGH>,
25+
<&gpio1 11 GPIO_ACTIVE_HIGH>;
26+
};
27+
};
28+
};
29+
30+
&gpiote20 {
31+
status = "okay";
32+
};
33+
34+
&gpio1 {
35+
status = "okay";
36+
};
37+
38+
&gpio2 {
39+
status = "okay";
40+
};

tests/drivers/gpio/gpio_more_loops/testcase.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ tests:
1212
drivers.gpio.gpio_more_loops:
1313
platform_allow:
1414
- nrf54l15dk/nrf54l15/cpuapp
15+
- nrf54l20pdk/nrf54l20/cpuapp
1516
- nrf54h20dk/nrf54h20/cpuapp
1617
integration_platforms:
1718
- nrf54l15dk/nrf54l15/cpuapp
19+
- nrf54l20pdk/nrf54l20/cpuapp
1820
- nrf54h20dk/nrf54h20/cpuapp

west.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ manifest:
6969
# https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/guides/modules.html
7070
- name: zephyr
7171
repo-path: sdk-zephyr
72-
revision: pull/2407/head
72+
revision: 9761d261943a916443cf6c748ee3daa2915e3546
7373
import:
7474
# In addition to the zephyr repository itself, NCS also
7575
# imports the contents of zephyr/west.yml at the above

0 commit comments

Comments
 (0)