-
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: benchmark: 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 <Kamil.Piszczek@nordicsemi.no>
- Loading branch information
Showing
9 changed files
with
160 additions
and
12 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
20 changes: 20 additions & 0 deletions
20
samples/benchmarks/coremark/boards/app_nrf54l_cpuapp_common.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,20 @@ | ||
/* | ||
* Copyright (c) 2025 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
*/ | ||
|
||
/* The following configuration is required to run the CPUFLPR core. */ | ||
&cpuflpr_vpr { | ||
status = "okay"; | ||
execution-memory = <&cpuflpr_sram_code_data>; | ||
source-memory = <&cpuflpr_code_partition>; | ||
}; | ||
|
||
&cpuapp_vevif_tx { | ||
status = "okay"; | ||
}; | ||
|
||
&uart30 { | ||
status = "reserved"; | ||
}; |
44 changes: 44 additions & 0 deletions
44
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,44 @@ | ||
/* | ||
* Copyright (c) 2025 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
*/ | ||
|
||
#include "app_aliases_common.overlay" | ||
#include "app_nrf54l_cpuapp_common.overlay" | ||
|
||
/* The following memory reconfiguration is required to prepare space for CPUFLPR image. */ | ||
/ { | ||
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>; | ||
}; | ||
|
||
/* Reserve button and LED related resources for the FLPR core. */ | ||
&gpio0 { | ||
status = "reserved"; | ||
}; | ||
|
||
&gpiote30 { | ||
status = "reserved"; | ||
}; |
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 |
12 changes: 12 additions & 0 deletions
12
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,12 @@ | ||
/* | ||
* Copyright (c) 2025 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
*/ | ||
|
||
/ { | ||
aliases { | ||
button = &button3; | ||
led = &led3; | ||
}; | ||
}; | ||
Check warning on line 12 in 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