Skip to content

Commit c308510

Browse files
nordic-pikrnordic-piks
authored andcommitted
tests: benchmarks: idle: Increase current limit at LFRC
Use fixtures to differentiate regular and lfrc setup and increase current limit in LFRC case. Signed-off-by: Piotr Krzyzanowski <[email protected]>
1 parent a9ed8ac commit c308510

File tree

1 file changed

+102
-3
lines changed

1 file changed

+102
-3
lines changed

tests/benchmarks/multicore/idle/testcase.yaml

Lines changed: 102 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ tests:
4040
- SB_CONF_FILE=sysbuild/nrf54h20dk_nrf54h20_cpuppr.conf
4141
- idle_SNIPPET=nordic-ppr
4242
- CONFIG_FIRST_SLEEP_OFFSET=y
43+
4344
benchmarks.multicore.idle.nrf54h20dk_cpuapp_cpuppr_xip:
4445
harness: console
4546
platform_allow:
@@ -50,6 +51,7 @@ tests:
5051
- SB_CONF_FILE=sysbuild/nrf54h20dk_nrf54h20_cpuppr_xip.conf
5152
- idle_SNIPPET=nordic-ppr-xip
5253
- CONFIG_FIRST_SLEEP_OFFSET=y
54+
5355
benchmarks.multicore.idle.nrf54h20dk_cpuapp_cpurad:
5456
harness: console
5557
platform_allow:
@@ -59,6 +61,7 @@ tests:
5961
extra_args:
6062
- SB_CONF_FILE=sysbuild/nrf54h20dk_nrf54h20_cpurad.conf
6163
- CONFIG_FIRST_SLEEP_OFFSET=y
64+
6265
benchmarks.multicore.idle.nrf54h20dk_cpuapp_cpurad.unexpected_reboot:
6366
platform_allow:
6467
- nrf54h20dk/nrf54h20/cpuapp
@@ -74,6 +77,7 @@ tests:
7477
- "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_unexected_reboot_occurrence"
7578
tags: ppk_power_measure
7679
timeout: 110
80+
7781
benchmarks.multicore.idle.nrf54h20dk_cpuapp_cpurad.s2ram:
7882
platform_allow:
7983
- nrf54h20dk/nrf54h20/cpuapp
@@ -100,7 +104,7 @@ tests:
100104
- remote_CONFIG_BOOT_BANNER=n
101105
harness: pytest
102106
harness_config:
103-
fixture: ppk_power_measure
107+
fixture: lfclk_at_lfxo
104108
pytest_root:
105109
- "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_power_consumption"
106110
tags: ppk_power_measure
@@ -132,7 +136,7 @@ tests:
132136
- DTC_OVERLAY_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_ram_high_usage.overlay"
133137
harness: pytest
134138
harness_config:
135-
fixture: ppk_power_measure
139+
fixture: lfclk_at_lfxo
136140
pytest_root:
137141
- "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_power_ram_retention_high_usage"
138142
tags: ppk_power_measure
@@ -164,7 +168,102 @@ tests:
164168
- DTC_OVERLAY_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_ram_low_usage.overlay"
165169
harness: pytest
166170
harness_config:
167-
fixture: ppk_power_measure
171+
fixture: lfclk_at_lfxo
168172
pytest_root:
169173
- "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_power_ram_retention_low_usage"
170174
tags: ppk_power_measure
175+
176+
benchmarks.multicore.idle.nrf54h20dk_cpuapp_cpurad.s2ram.lfrc:
177+
platform_allow:
178+
- nrf54h20dk/nrf54h20/cpuapp
179+
integration_platforms:
180+
- nrf54h20dk/nrf54h20/cpuapp
181+
extra_args:
182+
- SB_CONF_FILE=sysbuild/nrf54h20dk_nrf54h20_cpurad.conf
183+
- CONFIG_FIRST_SLEEP_OFFSET=y
184+
- CONFIG_PM=y
185+
- CONFIG_PM_S2RAM=y
186+
- CONFIG_POWEROFF=y
187+
- CONFIG_PM_S2RAM_CUSTOM_MARKING=y
188+
- CONFIG_CONSOLE=n
189+
- CONFIG_UART_CONSOLE=n
190+
- CONFIG_SERIAL=n
191+
- CONFIG_GPIO=n
192+
- CONFIG_BOOT_BANNER=n
193+
- remote_CONFIG_PM=y
194+
- remote_CONFIG_POWEROFF=y
195+
- remote_CONFIG_CONSOLE=n
196+
- remote_CONFIG_UART_CONSOLE=n
197+
- remote_CONFIG_SERIAL=n
198+
- remote_CONFIG_GPIO=n
199+
- remote_CONFIG_BOOT_BANNER=n
200+
harness: pytest
201+
harness_config:
202+
fixture: lfclk_at_lfrc
203+
pytest_root:
204+
- "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_power_consumption_lfrc"
205+
tags: ppk_power_measure
206+
207+
benchmarks.multicore.idle.nrf54h20dk_cpuapp_cpurad.ram_retention_high_usage.lfrc:
208+
platform_allow:
209+
- nrf54h20dk/nrf54h20/cpuapp
210+
integration_platforms:
211+
- nrf54h20dk/nrf54h20/cpuapp
212+
extra_args:
213+
- SB_CONF_FILE=sysbuild/nrf54h20dk_nrf54h20_cpurad.conf
214+
- CONFIG_FIRST_SLEEP_OFFSET=y
215+
- CONFIG_PM=y
216+
- CONFIG_PM_S2RAM=y
217+
- CONFIG_POWEROFF=y
218+
- CONFIG_PM_S2RAM_CUSTOM_MARKING=y
219+
- CONFIG_CONSOLE=n
220+
- CONFIG_UART_CONSOLE=n
221+
- CONFIG_SERIAL=n
222+
- CONFIG_GPIO=n
223+
- CONFIG_BOOT_BANNER=n
224+
- remote_CONFIG_PM=y
225+
- remote_CONFIG_POWEROFF=y
226+
- remote_CONFIG_CONSOLE=n
227+
- remote_CONFIG_UART_CONSOLE=n
228+
- remote_CONFIG_SERIAL=n
229+
- remote_CONFIG_GPIO=n
230+
- remote_CONFIG_BOOT_BANNER=n
231+
- DTC_OVERLAY_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_ram_high_usage.overlay"
232+
harness: pytest
233+
harness_config:
234+
fixture: lfclk_at_lfrc
235+
pytest_root:
236+
- "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_power_ram_retention_high_usage_lfrc"
237+
tags: ppk_power_measure
238+
239+
benchmarks.multicore.idle.nrf54h20dk_cpuapp_cpurad.ram_retention_low_usage.lfrc:
240+
platform_allow:
241+
- nrf54h20dk/nrf54h20/cpuapp
242+
integration_platforms:
243+
- nrf54h20dk/nrf54h20/cpuapp
244+
extra_args:
245+
- SB_CONF_FILE=sysbuild/nrf54h20dk_nrf54h20_cpurad.conf
246+
- CONFIG_FIRST_SLEEP_OFFSET=y
247+
- CONFIG_PM=y
248+
- CONFIG_PM_S2RAM=y
249+
- CONFIG_POWEROFF=y
250+
- CONFIG_PM_S2RAM_CUSTOM_MARKING=y
251+
- CONFIG_CONSOLE=n
252+
- CONFIG_UART_CONSOLE=n
253+
- CONFIG_SERIAL=n
254+
- CONFIG_GPIO=n
255+
- CONFIG_BOOT_BANNER=n
256+
- remote_CONFIG_PM=y
257+
- remote_CONFIG_POWEROFF=y
258+
- remote_CONFIG_CONSOLE=n
259+
- remote_CONFIG_UART_CONSOLE=n
260+
- remote_CONFIG_SERIAL=n
261+
- remote_CONFIG_GPIO=n
262+
- remote_CONFIG_BOOT_BANNER=n
263+
- DTC_OVERLAY_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_ram_low_usage.overlay"
264+
harness: pytest
265+
harness_config:
266+
fixture: lfclk_at_lfrc
267+
pytest_root:
268+
- "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_power_ram_retention_low_usage_lfrc"
269+
tags: ppk_power_measure

0 commit comments

Comments
 (0)