Skip to content

Commit f993703

Browse files
committed
almost done I think
1 parent 4b4c6e0 commit f993703

File tree

1 file changed

+130
-141
lines changed

1 file changed

+130
-141
lines changed

ci/script.sh

Lines changed: 130 additions & 141 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,6 @@ main() {
101101

102102
# FIXME(???) "failed to resolve. Use of undeclared type or module `sercom0`"
103103
# test_svd ATSAMD21E15A
104-
105-
# FIXME(???) "failed to resolve. Use of undeclared type or module `sercom0`"
106104
# test_svd ATSAMD21E16A
107105
# test_svd ATSAMD21E17A
108106
# test_svd ATSAMD21E18A
@@ -121,74 +119,113 @@ main() {
121119
;;
122120

123121
Freescale)
124-
# FIXME(#105) "error[E0428]: a type named `NOT_USEDR` has already been defined in this module"
125-
# test_svd MK61F15
126-
# test_svd MK61F15WS
127-
# test_svd MK70F12
128-
# test_svd MK70F15
129-
# test_svd MK70F15WS
122+
# BAD-SVD bad enumeratedValue value
123+
# test_svd MKV56F20
124+
# test_svd MKV56F22
125+
# test_svd MKV56F24
126+
# test_svd MKV58F20
127+
# test_svd MKV58F22
128+
# test_svd MKV58F24
130129

131130
# OK
132-
# test_svd MK02F12810
131+
# NOTE it would take too long to test all these so we only test half
132+
test_svd MK02F12810
133133
# test_svd MK10D10
134-
# test_svd MK10D5
134+
test_svd MK10D5
135135
# test_svd MK10D7
136-
# test_svd MK10DZ10
136+
test_svd MK10DZ10
137137
# test_svd MK10F12
138-
# test_svd MK11D5
138+
test_svd MK11D5
139139
# test_svd MK11D5WS
140-
# test_svd MK11DA5
140+
test_svd MK11DA5
141141
# test_svd MK12D5
142-
# test_svd MK20D10
142+
test_svd MK20D10
143143
# test_svd MK20D5
144-
# test_svd MK20D7
144+
test_svd MK20D7
145145
# test_svd MK20DZ10
146-
# test_svd MK20F12
146+
test_svd MK20F12
147147
# test_svd MK21D5
148-
# test_svd MK21D5WS
148+
test_svd MK21D5WS
149149
# test_svd MK21DA5
150-
# test_svd MK21F12
150+
test_svd MK21F12
151151
# test_svd MK21FA12
152-
# test_svd MK22D5
153-
# test_svd MK22F12810
152+
test_svd MK22D5
154153
# test_svd MK22F12
154+
test_svd MK22F12810
155155
# test_svd MK22F25612
156-
# test_svd MK22F51212
156+
test_svd MK22F51212
157157
# test_svd MK22FA12
158-
# test_svd MK24F12
158+
test_svd MK24F12
159159
# test_svd MK24F25612
160-
# test_svd MK26F18
160+
test_svd MK26F18
161161
# test_svd MK30D10
162-
# test_svd MK30D7
162+
test_svd MK30D7
163163
# test_svd MK30DZ10
164-
# test_svd MK40D10
164+
test_svd MK40D10
165165
# test_svd MK40D7
166-
# test_svd MK40DZ10
166+
test_svd MK40DZ10
167167
# test_svd MK50D10
168-
# test_svd MK50D7
168+
test_svd MK50D7
169169
# test_svd MK50DZ10
170-
# test_svd MK51D10
170+
test_svd MK51D10
171171
# test_svd MK51D7
172-
# test_svd MK51DZ10
172+
test_svd MK51DZ10
173173
# test_svd MK52D10
174-
# test_svd MK52DZ10
174+
test_svd MK52DZ10
175175
# test_svd MK53D10
176-
# test_svd MK53DZ10
176+
test_svd MK53DZ10
177177
# test_svd MK60D10
178-
179-
# TODO remove
180-
set +e
181-
182-
# OK
183-
# test_svd MK60DZ10
178+
test_svd MK60DZ10
184179
# test_svd MK60F15
185-
# test_svd MK63F12
180+
test_svd MK63F12
186181
# test_svd MK64F12
187-
# test_svd MK65F18
182+
test_svd MK65F18
188183
# test_svd MK66F18
189-
# test_svd MK80F25615
184+
test_svd MK80F25615
190185
# test_svd MK81F25615
191-
# test_svd MK82F25615
186+
test_svd MK82F25615
187+
# test_svd MKE14F16
188+
test_svd MKE14Z7
189+
# test_svd MKE15Z7
190+
test_svd MKE16F16
191+
# test_svd MKE18F16
192+
test_svd MKL28T7_CORE0
193+
# test_svd MKL28T7_CORE1
194+
test_svd MKL28Z7
195+
# test_svd MKL81Z7
196+
test_svd MKL82Z7
197+
# test_svd MKS22F12
198+
test_svd MKV10Z1287
199+
# test_svd MKV10Z7
200+
test_svd MKV11Z7
201+
# test_svd MKV30F12810
202+
test_svd MKV31F12810
203+
# test_svd MKV31F25612
204+
test_svd MKV31F51212
205+
# test_svd MKV40F15
206+
test_svd MKV42F16
207+
# test_svd MKV43F15
208+
test_svd MKV44F15
209+
# test_svd MKV44F16
210+
test_svd MKV45F15
211+
# test_svd MKV46F15
212+
test_svd MKV46F16
213+
# test_svd MKW20Z4
214+
test_svd MKW21D5
215+
# test_svd MKW21Z4
216+
test_svd MKW22D5
217+
# test_svd MKW24D5
218+
test_svd MKW30Z4
219+
# test_svd MKW31Z4
220+
test_svd MKW40Z4
221+
# test_svd MKW41Z4
222+
223+
# FIXME(#105) "error[E0428]: a type named `NOT_USEDR` has already been defined in this module"
224+
# test_svd MK61F15
225+
# test_svd MK61F15WS
226+
# test_svd MK70F12
227+
# test_svd MK70F15
228+
# test_svd MK70F15WS
192229

193230
# FIXME(#92) "duplicate definitions with name `bits`"
194231
# test_svd MKE02Z2
@@ -223,60 +260,14 @@ main() {
223260
# test_svd MKM33ZA5
224261
# test_svd MKM34Z7
225262
# test_svd MKM34ZA5
226-
227-
# OK
228-
# test_svd MKE14F16
229-
# test_svd MKE14Z7
230-
# test_svd MKE15Z7
231-
# test_svd MKE16F16
232-
# test_svd MKE18F16
233-
# test_svd MKL28T7_CORE0
234-
# test_svd MKL28T7_CORE1
235-
# test_svd MKL28Z7
236-
# test_svd MKL81Z7
237-
# test_svd MKL82Z7
238-
# test_svd MKS22F12
239-
# test_svd MKV10Z1287
240-
# test_svd MKV10Z7
241-
# test_svd MKV11Z7
242-
# test_svd MKV30F12810
243-
# test_svd MKV31F12810
244-
# test_svd MKV31F25612
245-
# test_svd MKV31F51212
246-
# test_svd MKV40F15
247-
# test_svd MKV42F16
248-
# test_svd MKV43F15
249-
# test_svd MKV44F15
250-
# test_svd MKV44F16
251-
# test_svd MKV45F15
252-
253-
test_svd MKV46F15
254-
test_svd MKV46F16
255-
test_svd MKV56F20
256-
test_svd MKV56F22
257-
test_svd MKV56F24
258-
test_svd MKV58F20
259-
test_svd MKV58F22
260-
test_svd MKV58F24
261-
test_svd MKW01Z4
262-
test_svd MKW20Z4
263-
test_svd MKW21D5
264-
test_svd MKW21Z4
265-
test_svd MKW22D5
266-
test_svd MKW24D5
267-
test_svd MKW30Z4
268-
test_svd MKW31Z4
269-
test_svd MKW40Z4
270-
test_svd MKW41Z4
271-
test_svd SKEAZ1284
272-
test_svd SKEAZN642
273-
test_svd SKEAZN84
274-
275-
set -e
276-
exit 1
263+
# test_svd MKW01Z4
264+
# test_svd SKEAZ1284
265+
# test_svd SKEAZN642
266+
# test_svd SKEAZN84
277267
;;
278268

279269
Fujitsu)
270+
# OK
280271
test_svd MB9AF10xN
281272
test_svd MB9AF10xR
282273
test_svd MB9AF11xK
@@ -380,37 +371,27 @@ main() {
380371
;;
381372

382373
Holtek)
374+
# OK
383375
test_svd ht32f125x
384376
test_svd ht32f175x
385377
test_svd ht32f275x
386378
;;
387379

388380
Nordic)
389-
test_svd nrf51
390-
391381
# BAD-SVD two enumeratedValues have the same value
392382
# test_svd nrf52
383+
384+
# OK
385+
test_svd nrf51
393386
;;
394387

