@@ -424,28 +424,6 @@ main() {
424
424
test_svd ht32f275x
425
425
;;
426
426
427
- # test other targets (architectures)
428
- OTHER)
429
- echo ' [dependencies.bare-metal]' >> $td /Cargo.toml
430
- echo ' version = "0.1.0"' >> $td /Cargo.toml
431
-
432
- echo ' [dependencies.msp430]' >> $td /Cargo.toml
433
- echo ' version = "0.1.0"' >> $td /Cargo.toml
434
-
435
- echo ' [dependencies.riscv]' >> $td /Cargo.toml
436
- echo ' version = "0.5.0"' >> $td /Cargo.toml
437
-
438
- echo ' [dependencies.riscv-rt]' >> $td /Cargo.toml
439
- echo ' version = "0.6.0"' >> $td /Cargo.toml
440
-
441
- # Test MSP430
442
- test_svd_for_target msp430 https://github.com/pftbest/msp430g2553/raw/v0.1.0/msp430g2553.svd
443
-
444
- # Test RISC-V chips
445
- test_svd_for_target riscv https://raw.githubusercontent.com/riscv-rust/e310x/master/e310x.svd
446
- test_svd_for_target riscv https://raw.githubusercontent.com/riscv-rust/k210-pac/master/k210.svd
447
- ;;
448
-
449
427
Nordic)
450
428
echo ' [dependencies.bare-metal]' >> $td /Cargo.toml
451
429
echo ' version = "0.2.0"' >> $td /Cargo.toml
@@ -508,6 +486,33 @@ main() {
508
486
# test_svd LPC5410x_v0.4
509
487
;;
510
488
489
+ # test other targets (architectures)
490
+ OTHER)
491
+ echo ' [dependencies.bare-metal]' >> $td /Cargo.toml
492
+ echo ' version = "0.1.0"' >> $td /Cargo.toml
493
+
494
+ echo ' [dependencies.msp430]' >> $td /Cargo.toml
495
+ echo ' version = "0.1.0"' >> $td /Cargo.toml
496
+
497
+ # Test MSP430
498
+ test_svd_for_target msp430 https://github.com/pftbest/msp430g2553/raw/v0.1.0/msp430g2553.svd
499
+ ;;
500
+
501
+ # Community-provided RISC-V SVDs
502
+ RISC-V)
503
+ echo ' [dependencies.bare-metal]' >> $td /Cargo.toml
504
+ echo ' version = "0.2.0"' >> $td /Cargo.toml
505
+
506
+ echo ' [dependencies.riscv]' >> $td /Cargo.toml
507
+ echo ' version = "0.5.0"' >> $td /Cargo.toml
508
+
509
+ echo ' [dependencies.riscv-rt]' >> $td /Cargo.toml
510
+ echo ' version = "0.6.0"' >> $td /Cargo.toml
511
+
512
+ test_svd_for_target riscv https://raw.githubusercontent.com/riscv-rust/e310x/master/e310x.svd
513
+ test_svd_for_target riscv https://raw.githubusercontent.com/riscv-rust/k210-pac/master/k210.svd
514
+ ;;
515
+
511
516
SiliconLabs)
512
517
echo ' [dependencies.bare-metal]' >> $td /Cargo.toml
513
518
echo ' version = "0.2.0"' >> $td /Cargo.toml
0 commit comments