File tree Expand file tree Collapse file tree 6 files changed +32
-18
lines changed
tests/benchmarks/multicore/idle_usb Expand file tree Collapse file tree 6 files changed +32
-18
lines changed Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ cmake_minimum_required(VERSION 3.20.0)
9
9
find_package (Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE} )
10
10
11
11
if (NOT SYSBUILD)
12
- message (FATAL_ERROR
13
- " This is a multi-image application that should be built using sysbuild.\n "
14
- " Add --sysbuild argument to west build command to prepare all the images." )
12
+ message (FATAL_ERROR
13
+ " This is a multi-image application that should be built using sysbuild.\n "
14
+ " Add --sysbuild argument to west build command to prepare all the images." )
15
15
endif ()
16
16
17
17
project (idle_usb)
Original file line number Diff line number Diff line change 7
7
source "share/sysbuild/Kconfig"
8
8
9
9
config REMOTE_BOARD
10
- string "The board used for remote target"
10
+ string
11
+ default "$(BOARD)/nrf54h20/cpurad" if SOC_NRF54H20
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) 2025 Nordic Semiconductor ASA
3
+ *
4
+ * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5
+ */
6
+
7
+ / {
8
+ aliases {
9
+ led = &led0;
10
+ };
11
+ };
12
+
13
+ &zephyr_udc0 {
14
+ cdc_acm_uart0 {
15
+ compatible = "zephyr,cdc-acm-uart";
16
+ };
17
+ };
18
+
19
+ &uart20 {
20
+ zephyr,pm-device-runtime-auto;
21
+ disable-rx;
22
+ };
Original file line number Diff line number Diff line change 4
4
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5
5
#
6
6
7
- if ("${SB_CONFIG_REMOTE_BOARD} " STREQUAL "" )
8
- message (FATAL_ERROR "REMOTE_BOARD must be set to a valid board name" )
9
- endif ()
10
-
11
- # Add remote project
12
- ExternalZephyrProject_Add(
7
+ if (SB_CONFIG_REMOTE_BOARD)
8
+ ExternalZephyrProject_Add(
13
9
APPLICATION remote
14
10
SOURCE_DIR ${ZEPHYR_NRF_MODULE_DIR} /tests/benchmarks/power_consumption/common/remote_sleep_forever
15
11
BOARD ${SB_CONFIG_REMOTE_BOARD}
16
12
BOARD_REVISION ${BOARD_REVISION}
17
13
)
18
-
19
- # Add a dependency so that the remote image will be built and flashed first
20
- add_dependencies (idle_usb remote)
21
- # Add dependency so that the remote image is flashed first.
22
- sysbuild_add_dependencies(FLASH idle_usb remote)
14
+ endif ()
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ tests:
11
11
harness : pytest
12
12
platform_allow :
13
13
- nrf54h20dk/nrf54h20/cpuapp
14
+ - nrf54lm20dk/nrf54lm20a/cpuapp
14
15
integration_platforms :
15
16
- nrf54h20dk/nrf54h20/cpuapp
16
- extra_args :
17
- - SB_CONF_FILE=sysbuild/nrf54h20dk_nrf54h20_cpurad.conf
17
+ - nrf54lm20dk/nrf54lm20a/cpuapp
18
18
harness_config :
19
19
fixture : ppk_power_measure_usb
20
20
pytest_root :
You can’t perform that action at this time.
0 commit comments