File tree Expand file tree Collapse file tree 16 files changed +191
-15
lines changed
tests/benchmarks/multicore Expand file tree Collapse file tree 16 files changed +191
-15
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,13 @@ set_property(GLOBAL APPEND PROPERTY PM_CPUNET_IMAGES remote)
20
20
set_property (GLOBAL PROPERTY DOMAIN_APP_CPUNET remote)
21
21
set (CPUNET_PM_DOMAIN_DYNAMIC_PARTITION remote CACHE INTERNAL "" )
22
22
23
+ if (SB_CONFIG_BOOTLOADER_MCUBOOT AND SB_CONFIG_SOC_NRF54H20)
24
+ set_target_properties (remote PROPERTIES
25
+ IMAGE_CONF_SCRIPT ${ZEPHYR_BASE} /share/sysbuild/image_configurations/MAIN_image_default.cmake
26
+ )
27
+ UpdateableImage_Add(APPLICATION remote)
28
+ endif ()
29
+
23
30
# Add a dependency so that the remote image will be built and flashed first
24
31
add_dependencies (${DEFAULT_IMAGE} remote)
25
32
# Add dependency so that the remote image is flashed first.
Original file line number Diff line number Diff line change
1
+ # CONFIG_LOG=n
2
+ # CONFIG_SERIAL=n
3
+
4
+ CONFIG_PM=y
5
+ CONFIG_PM_S2RAM=y
6
+ CONFIG_PM_S2RAM_CUSTOM_MARKING=y
7
+ CONFIG_SOC_NRF54H20_PM_S2RAM_OVERRIDE=y
Original file line number Diff line number Diff line change @@ -124,6 +124,39 @@ tests:
124
124
- " ${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_power_consumption"
125
125
tags : ppk_power_measure
126
126
127
+ benchmarks.multicore.idle.nrf54h20dk_cpuapp_cpurad.s2ram.mcuboot :
128
+ platform_allow :
129
+ - nrf54h20dk/nrf54h20/cpuapp
130
+ integration_platforms :
131
+ - nrf54h20dk/nrf54h20/cpuapp
132
+ extra_args :
133
+ - SB_CONF_FILE=sysbuild/nrf54h20dk_nrf54h20_cpurad.conf
134
+ - CONFIG_SOC_NRF54H20_CPURAD_ENABLE=y
135
+ - CONFIG_FIRST_SLEEP_OFFSET=y
136
+ - CONFIG_PM=y
137
+ - CONFIG_PM_S2RAM=y
138
+ - CONFIG_POWEROFF=y
139
+ - CONFIG_PM_S2RAM_CUSTOM_MARKING=y
140
+ # - CONFIG_CONSOLE=n
141
+ # - CONFIG_UART_CONSOLE=n
142
+ # - CONFIG_SERIAL=n
143
+ # - CONFIG_GPIO=n
144
+ # - CONFIG_BOOT_BANNER=n
145
+ - remote_CONFIG_PM=y
146
+ - remote_CONFIG_POWEROFF=y
147
+ - remote_CONFIG_CONSOLE=n
148
+ - remote_CONFIG_UART_CONSOLE=n
149
+ - remote_CONFIG_SERIAL=n
150
+ - remote_CONFIG_GPIO=n
151
+ - remote_CONFIG_BOOT_BANNER=n
152
+ - SB_CONFIG_BOOTLOADER_MCUBOOT=y
153
+ harness : pytest
154
+ harness_config :
155
+ fixture : lfclk_at_lfxo
156
+ pytest_root :
157
+ - " ${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_power_consumption"
158
+ tags : ppk_power_measure
159
+
127
160
benchmarks.multicore.idle.nrf54h20dk_cpuapp_cpurad.s2ram.fpu :
128
161
platform_allow :
129
162
- nrf54h20dk/nrf54h20/cpuapp
Original file line number Diff line number Diff line change @@ -15,3 +15,10 @@ ExternalZephyrProject_Add(
15
15
BOARD ${SB_CONFIG_REMOTE_BOARD}
16
16
BOARD_REVISION ${BOARD_REVISION}
17
17
)
18
+
19
+ if (SB_CONFIG_BOOTLOADER_MCUBOOT)
20
+ set_target_properties (remote PROPERTIES
21
+ IMAGE_CONF_SCRIPT ${ZEPHYR_BASE} /share/sysbuild/image_configurations/MAIN_image_default.cmake
22
+ )
23
+ UpdateableImage_Add(APPLICATION remote)
24
+ endif ()
Original file line number Diff line number Diff line change
1
+ CONFIG_LOG=n
2
+ CONFIG_SERIAL=n
3
+
4
+ CONFIG_PM=y
5
+ CONFIG_PM_S2RAM=y
6
+ CONFIG_PM_S2RAM_CUSTOM_MARKING=y
Original file line number Diff line number Diff line change @@ -49,6 +49,20 @@ tests:
49
49
pytest_root :
50
50
- " ${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_pwm_and_s2ram"
51
51
52
+ benchmarks.multicore.idle_pwm_led.nrf54h20dk_cpuapp_cpurad.s2ram.mcuboot :
53
+ filter : not CONFIG_COVERAGE
54
+ tags : ppk_power_measure
55
+ extra_args :
56
+ - idle_pwm_led_CONF_FILE=prj_s2ram.conf
57
+ - remote_CONF_FILE=prj_s2ram.conf
58
+ - SB_CONFIG_BOOTLOADER_MCUBOOT=y
59
+ - mcuboot_EXTRA_DTC_OVERLAY_FILE="${ZEPHYR_NRF_MODULE_DIR}/tests/benchmarks/multicore/idle_pwm_led/boards/nrf54h20dk_nrf54h20_cpuapp.overlay"
60
+ harness : pytest
61
+ harness_config :
62
+ fixture : ppk_power_measure
63
+ pytest_root :
64
+ - " ${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_pwm_and_s2ram"
65
+
52
66
benchmarks.multicore.idle_pwm_led.nrf54h20dk_cpuapp_cpurad.idle_fast :
53
67
filter : not CONFIG_COVERAGE
54
68
tags : ppk_power_measure
Original file line number Diff line number Diff line change @@ -12,4 +12,11 @@ if(SB_CONFIG_SOC_NRF54H20)
12
12
BOARD ${SB_CONFIG_BOARD} /${SB_CONFIG_SOC} /cpurad
13
13
BOARD_REVISION ${BOARD_REVISION}
14
14
)
15
+
16
+ if (SB_CONFIG_BOOTLOADER_MCUBOOT)
17
+ set_target_properties (remote PROPERTIES
18
+ IMAGE_CONF_SCRIPT ${ZEPHYR_BASE} /share/sysbuild/image_configurations/MAIN_image_default.cmake
19
+ )
20
+ UpdateableImage_Add(APPLICATION remote)
21
+ endif ()
15
22
endif ()
Original file line number Diff line number Diff line change
1
+ CONFIG_LOG=n
2
+ CONFIG_SERIAL=n
3
+
4
+ CONFIG_PM=y
5
+ CONFIG_PM_S2RAM=y
6
+ CONFIG_PM_S2RAM_CUSTOM_MARKING=y
Original file line number Diff line number Diff line change @@ -23,6 +23,28 @@ tests:
23
23
- " ${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_power_consumption_spim"
24
24
timeout : 90
25
25
26
+ benchmarks.multicore.idle_spim.nrf54h20dk_cpuapp_cpurad.s2ram.mcuboot :
27
+ tags :
28
+ - ci_build
29
+ - ci_tests_benchmarks_multicore
30
+ - spim
31
+ - ppk_power_measure
32
+ filter : not CONFIG_COVERAGE
33
+ harness : pytest
34
+ platform_allow :
35
+ - nrf54h20dk/nrf54h20/cpuapp
36
+ integration_platforms :
37
+ - nrf54h20dk/nrf54h20/cpuapp
38
+ extra_args :
39
+ - SHIELD=pca63566
40
+ - SB_CONFIG_BOOTLOADER_MCUBOOT=y
41
+ - mcuboot_EXTRA_DTC_OVERLAY_FILE="${ZEPHYR_NRF_MODULE_DIR}/tests/benchmarks/multicore/idle_spim/boards/nrf54h20dk_nrf54h20_cpuapp.overlay"
42
+ harness_config :
43
+ fixture : pca63566
44
+ pytest_root :
45
+ - " ${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_power_consumption_spim"
46
+ timeout : 90
47
+
26
48
benchmarks.multicore.idle_spim.nrf54h20dk_cpuapp_cpurad.coverage :
27
49
tags :
28
50
- ci_build
Original file line number Diff line number Diff line change @@ -15,6 +15,13 @@ ExternalZephyrProject_Add(
15
15
BOARD ${SB_CONFIG_REMOTE_BOARD}
16
16
BOARD_REVISION ${BOARD_REVISION}
17
17
)
18
+
19
+ if (SB_CONFIG_BOOTLOADER_MCUBOOT)
20
+ set_target_properties (remote PROPERTIES
21
+ IMAGE_CONF_SCRIPT ${ZEPHYR_BASE} /share/sysbuild/image_configurations/MAIN_image_default.cmake
22
+ )
23
+ UpdateableImage_Add(APPLICATION remote)
24
+ endif ()
18
25
19
26
# Add a dependency so that the remote image will be built and flashed first
20
27
add_dependencies (idle_twim remote)
You can’t perform that action at this time.
0 commit comments