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