@@ -4,36 +4,102 @@ common:
44 tags : power
55tests :
66 sample.boards.nrf.system_off :
7- build_only : true
87 integration_platforms :
98 - nrf52840dk/nrf52840
109 platform_allow :
10+ - nrf51dk/nrf51822
11+ - nrf52840dk/nrf52840
12+ - nrf52dk/nrf52832
13+ - nrf5340dk/nrf5340/cpuapp
1114 - nrf54l15dk/nrf54l05/cpuapp
1215 - nrf54l15dk/nrf54l10/cpuapp
1316 - nrf54l15dk/nrf54l15/cpuapp
14- - nrf52840dk/nrf52840
15- - nrf52dk/nrf52832
16- - nrf51dk/nrf51822
17+ harness : console
18+ harness_config :
19+ type : multi_line
20+ ordered : true
21+ regex :
22+ - " system off demo"
23+ - " Retained data not supported"
24+ - " Entering system off; press sw0 to restart"
1725 sample.boards.nrf.system_off.nrf_retained :
18- build_only : true
1926 integration_platforms :
2027 - nrf52840dk/nrf52840
2128 platform_allow :
2229 - nrf52840dk/nrf52840
2330 - nrf52dk/nrf52832
2431 extra_configs :
2532 - CONFIG_APP_USE_NRF_RETENTION=y
33+ harness : console
34+ harness_config :
35+ type : multi_line
36+ ordered : true
37+ regex :
38+ - " system off demo"
39+ - " Retained data: INVALID"
40+ - " Boot count: 1"
41+ - " Off count: 0"
42+ - " Active Ticks:"
43+ - " Entering system off; press sw0 to restart"
2644 sample.boards.nrf.system_off.retained_mem :
2745 extra_args : DTC_OVERLAY_FILE="boards/nrf54l15dk_nrf54l15_cpuapp_retained_mem.overlay"
28- build_only : true
2946 platform_allow :
3047 - nrf54l15dk/nrf54l15/cpuapp
3148 extra_configs :
3249 - CONFIG_APP_USE_RETAINED_MEM=y
3350 - CONFIG_RETAINED_MEM=y
51+ harness : console
52+ harness_config :
53+ type : multi_line
54+ ordered : true
55+ regex :
56+ - " system off demo"
57+ - " Retained data: INVALID"
58+ - " Boot count: 1"
59+ - " Off count: 0"
60+ - " Active Ticks:"
61+ - " Entering system off; press sw0 to restart"
3462 sample.boards.nrf.system_off.grtc_wakeup :
35- build_only : true
3663 platform_allow :
3764 - nrf54l15dk/nrf54l15/cpuapp
3865 extra_configs :
3966 - CONFIG_GRTC_WAKEUP_ENABLE=y
67+ harness : console
68+ harness_config :
69+ type : multi_line
70+ ordered : true
71+ regex :
72+ - " system off demo"
73+ - " Retained data not supported"
74+ - " Entering system off; wait 2 seconds to restart"
75+ - " system off demo"
76+ - " Retained data not supported"
77+ - " Entering system off; wait 2 seconds to restart"
78+ - " system off demo"
79+ - " Retained data not supported"
80+ - " Entering system off; wait 2 seconds to restart"
81+ sample.boards.nrf.system_off.retained_mem.grtc_wakeup :
82+ extra_args : DTC_OVERLAY_FILE="boards/nrf54l15dk_nrf54l15_cpuapp_retained_mem.overlay"
83+ platform_allow :
84+ - nrf54l15dk/nrf54l15/cpuapp
85+ extra_configs :
86+ - CONFIG_APP_USE_RETAINED_MEM=y
87+ - CONFIG_GRTC_WAKEUP_ENABLE=y
88+ - CONFIG_RETAINED_MEM=y
89+ harness : console
90+ harness_config :
91+ type : multi_line
92+ ordered : true
93+ regex :
94+ - " system off demo"
95+ - " Retained data: INVALID"
96+ - " Boot count: 1"
97+ - " Off count: 0"
98+ - " Active Ticks:"
99+ - " Entering system off; wait 2 seconds to restart"
100+ - " system off demo"
101+ - " Retained data: valid"
102+ - " Boot count: 2"
103+ - " Off count: 1"
104+ - " Active Ticks:"
105+ - " Entering system off; wait 2 seconds to restart"
0 commit comments