-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: benchmarks: power_consumption: timer_waiting: multicore app fo…
…r nrf54h20 Add code for radio core so that it can be put into sleep and release resources. Signed-off-by: Piotr Kosycarz <[email protected]>
- Loading branch information
1 parent
659aff0
commit 4eb91e2
Showing
4 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
tests/benchmarks/power_consumption/timer_waiting/Kconfig.sysbuild
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,10 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
source "${ZEPHYR_BASE}/share/sysbuild/Kconfig" | ||
|
||
config REMOTE_BOARD | ||
string "The board used for remote target" |
17 changes: 17 additions & 0 deletions
17
tests/benchmarks/power_consumption/timer_waiting/sysbuild.cmake
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,17 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
if(NOT "${SB_CONFIG_REMOTE_BOARD}" STREQUAL "") | ||
ExternalZephyrProject_Add( | ||
APPLICATION remote_sleep_forever | ||
SOURCE_DIR ${APP_DIR}/../common/remote_sleep_forever | ||
BOARD ${SB_CONFIG_REMOTE_BOARD} | ||
) | ||
|
||
add_dependencies(timer_waiting remote_sleep_forever) | ||
sysbuild_add_dependencies(FLASH timer_waiting remote_sleep_forever) | ||
|
||
endif() |
1 change: 1 addition & 0 deletions
1
tests/benchmarks/power_consumption/timer_waiting/sysbuild/nrf54h20dk_nrf54h20_cpurad.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 @@ | ||
SB_CONFIG_REMOTE_BOARD="nrf54h20dk/nrf54h20/cpurad" |
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