1family:
2  - name: nordic_nrf
3    series:
4      - name: nrf51
5        socs:
6          - name: nrf51822
7      - name: nrf52
8        socs:
9          - name: nrf52805
10          - name: nrf52810
11          - name: nrf52811
12          - name: nrf52820
13          - name: nrf52832
14          - name: nrf52833
15          - name: nrf52840
16      - name: nrf53
17        socs:
18          - name: nrf5340
19            cpuclusters:
20              - name: cpuapp
21              - name: cpunet
22      - name: nrf54l
23        socs:
24          - name: nrf54l05
25            cpuclusters:
26              - name: cpuapp
27              - name: cpuflpr
28          - name: nrf54l10
29            cpuclusters:
30              - name: cpuapp
31              - name: cpuflpr
32          - name: nrf54l15
33            cpuclusters:
34              - name: cpuapp
35              - name: cpuflpr
36          - name: nrf54l20
37            cpuclusters:
38              - name: cpuapp
39      - name: nrf54h
40        socs:
41          - name: nrf54h20
42            cpuclusters:
43              - name: cpuapp
44              - name: cpurad
45              - name: cpuppr
46              - name: cpuflpr
47      - name: nrf91
48        socs:
49          - name: nrf9131
50          - name: nrf9151
51          - name: nrf9160
52          - name: nrf9161
53      - name: nrf92
54        socs:
55          - name: nrf9280
56            cpuclusters:
57              - name: cpuapp
58              - name: cpurad
59              - name: cpuppr
60
61# Recovery/erase is only needed once per core. Prevent resetting the cores whilst flashing
62# multiple images until all images for each core have been flashed, this allows security
63# bits to be set during programming without them interfering with additional flashing
64# operations.
65runners:
66  run_once:
67    '--recover':
68      - runners:
69          - nrfjprog
70          - nrfutil
71        run: first
72        groups:
73          - qualifiers:
74              - nrf51822
75          - qualifiers:
76              - nrf52805
77          - qualifiers:
78              - nrf52810
79          - qualifiers:
80              - nrf52811
81          - qualifiers:
82              - nrf52820
83          - qualifiers:
84              - nrf52832
85          - qualifiers:
86              - nrf52833
87          - qualifiers:
88              - nrf52840
89          - qualifiers:
90              - nrf5340/cpunet
91              - nrf5340/cpuapp
92              - nrf5340/cpuapp/ns
93          - qualifiers:
94              - nrf9131
95              - nrf9131/ns
96          - qualifiers:
97              - nrf9151
98              - nrf9151/ns
99          - qualifiers:
100              - nrf9160
101              - nrf9160/ns
102          - qualifiers:
103              - nrf9161
104              - nrf9161/ns
105          - qualifiers:
106              - nrf54l05/cpuapp
107              - nrf54l05/cpuflpr
108          - qualifiers:
109              - nrf54l10/cpuapp
110              - nrf54l10/cpuflpr
111          - qualifiers:
112              - nrf54l15/cpuapp
113              - nrf54l15/cpuflpr
114          - qualifiers:
115              - nrf54l20/cpuapp
116          - qualifiers:
117              - nrf54h20/cpuapp
118              - nrf54h20/cpurad
119              - nrf54h20/cpuppr
120              - nrf54h20/cpuflpr
121          - qualifiers:
122              - nrf9280/cpuapp
123              - nrf9280/cpurad
124              - nrf9280/cpuppr
125    '--erase':
126      - runners:
127          - nrfjprog
128          - jlink
129          - nrfutil
130        run: first
131        groups:
132          - qualifiers:
133              - nrf51822
134          - qualifiers:
135              - nrf52805
136          - qualifiers:
137              - nrf52810
138          - qualifiers:
139              - nrf52811
140          - qualifiers:
141              - nrf52820
142          - qualifiers:
143              - nrf52832
144          - qualifiers:
145              - nrf52833
146          - qualifiers:
147              - nrf52840
148          - qualifiers:
149              - nrf5340/cpunet
150          - qualifiers:
151              - nrf5340/cpuapp
152              - nrf5340/cpuapp/ns
153          - qualifiers:
154              - nrf9131
155              - nrf9131/ns
156          - qualifiers:
157              - nrf9151
158              - nrf9151/ns
159          - qualifiers:
160              - nrf9160
161              - nrf9160/ns
162          - qualifiers:
163              - nrf9161
164              - nrf9161/ns
165          - qualifiers:
166              - nrf54l05/cpuapp
167              - nrf54l05/cpuflpr
168          - qualifiers:
169              - nrf54l10/cpuapp
170              - nrf54l10/cpuflpr
171          - qualifiers:
172              - nrf54l15/cpuapp
173              - nrf54l15/cpuflpr
174          - qualifiers:
175              - nrf54l20/cpuapp
176          - qualifiers:
177              - nrf54h20/cpuapp
178              - nrf54h20/cpurad
179              - nrf54h20/cpuppr
180              - nrf54h20/cpuflpr
181          - qualifiers:
182              - nrf9280/cpuapp
183              - nrf9280/cpurad
184              - nrf9280/cpuppr
185    '--reset':
186      - runners:
187          - nrfjprog
188          - jlink
189          - nrfutil
190        run: last
191        groups:
192          - qualifiers:
193              - nrf51822
194          - qualifiers:
195              - nrf52805
196          - qualifiers:
197              - nrf52810
198          - qualifiers:
199              - nrf52811
200          - qualifiers:
201              - nrf52820
202          - qualifiers:
203              - nrf52832
204          - qualifiers:
205              - nrf52833
206          - qualifiers:
207              - nrf52840
208          - qualifiers:
209              - nrf5340/cpunet
210          - qualifiers:
211              - nrf5340/cpuapp
212              - nrf5340/cpuapp/ns
213          - qualifiers:
214              - nrf9131
215              - nrf9131/ns
216          - qualifiers:
217              - nrf9151
218              - nrf9151/ns
219          - qualifiers:
220              - nrf9160
221              - nrf9160/ns
222          - qualifiers:
223              - nrf9161
224              - nrf9161/ns
225          - qualifiers:
226              - nrf54l05/cpuapp
227              - nrf54l05/cpuflpr
228          - qualifiers:
229              - nrf54l10/cpuapp
230              - nrf54l10/cpuflpr
231          - qualifiers:
232              - nrf54l15/cpuapp
233              - nrf54l15/cpuflpr
234          - qualifiers:
235              - nrf54h20/cpuapp
236              - nrf54h20/cpurad
237              - nrf54h20/cpuppr
238              - nrf54h20/cpuflpr
239          - qualifiers:
240              - nrf9280/cpuapp
241              - nrf9280/cpurad
242              - nrf9280/cpuppr
243