File tree Expand file tree Collapse file tree 1 file changed +78
-70
lines changed Expand file tree Collapse file tree 1 file changed +78
-70
lines changed Original file line number Diff line number Diff line change 11set -ex
2+ set -o pipefail
23
34test_svd () {
45 curl -L \
56 https://raw.githubusercontent.com/posborne/cmsis-svd/python-0.4/data/$VENDOR /${1} .svd \
67 > $td /${1} .svd
7- target/$TARGET /release/svd2rust -i $td /${1} .svd | rustfmt 2> /dev/null > $td /src/lib.rs
8+ # we care about errors in svd2rust, but not about errors / warnings in rustfmt
9+ target/$TARGET /release/svd2rust -i $td /${1} .svd | ( rustfmt 2> /dev/null > $td /src/lib.rs || true )
10+
811 cargo check --manifest-path $td /Cargo.toml
912}
1013
@@ -121,6 +124,9 @@ main() {
121124 # FIXME(#105) "error[E0428]: a type named `NOT_USEDR` has already been defined in this module"
122125 # test_svd MK61F15
123126 # test_svd MK61F15WS
127+ # test_svd MK70F12
128+ # test_svd MK70F15
129+ # test_svd MK70F15WS
124130
125131 # OK
126132 # test_svd MK02F12810
@@ -173,75 +179,77 @@ main() {
173179 # TODO remove
174180 set +e
175181
176- test_svd MK60DZ10
177- test_svd MK60F15
178-
179- test_svd MK63F12
180- test_svd MK64F12
181- test_svd MK65F18
182- test_svd MK66F18
183- test_svd MK70F12
184- test_svd MK70F15
185- test_svd MK70F15WS
186- test_svd MK80F25615
187- test_svd MK81F25615
188- test_svd MK82F25615
189- test_svd MKE02Z2
190- test_svd MKE02Z4
191- test_svd MKE04Z1284
192- test_svd MKE04Z4
193- test_svd MKE06Z4
194- test_svd MKE14D7
195- test_svd MKE14F16
196- test_svd MKE14Z7
197- test_svd MKE15D7
198- test_svd MKE15Z7
199- test_svd MKE16F16
200- test_svd MKE18F16
201- test_svd MKL02Z4
202- test_svd MKL03Z4
203- test_svd MKL04Z4
204- test_svd MKL05Z4
205- test_svd MKL13Z644
206- test_svd MKL14Z4
207- test_svd MKL15Z4
208- test_svd MKL16Z4
209- test_svd MKL17Z4
210- test_svd MKL17Z644
211- test_svd MKL24Z4
212- test_svd MKL25Z4
213- test_svd MKL26Z4
214- test_svd MKL27Z4
215- test_svd MKL27Z644
216- test_svd MKL28T7_CORE0
217- test_svd MKL28T7_CORE1
218- test_svd MKL28Z7
219- test_svd MKL33Z4
220- test_svd MKL33Z644
221- test_svd MKL34Z4
222- test_svd MKL36Z4
223- test_svd MKL43Z4
224- test_svd MKL46Z4
225- test_svd MKL81Z7
226- test_svd MKL82Z7
227- test_svd MKM14ZA5
228- test_svd MKM33ZA5
229- test_svd MKM34Z7
230- test_svd MKM34ZA5
231- test_svd MKS22F12
232- test_svd MKV10Z1287
233- test_svd MKV10Z7
234- test_svd MKV11Z7
235- test_svd MKV30F12810
236- test_svd MKV31F12810
237- test_svd MKV31F25612
238- test_svd MKV31F51212
239- test_svd MKV40F15
240- test_svd MKV42F16
241- test_svd MKV43F15
242- test_svd MKV44F15
243- test_svd MKV44F16
244- test_svd MKV45F15
182+ # OK
183+ # test_svd MK60DZ10
184+ # test_svd MK60F15
185+ # test_svd MK63F12
186+ # test_svd MK64F12
187+ # test_svd MK65F18
188+ # test_svd MK66F18
189+ # test_svd MK80F25615
190+ # test_svd MK81F25615
191+ # test_svd MK82F25615
192+
193+ # FIXME(#92) "duplicate definitions with name `bits`"
194+ # test_svd MKE02Z2
195+ # test_svd MKE02Z4
196+ # test_svd MKE04Z1284
197+ # test_svd MKE04Z4
198+ # test_svd MKE06Z4
199+ # test_svd MKE14D7
200+ # test_svd MKE15D7
201+ # test_svd MKL02Z4
202+ # test_svd MKL03Z4
203+ # test_svd MKL04Z4
204+ # test_svd MKL05Z4
205+ # test_svd MKL13Z644
206+ # test_svd MKL14Z4
207+ # test_svd MKL15Z4
208+ # test_svd MKL16Z4
209+ # test_svd MKL17Z4
210+ # test_svd MKL17Z644
211+ # test_svd MKL24Z4
212+ # test_svd MKL25Z4
213+ # test_svd MKL26Z4
214+ # test_svd MKL27Z4
215+ # test_svd MKL27Z644
216+ # test_svd MKL33Z4
217+ # test_svd MKL33Z644
218+ # test_svd MKL34Z4
219+ # test_svd MKL36Z4
220+ # test_svd MKL43Z4
221+ # test_svd MKL46Z4
222+ # test_svd MKM14ZA5
223+ # test_svd MKM33ZA5
224+ # test_svd MKM34Z7
225+ # 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+
245253 test_svd MKV46F15
246254 test_svd MKV46F16
247255 test_svd MKV56F20
You can’t perform that action at this time.
0 commit comments