Skip to content

Commit 9cd8ab3

Browse files
committed
[nrf fromtree] tests: drivers: counter: nrf54h20/cpuflpr support
Added new target nrf54h20/cpuflpr/xip to counter basic api tests. Only XIP is supported for cpuflpr since RAM memory for this cpu is too small to fit whole counter basic test code and data. Signed-off-by: Łukasz Stępnicki <[email protected]> (cherry picked from commit 1cb7671)
1 parent 0d88c89 commit 9cd8ab3

File tree

4 files changed

+55
-1
lines changed

4 files changed

+55
-1
lines changed

boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuflpr_0_9_0.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ sysbuild: true
1111
ram: 46
1212
flash: 46
1313
supported:
14-
- counter
1514
- gpio
1615
- i2c
1716
- pwm

boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuflpr_xip_0_9_0.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ ram: 46
1212
flash: 48
1313
supported:
1414
- gpio
15+
- counter
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
/* SPDX-License-Identifier: Apache-2.0 */
2+
3+
#include "nrf54h20dk_nrf54h20_common.dtsi"
4+
5+
/* FLPR does not have interrupts for slow peripherals. */
6+
&timer130 {
7+
status = "disabled";
8+
};
9+
10+
&timer131 {
11+
status = "disabled";
12+
};
13+
14+
&timer132 {
15+
status = "disabled";
16+
};
17+
18+
&timer133 {
19+
status = "disabled";
20+
};
21+
22+
&timer134 {
23+
status = "disabled";
24+
};
25+
26+
&timer135 {
27+
status = "disabled";
28+
};
29+
30+
&timer136 {
31+
status = "disabled";
32+
};
33+
34+
&timer137 {
35+
status = "disabled";
36+
};
37+
38+
&rtc130 {
39+
status = "disabled";
40+
};
41+
42+
&rtc131 {
43+
status = "disabled";
44+
};

tests/drivers/counter/counter_basic_api/sysbuild/vpr_launcher/boards/nrf54h20dk_nrf54h20_cpuapp.overlay

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
/* SPDX-License-Identifier: Apache-2.0 */
22

3+
&timer120 {
4+
status = "reserved";
5+
interrupt-parent = <&cpuflpr_clic>;
6+
};
7+
8+
&timer121 {
9+
status = "reserved";
10+
interrupt-parent = <&cpuflpr_clic>;
11+
};
12+
313
&timer130 {
414
status = "reserved";
515
interrupt-parent = <&cpuppr_clic>;

0 commit comments

Comments
 (0)