Skip to content

Commit f642fc3

Browse files
nordic-seglnordicjm
authored andcommitted
tests: benchmarks: multicore: idle_wdt: Rework SB_CONFIG_REMOTE_BOARD
Define default REMOTE_BOARD based on build target. Signed-off-by: Sebastian Głąb <[email protected]>
1 parent 78f8120 commit f642fc3

File tree

4 files changed

+3
-12
lines changed

4 files changed

+3
-12
lines changed

tests/benchmarks/multicore/idle_wdt/Kconfig.sysbuild

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@
77
source "${ZEPHYR_BASE}/share/sysbuild/Kconfig"
88

99
config REMOTE_BOARD
10-
string "The board used for remote target"
10+
string
11+
default "$(BOARD)/nrf54h20/cpurad" if SOC_NRF54H20_CPUAPP

tests/benchmarks/multicore/idle_wdt/sysbuild.cmake

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,4 @@ ExternalZephyrProject_Add(
1414
SOURCE_DIR ${APP_DIR}/remote
1515
BOARD ${SB_CONFIG_REMOTE_BOARD}
1616
BOARD_REVISION ${BOARD_REVISION}
17-
)
18-
19-
# Add a dependency so that the remote image will be built and flashed first
20-
add_dependencies(idle_wdt remote)
21-
# Add dependency so that the remote image is flashed first.
22-
sysbuild_add_dependencies(FLASH idle_wdt remote)
17+
)

tests/benchmarks/multicore/idle_wdt/sysbuild/nrf54h20dk_nrf54h20_cpurad.conf

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/benchmarks/multicore/idle_wdt/testcase.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ common:
88

99
tests:
1010
benchmarks.multicore.idle_wdt.nrf54h20dk_cpuapp_cpurad.no_sleep:
11-
extra_args:
12-
SB_CONF_FILE=sysbuild/nrf54h20dk_nrf54h20_cpurad.conf
1311
harness: console
1412
harness_config:
1513
type: multi_line
@@ -22,7 +20,6 @@ tests:
2220
benchmarks.multicore.idle_wdt.nrf54h20dk_cpuapp_cpurad.idle:
2321
tags: ppk_power_measure
2422
extra_args:
25-
SB_CONF_FILE=sysbuild/nrf54h20dk_nrf54h20_cpurad.conf
2623
idle_wdt_CONF_FILE=prj_s2ram.conf
2724
remote_CONF_FILE=prj_s2ram.conf
2825
idle_wdt_CONFIG_TEST_SLEEP_DURATION_MS=500
@@ -36,7 +33,6 @@ tests:
3633
benchmarks.multicore.idle_wdt.nrf54h20dk_cpuapp_cpurad.s2ram:
3734
tags: ppk_power_measure
3835
extra_args:
39-
SB_CONF_FILE=sysbuild/nrf54h20dk_nrf54h20_cpurad.conf
4036
idle_wdt_CONF_FILE=prj_s2ram.conf
4137
remote_CONF_FILE=prj_s2ram.conf
4238
harness: pytest

0 commit comments

Comments
 (0)