@@ -68,17 +68,13 @@ main() {
68
68
69
69
# test crate
70
70
cargo init --name foo $td
71
- echo ' cortex-m = "0.6.0"' >> $td /Cargo.toml
72
- echo ' cortex-m-rt = "0.6.9"' >> $td /Cargo.toml
71
+ echo ' cortex-m = { git = "https://github.com/rust-embedded/cortex-m.git" }' >> $td /Cargo.toml
73
72
echo ' vcell = "0.1.0"' >> $td /Cargo.toml
74
73
echo ' [profile.dev]' >> $td /Cargo.toml
75
74
echo ' incremental = false' >> $td /Cargo.toml
76
75
77
76
case $VENDOR in
78
77
Atmel)
79
- echo ' [dependencies.bare-metal]' >> $td /Cargo.toml
80
- echo ' version = "0.2.0"' >> $td /Cargo.toml
81
-
82
78
# BAD-SVD missing resetValue
83
79
# test_svd AT91SAM9CN11
84
80
# test_svd AT91SAM9CN12
@@ -162,9 +158,6 @@ main() {
162
158
;;
163
159
164
160
Freescale)
165
- echo ' [dependencies.bare-metal]' >> $td /Cargo.toml
166
- echo ' version = "0.2.0"' >> $td /Cargo.toml
167
-
168
161
# BAD-SVD bad enumeratedValue value
169
162
# test_svd MKV56F20
170
163
# test_svd MKV56F22
@@ -313,9 +306,6 @@ main() {
313
306
;;
314
307
315
308
Fujitsu)
316
- echo ' [dependencies.bare-metal]' >> $td /Cargo.toml
317
- echo ' version = "0.2.0"' >> $td /Cargo.toml
318
-
319
309
# OK
320
310
test_svd MB9AF10xN
321
311
test_svd MB9AF10xR
@@ -420,19 +410,13 @@ main() {
420
410
;;
421
411
422
412
Holtek)
423
- echo ' [dependencies.bare-metal]' >> $td /Cargo.toml
424
- echo ' version = "0.2.0"' >> $td /Cargo.toml
425
-
426
413
# OK
427
414
test_svd ht32f125x
428
415
test_svd ht32f175x
429
416
test_svd ht32f275x
430
417
;;
431
418
432
419
Nordic)
433
- echo ' [dependencies.bare-metal]' >> $td /Cargo.toml
434
- echo ' version = "0.2.0"' >> $td /Cargo.toml
435
-
436
420
# BAD-SVD two enumeratedValues have the same value
437
421
# test_svd nrf52
438
422
@@ -441,18 +425,12 @@ main() {
441
425
;;
442
426
443
427
Nuvoton)
444
- echo ' [dependencies.bare-metal]' >> $td /Cargo.toml
445
- echo ' version = "0.2.0"' >> $td /Cargo.toml
446
-
447
428
# OK
448
429
test_svd M051_Series
449
430
test_svd NUC100_Series
450
431
;;
451
432
452
433
NXP)
453
- echo ' [dependencies.bare-metal]' >> $td /Cargo.toml
454
- echo ' version = "0.2.0"' >> $td /Cargo.toml
455
-
456
434
test_svd MK22F25612
457
435
test_svd MKW41Z4
458
436
@@ -517,9 +495,6 @@ main() {
517
495
;;
518
496
519
497
SiliconLabs)
520
- echo ' [dependencies.bare-metal]' >> $td /Cargo.toml
521
- echo ' version = "0.2.0"' >> $td /Cargo.toml
522
-
523
498
# #99 regression tests
524
499
test_svd SIM3C1x4_SVD
525
500
test_svd SIM3C1x6_SVD
@@ -536,9 +511,6 @@ main() {
536
511
;;
537
512
538
513
Spansion)
539
- echo ' [dependencies.bare-metal]' >> $td /Cargo.toml
540
- echo ' version = "0.2.0"' >> $td /Cargo.toml
541
-
542
514
# OK
543
515
test_svd MB9AF12xK
544
516
test_svd MB9AF12xL
@@ -634,9 +606,6 @@ main() {
634
606
;;
635
607
636
608
STMicro)
637
- echo ' [dependencies.bare-metal]' >> $td /Cargo.toml
638
- echo ' version = "0.2.0"' >> $td /Cargo.toml
639
-
640
609
# OK
641
610
test_svd STM32F030
642
611
test_svd STM32F031x
@@ -676,9 +645,6 @@ main() {
676
645
;;
677
646
678
647
Toshiba)
679
- echo ' [dependencies.bare-metal]' >> $td /Cargo.toml
680
- echo ' version = "0.2.0"' >> $td /Cargo.toml
681
-
682
648
# BAD-SVD resetValue is bigger than the register size
683
649
# test_svd M365
684
650
# test_svd M367
0 commit comments