-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
samples: benchmarks: coremark: add FLPR support for nRF54L15 DK
Added the FLPR core support for the nRF54L15 DK board target in the CoreMark sample. Ref: NCSDK-30327 Signed-off-by: Kamil Piszczek <[email protected]>
- Loading branch information
Showing
8 changed files
with
137 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
samples/benchmarks/coremark/boards/nrf54l15dk_nrf54l15_cpuapp.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
/* | ||
* Copyright (c) 2025 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
*/ | ||
|
||
#include "app_aliases_common.overlay" | ||
|
||
/* The following configuration is required to run the CPUFLPR core. | ||
* It is imported from the nordic-flpr snippet. | ||
*/ | ||
/ { | ||
soc { | ||
reserved-memory { | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
cpuflpr_code_partition: image@165000 { | ||
/* FLPR core code partition */ | ||
reg = <0x165000 DT_SIZE_K(96)>; | ||
}; | ||
}; | ||
|
||
cpuflpr_sram_code_data: memory@20028000 { | ||
compatible = "mmio-sram"; | ||
reg = <0x20028000 DT_SIZE_K(96)>; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
ranges = <0x0 0x20028000 0x18000>; | ||
}; | ||
}; | ||
}; | ||
|
||
&cpuapp_sram { | ||
reg = <0x20000000 DT_SIZE_K(160)>; | ||
ranges = <0x0 0x20000000 0x28000>; | ||
}; | ||
|
||
&cpuflpr_vpr { | ||
status = "okay"; | ||
execution-memory = <&cpuflpr_sram_code_data>; | ||
source-memory = <&cpuflpr_code_partition>; | ||
}; | ||
|
||
&cpuapp_vevif_tx { | ||
status = "okay"; | ||
}; | ||
|
||
/* The same set of GPIO and GPIOTE DTS nodes are enabled in the cpuapp and the cpuflpr targets. | ||
* This is done to allow control over one Button and one LED in each core. The benchmark code is | ||
* responsible for ensuring that each core exclusively uses the individual GPIO pin and the GPIOTE | ||
* instance that may be used with the GPIO pin (Button). | ||
*/ |
8 changes: 8 additions & 0 deletions
8
samples/benchmarks/coremark/boards/nrf54l15dk_nrf54l15_cpuflpr.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# | ||
# Copyright (c) 2025 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
|
||
CONFIG_COREMARK_ITERATIONS=4000 | ||
|
||
CONFIG_LOG_MODE_IMMEDIATE=y |
18 changes: 18 additions & 0 deletions
18
samples/benchmarks/coremark/boards/nrf54l15dk_nrf54l15_cpuflpr.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* | ||
* Copyright (c) 2025 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
*/ | ||
|
||
/ { | ||
aliases { | ||
button = &button3; | ||
led = &led3; | ||
}; | ||
}; | ||
|
||
/* The same set of GPIO and GPIOTE DTS nodes are enabled in the cpuapp and the cpuflpr targets. | ||
* This is done to allow control over one Button and one LED in each core. The benchmark code is | ||
* responsible for ensuring that each core exclusively uses the individual GPIO pin and the GPIOTE | ||
* instance that may be used with the GPIO pin (Button). | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters