-
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 nRF54H20 DK
Added the FLPR core support for the nRF54H20 DK board target in the CoreMark sample. Ref: NCSDK-30327 Signed-off-by: Kamil Piszczek <[email protected]>
- Loading branch information
Showing
6 changed files
with
49 additions
and
6 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
25 changes: 25 additions & 0 deletions
25
samples/benchmarks/coremark/boards/nrf54h20dk_nrf54h20_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,25 @@ | ||
# | ||
# Copyright (c) 2025 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
|
||
CONFIG_COREMARK_ITERATIONS=10000 | ||
|
||
# Disable the UART console Kconfig to make Kconfig configuration with the DTS configuration. | ||
CONFIG_UART_CONSOLE=n | ||
|
||
# Kconfigs required for the STM standalone logging, imported from the nordic-log-stm snippet. | ||
CONFIG_TEST_LOGGING_DEFAULTS=n | ||
CONFIG_LOG_FRONTEND=y | ||
CONFIG_LOG_FRONTEND_ONLY=y | ||
CONFIG_LOG_FRONTEND_STMESP=y | ||
CONFIG_LOG_FRONTEND_STMESP_FSC=y | ||
|
||
# Disable the NCS boot banner - the application core is responsible for printing the boot banner. | ||
CONFIG_NCS_BOOT_BANNER=n | ||
CONFIG_BOOT_BANNER=n | ||
|
||
# Reduce speed optimizations to fit the sample into the TCM of the FLPR core. | ||
# Removed the following options from the default configuration (prj.conf): | ||
# -funroll-loops | ||
CONFIG_COMPILER_OPT="-O3 -fno-lto -fno-pie -fno-pic -ffunction-sections -fdata-sections" |
13 changes: 13 additions & 0 deletions
13
samples/benchmarks/coremark/boards/nrf54h20dk_nrf54h20_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,13 @@ | ||
/* | ||
* Copyright (c) 2025 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
*/ | ||
|
||
/* Disable the default UART node for the FLPR core, as logs are forwarded | ||
* with STM and the application core UART. This setting also prevents access | ||
* issues to the same UART instance from two or more different cores. | ||
*/ | ||
&uart120 { | ||
status = "disabled"; | ||
}; |