395388
Nuvoton)
389+
# OK
396390
test_svd M051_Series
397391
test_svd NUC100_Series
398392
;;
399393

400394
NXP)
401-
# FIXME(???) "expected identifier, found `_`"
402-
# test_svd LPC1102_4_v4
403-
404-
test_svd LPC11Axxv0.6
405-
406-
# FIXME(???) "a type named `RESERVED_` has already been defined in this enum"
407-
# test_svd LPC11Cxx_v9
408-
409-
# FIXME(???) "expected one of `(`, `,`, `=`, `{`, or `}`, found `.``)`"
410-
# test_svd LPC11D14_svd_v4
411-
412-
test_svd LPC11E6x_v0.8
413-
414395
# BAD-SVD two enumeratedValues have the same name
415396
# test_svd LPC11Exx_v5
416397
# test_svd LPC11Uxx_v7
@@ -420,23 +401,28 @@ main() {
420401
# test_svd LPC15xx_v0.7
421402
# test_svd LPC800_v0.3
422403

423-
# FIXME(???) "expected one of `(`, `,`, `=`, `{`, or `}`, found `.``)`"
424-
# test_svd LPC13xx_svd_v1
425-
426-
test_svd LPC176x5x_v0.2
427-
428404
# BAD-SVD missing resetValue
429405
# test_svd LPC178x_7x
430406
# test_svd LPC178x_7x_v0.8
431407
# test_svd LPC408x_7x_v0.7
432408

433-
# FIXME(???) "expected one of `(`, `,`, `=`, `{`, or `}`, found `.``)`"
434-
# test_svd LPC18xx_svd_v18
409+
# OK
410+
test_svd LPC11Axxv0.6
411+
test_svd LPC11E6x_v0.8
412+
test_svd LPC176x5x_v0.2
413+
test_svd LPC5410x_v0.4
414+
415+
# FIXME(???) "expected identifier, found `_`"
416+
# test_svd LPC1102_4_v4
417+
418+
# FIXME(???) "a type named `RESERVED_` has already been defined in this enum"
419+
# test_svd LPC11Cxx_v9
435420

436421
# FIXME(???) "expected one of `(`, `,`, `=`, `{`, or `}`, found `.``)`"
422+
# test_svd LPC11D14_svd_v4
423+
# test_svd LPC13xx_svd_v1
424+
# test_svd LPC18xx_svd_v18
437425
# test_svd LPC43xx_svd_v5
438-
439-
test_svd LPC5410x_v0.4
440426
;;
441427

442428
SiliconLabs)
@@ -454,6 +440,25 @@ main() {
454440
;;
455441

456442
Spansion)
443+
# OK
444+
test_svd MB9AF12xK
445+
test_svd MB9AF12xL
446+
test_svd MB9AF42xK
447+
test_svd MB9AF42xL
448+
test_svd MB9BF12xJ
449+
test_svd MB9BF12xS
450+
test_svd MB9BF12xT
451+
test_svd MB9BF16xx
452+
test_svd MB9BF32xS
453+
test_svd MB9BF32xT
454+
test_svd MB9BF36xx
455+
test_svd MB9BF42xS
456+
test_svd MB9BF42xT
457+
test_svd MB9BF46xx
458+
test_svd MB9BF52xS
459+
test_svd MB9BF52xT
460+
test_svd MB9BF56xx
461+
457462
# FIXME(#102) "binary operation `>>` cannot be applied to type `bool`"
458463
# test_svd MB9AF10xN
459464
# test_svd MB9AF10xR
@@ -526,34 +531,10 @@ main() {
526531
# test_svd MB9BF61xT
527532
# test_svd MB9BFD1xS
528533
# test_svd MB9BFD1xT
529-
530-
test_svd MB9AF12xK
531-
test_svd MB9AF12xL
532-
test_svd MB9AF42xK
533-
test_svd MB9AF42xL
534-
test_svd MB9BF12xJ
535-
test_svd MB9BF12xS
536-
test_svd MB9BF12xT
537-
test_svd MB9BF16xx
538-
test_svd MB9BF32xS
539-
test_svd MB9BF32xT
540-
test_svd MB9BF36xx
541-
test_svd MB9BF42xS
542-
test_svd MB9BF42xT
543-
test_svd MB9BF46xx
544-
test_svd MB9BF52xS
545-
test_svd MB9BF52xT
546-
test_svd MB9BF56xx
547534
;;
548535

549536
STMicro)
550-
# FIXME(???) "field is never used: `register`"
551-
# test_svd STM32L051x
552-
# test_svd STM32L052x
553-
# test_svd STM32L053x
554-
# test_svd STM32L062x
555-
# test_svd STM32L063x
556-
537+
# OK
557538
test_svd STM32F030
558539
test_svd STM32F031x
559540
test_svd STM32F042x
@@ -593,6 +574,13 @@ main() {
593574
test_svd STM32L1xx
594575
test_svd STM32L4x6
595576
test_svd STM32W108
577+
578+
# FIXME(???) "field is never used: `register`"
579+
# test_svd STM32L051x
580+
# test_svd STM32L052x
581+
# test_svd STM32L053x
582+
# test_svd STM32L062x
583+
# test_svd STM32L063x
596584
;;
597585

598586
Toshiba)
@@ -603,6 +591,7 @@ main() {
603591
# test_svd M369
604592
# test_svd M36B
605593

594+
# OK
606595
test_svd M061
607596
;;
608597
esac

0 commit comments

Comments
 (0)