Skip to content

Commit cfb9d56

Browse files
nordic-baminordic-piks
authored andcommitted
tests: subsys: Extend IPC latency test
Test with additional configurations for nrf54h: - with MRAM always ON - with S2RAM enabled Signed-off-by: Bartosz Miller <[email protected]>
1 parent 508d0f6 commit cfb9d56

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

tests/subsys/ipc/ipc_latency/src/main.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ static uint64_t get_maximal_allowed_ping_pong_time_us(size_t test_message_len)
9292
break;
9393
}
9494
#endif
95+
if (IS_ENABLED(CONFIG_PM_S2RAM)) {
96+
maximal_allowed_ping_pong_time_us *= 1.5;
97+
}
9598
return maximal_allowed_ping_pong_time_us;
9699
}
97100

tests/subsys/ipc/ipc_latency/testcase.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,23 @@ tests:
2323
- nrf54h20dk/nrf54h20/cpuapp
2424
extra_args:
2525
- FILE_SUFFIX=icmsg
26+
subsys.ipc.ipc_latency.app_rad.nrf54h.mram_always_on:
27+
platform_allow:
28+
- nrf54h20dk/nrf54h20/cpuapp
29+
integration_platforms:
30+
- nrf54h20dk/nrf54h20/cpuapp
31+
extra_configs:
32+
- CONFIG_MRAM_LATENCY=y
33+
- CONFIG_MRAM_LATENCY_AUTO_REQ=y
34+
subsys.ipc.ipc_latency.app_rad.nrf54h.s2ram:
35+
platform_allow:
36+
- nrf54h20dk/nrf54h20/cpuapp
37+
integration_platforms:
38+
- nrf54h20dk/nrf54h20/cpuapp
39+
extra_configs:
40+
- CONFIG_PM=y
41+
- CONFIG_PM_S2RAM=y
42+
- CONFIG_PM_S2RAM_CUSTOM_MARKING=y
43+
- CONFIG_PM_DEVICE=y
44+
- CONFIG_PM_DEVICE_RUNTIME=y
45+
- CONFIG_POWEROFF=y

0 commit comments

Comments
 (0)