Skip to content

Commit 7b4c9b2

Browse files
zyczrlubos
authored andcommitted
samples: benchmarks: coremark: add support for nRF54LM20 PDK
Added the support for the nRF54LM20 PDK board target in the CoreMark sample. Jira: NCSDK-34047 Signed-off-by: Jan Zyczkowski <[email protected]>
1 parent 6ef4632 commit 7b4c9b2

File tree

7 files changed

+103
-1
lines changed

7 files changed

+103
-1
lines changed

samples/benchmarks/coremark/boards/nrf54l15dk_nrf54l15_cpuapp.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#include "app_aliases_common.overlay"
88

99
/* The following configuration is required to run the CPUFLPR core.
10-
* It is imported from the nordic-flpr snippet.
10+
* It is imported from the nordic-flpr snippet in the sdk-zephyr repository.
1111
*/
1212
/ {
1313
soc {
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#
2+
# Copyright (c) 2025 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
6+
CONFIG_COREMARK_ITERATIONS=4000
7+
8+
CONFIG_LOG_MODE_IMMEDIATE=y
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
/*
2+
* Copyright (c) 2025 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
#include "app_aliases_common.overlay"
8+
9+
/* The following configuration is required to run the CPUFLPR core.
10+
* It is imported from the nordic-flpr snippet in the sdk-nrf repository.
11+
*/
12+
/ {
13+
soc {
14+
reserved-memory {
15+
#address-cells = <1>;
16+
#size-cells = <1>;
17+
cpuflpr_code_partition: image@1e5000 {
18+
/* FLPR core code partition */
19+
reg = <0x1e5000 DT_SIZE_K(96)>;
20+
};
21+
};
22+
23+
cpuflpr_sram_code_data: memory@20067c00 {
24+
compatible = "mmio-sram";
25+
reg = <0x20067c00 DT_SIZE_K(96)>;
26+
#address-cells = <1>;
27+
#size-cells = <1>;
28+
ranges = <0x0 0x20067c00 DT_SIZE_K(96)>;
29+
};
30+
};
31+
};
32+
33+
&cpuapp_sram {
34+
reg = <0x20000000 DT_SIZE_K(415)>;
35+
ranges = <0x0 0x20000000 DT_SIZE_K(415)>;
36+
};
37+
38+
&uart30 {
39+
status = "reserved";
40+
};
41+
&cpuflpr_vpr {
42+
status = "okay";
43+
execution-memory = <&cpuflpr_sram_code_data>;
44+
source-memory = <&cpuflpr_code_partition>;
45+
};
46+
47+
&cpuapp_vevif_tx {
48+
status = "okay";
49+
};
50+
51+
/* The same set of GPIO and GPIOTE DTS nodes are enabled in the cpuapp and the cpuflpr targets.
52+
* This is done to allow control over one Button and one LED in each core. The benchmark code is
53+
* responsible for ensuring that each core exclusively uses the individual GPIO pin and the GPIOTE
54+
* instance that may be used with the GPIO pin (Button).
55+
*/
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#
2+
# Copyright (c) 2025 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
6+
CONFIG_COREMARK_ITERATIONS=4000
7+
8+
CONFIG_LOG_MODE_IMMEDIATE=y
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*
2+
* Copyright (c) 2025 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
/ {
8+
aliases {
9+
button = &button3;
10+
led = &led3;
11+
};
12+
};
13+
14+
/* The same set of GPIO and GPIOTE DTS nodes are enabled in the cpuapp and the cpuflpr targets.
15+
* This is done to allow control over one Button and one LED in each core. The benchmark code is
16+
* responsible for ensuring that each core exclusively uses the individual GPIO pin and the GPIOTE
17+
* instance that may be used with the GPIO pin (Button).
18+
*/

samples/benchmarks/coremark/sample.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ tests:
1616
- nrf54l15dk/nrf54l05/cpuapp
1717
- nrf54l15dk/nrf54l10/cpuapp
1818
- nrf54l15dk/nrf54l15/cpuapp
19+
- nrf54lm20pdk/nrf54lm20a/cpuapp
1920
- nrf54h20dk/nrf54h20/cpuapp
2021
integration_platforms:
2122
- nrf52840dk/nrf52840
@@ -25,6 +26,7 @@ tests:
2526
- nrf54l15dk/nrf54l05/cpuapp
2627
- nrf54l15dk/nrf54l10/cpuapp
2728
- nrf54l15dk/nrf54l15/cpuapp
29+
- nrf54lm20pdk/nrf54lm20a/cpuapp
2830
- nrf54h20dk/nrf54h20/cpuapp
2931
tags:
3032
- ci_build
@@ -41,6 +43,7 @@ tests:
4143
- nrf54l15dk/nrf54l05/cpuapp
4244
- nrf54l15dk/nrf54l10/cpuapp
4345
- nrf54l15dk/nrf54l15/cpuapp
46+
- nrf54lm20pdk/nrf54lm20a/cpuapp
4447
- nrf54h20dk/nrf54h20/cpuapp
4548
integration_platforms:
4649
- nrf52840dk/nrf52840
@@ -50,6 +53,7 @@ tests:
5053
- nrf54l15dk/nrf54l05/cpuapp
5154
- nrf54l15dk/nrf54l10/cpuapp
5255
- nrf54l15dk/nrf54l15/cpuapp
56+
- nrf54lm20pdk/nrf54lm20a/cpuapp
5357
- nrf54h20dk/nrf54h20/cpuapp
5458
tags:
5559
- ci_build
@@ -74,6 +78,7 @@ tests:
7478
- nrf54l15dk/nrf54l05/cpuapp
7579
- nrf54l15dk/nrf54l10/cpuapp
7680
- nrf54l15dk/nrf54l15/cpuapp
81+
- nrf54lm20pdk/nrf54lm20a/cpuapp
7782
- nrf54h20dk/nrf54h20/cpuapp
7883
integration_platforms:
7984
- nrf52840dk/nrf52840
@@ -83,6 +88,7 @@ tests:
8388
- nrf54l15dk/nrf54l05/cpuapp
8489
- nrf54l15dk/nrf54l10/cpuapp
8590
- nrf54l15dk/nrf54l15/cpuapp
91+
- nrf54lm20pdk/nrf54lm20a/cpuapp
8692
- nrf54h20dk/nrf54h20/cpuapp
8793
tags:
8894
- ci_build
@@ -100,6 +106,7 @@ tests:
100106
- nrf54l15dk/nrf54l05/cpuapp
101107
- nrf54l15dk/nrf54l10/cpuapp
102108
- nrf54l15dk/nrf54l15/cpuapp
109+
- nrf54lm20pdk/nrf54lm20a/cpuapp
103110
- nrf54h20dk/nrf54h20/cpuapp
104111
integration_platforms:
105112
- nrf52840dk/nrf52840
@@ -109,6 +116,7 @@ tests:
109116
- nrf54l15dk/nrf54l05/cpuapp
110117
- nrf54l15dk/nrf54l10/cpuapp
111118
- nrf54l15dk/nrf54l15/cpuapp
119+
- nrf54lm20pdk/nrf54lm20a/cpuapp
112120
- nrf54h20dk/nrf54h20/cpuapp
113121
tags:
114122
- ci_build
@@ -126,6 +134,7 @@ tests:
126134
- nrf54l15dk/nrf54l05/cpuapp
127135
- nrf54l15dk/nrf54l10/cpuapp
128136
- nrf54l15dk/nrf54l15/cpuapp
137+
- nrf54lm20pdk/nrf54lm20a/cpuapp
129138
- nrf54h20dk/nrf54h20/cpuapp
130139
integration_platforms:
131140
- nrf52840dk/nrf52840
@@ -135,6 +144,7 @@ tests:
135144
- nrf54l15dk/nrf54l05/cpuapp
136145
- nrf54l15dk/nrf54l10/cpuapp
137146
- nrf54l15dk/nrf54l15/cpuapp
147+
- nrf54lm20pdk/nrf54lm20a/cpuapp
138148
- nrf54h20dk/nrf54h20/cpuapp
139149
tags:
140150
- ci_build

scripts/quarantine_integration.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,7 @@
583583
- nrf54l15dk/nrf54l05/cpuapp
584584
- nrf54l15dk/nrf54l10/cpuapp
585585
- nrf54l15dk/nrf54l15/cpuapp
586+
- nrf54lm20pdk/nrf54lm20a/cpuapp
586587
- [email protected]/nrf54h20/cpuapp
587588
comment: "Configurations excluded to limit resources usage in integration builds"
588589

@@ -595,6 +596,7 @@
595596
- nrf54l15dk/nrf54l05/cpuapp
596597
- nrf54l15dk/nrf54l10/cpuapp
597598
- nrf54l15dk/nrf54l15/cpuapp
599+
- nrf54lm20pdk/nrf54lm20a/cpuapp
598600
- [email protected]/nrf54h20/cpuapp
599601
comment: "Configurations excluded to limit resources usage in integration builds"
600602

@@ -607,6 +609,7 @@
607609
- nrf54l15dk/nrf54l05/cpuapp
608610
- nrf54l15dk/nrf54l10/cpuapp
609611
- nrf54l15dk/nrf54l15/cpuapp
612+
- nrf54lm20pdk/nrf54lm20a/cpuapp
610613
- [email protected]/nrf54h20/cpuapp
611614
comment: "Configurations excluded to limit resources usage in integration builds"
612615

0 commit comments

Comments
 (0)