@@ -4,34 +4,100 @@ common:
44 tags : power
55tests :
66 sample.boards.nrf.system_off :
7- build_only : true
87 integration_platforms :
98 - nrf52840dk/nrf52840
109 platform_allow :
11- - nrf54l15dk/nrf54l15/cpuapp
10+ - nrf51dk/nrf51822
1211 - nrf52840dk/nrf52840
1312 - nrf52dk/nrf52832
14- - nrf51dk/nrf51822
13+ - nrf5340dk/nrf5340/cpuapp
14+ - nrf54l15dk/nrf54l15/cpuapp
15+ harness : console
16+ harness_config :
17+ type : multi_line
18+ ordered : true
19+ regex :
20+ - " system off demo"
21+ - " Retained data not supported"
22+ - " Entering system off; press sw0 to restart"
1523 sample.boards.nrf.system_off.nrf_retained :
16- build_only : true
1724 integration_platforms :
1825 - nrf52840dk/nrf52840
1926 platform_allow :
2027 - nrf52840dk/nrf52840
2128 - nrf52dk/nrf52832
2229 extra_configs :
2330 - CONFIG_APP_USE_NRF_RETENTION=y
31+ harness : console
32+ harness_config :
33+ type : multi_line
34+ ordered : true
35+ regex :
36+ - " system off demo"
37+ - " Retained data: INVALID"
38+ - " Boot count: 1"
39+ - " Off count: 0"
40+ - " Active Ticks:"
41+ - " Entering system off; press sw0 to restart"
2442 sample.boards.nrf.system_off.retained_mem :
2543 extra_args : DTC_OVERLAY_FILE="boards/nrf54l15dk_nrf54l15_cpuapp_retained_mem.overlay"
26- build_only : true
2744 platform_allow :
2845 - nrf54l15dk/nrf54l15/cpuapp
2946 extra_configs :
3047 - CONFIG_APP_USE_RETAINED_MEM=y
3148 - CONFIG_RETAINED_MEM=y
49+ harness : console
50+ harness_config :
51+ type : multi_line
52+ ordered : true
53+ regex :
54+ - " system off demo"
55+ - " Retained data: INVALID"
56+ - " Boot count: 1"
57+ - " Off count: 0"
58+ - " Active Ticks:"
59+ - " Entering system off; press sw0 to restart"
3260 sample.boards.nrf.system_off.grtc_wakeup :
33- build_only : true
3461 platform_allow :
3562 - nrf54l15dk/nrf54l15/cpuapp
3663 extra_configs :
3764 - CONFIG_GRTC_WAKEUP_ENABLE=y
65+ harness : console
66+ harness_config :
67+ type : multi_line
68+ ordered : true
69+ regex :
70+ - " system off demo"
71+ - " Retained data not supported"
72+ - " Entering system off; wait 2 seconds to restart"
73+ - " system off demo"
74+ - " Retained data not supported"
75+ - " Entering system off; wait 2 seconds to restart"
76+ - " system off demo"
77+ - " Retained data not supported"
78+ - " Entering system off; wait 2 seconds to restart"
79+ sample.boards.nrf.system_off.retained_mem.grtc_wakeup :
80+ extra_args : DTC_OVERLAY_FILE="boards/nrf54l15dk_nrf54l15_cpuapp_retained_mem.overlay"
81+ platform_allow :
82+ - nrf54l15dk/nrf54l15/cpuapp
83+ extra_configs :
84+ - CONFIG_APP_USE_RETAINED_MEM=y
85+ - CONFIG_GRTC_WAKEUP_ENABLE=y
86+ - CONFIG_RETAINED_MEM=y
87+ harness : console
88+ harness_config :
89+ type : multi_line
90+ ordered : true
91+ regex :
92+ - " system off demo"
93+ - " Retained data: INVALID"
94+ - " Boot count: 1"
95+ - " Off count: 0"
96+ - " Active Ticks:"
97+ - " Entering system off; wait 2 seconds to restart"
98+ - " system off demo"
99+ - " Retained data: valid"
100+ - " Boot count: 2"
101+ - " Off count: 1"
102+ - " Active Ticks:"
103+ - " Entering system off; wait 2 seconds to restart"
0 commit comments