Skip to content

Commit 9c7f66b

Browse files
nordic-seglnordicjm
authored andcommitted
tests: benchmarks: multicore: Improve Path to SOURCE_DIR
Whenever remote_sleep_forever is compiled on the remote core and SysBuild is used, then set SOURCE_DIR to ${SYSBUILD_NRF_MODULE_DIR}/tests/benchmarks/power_consumption/ \ /common/remote_sleep_forever Signed-off-by: Sebastian Głąb <[email protected]>
1 parent 0710311 commit 9c7f66b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/benchmarks/multicore/idle_hpu_temp_meas/sysbuild.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ endif()
1111
# Add remote project
1212
ExternalZephyrProject_Add(
1313
APPLICATION remote
14-
SOURCE_DIR ${APP_DIR}/../../power_consumption/common/remote_sleep_forever
14+
SOURCE_DIR ${SYSBUILD_NRF_MODULE_DIR}/tests/benchmarks/power_consumption/common/remote_sleep_forever
1515
BOARD ${SB_CONFIG_REMOTE_BOARD}
1616
BOARD_REVISION ${BOARD_REVISION}
1717
)

tests/benchmarks/multicore/idle_uarte/sysbuild.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ endif()
1111
# Add remote project
1212
ExternalZephyrProject_Add(
1313
APPLICATION remote
14-
SOURCE_DIR ${APP_DIR}/../../power_consumption/common/remote_sleep_forever
14+
SOURCE_DIR ${SYSBUILD_NRF_MODULE_DIR}/tests/benchmarks/power_consumption/common/remote_sleep_forever
1515
BOARD ${SB_CONFIG_REMOTE_BOARD}
1616
BOARD_REVISION ${BOARD_REVISION}
1717
)

tests/benchmarks/multicore/idle_usb/sysbuild.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ endif()
1111
# Add remote project
1212
ExternalZephyrProject_Add(
1313
APPLICATION remote
14-
SOURCE_DIR ${APP_DIR}/../../power_consumption/common/remote_sleep_forever
14+
SOURCE_DIR ${SYSBUILD_NRF_MODULE_DIR}/tests/benchmarks/power_consumption/common/remote_sleep_forever
1515
BOARD ${SB_CONFIG_REMOTE_BOARD}
1616
BOARD_REVISION ${BOARD_REVISION}
1717
)

0 commit comments

Comments
 (0)