@@ -424,28 +424,6 @@ main() {
424424 test_svd ht32f275x
425425 ;;
426426
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-
449427 Nordic)
450428 echo ' [dependencies.bare-metal]' >> $td /Cargo.toml
451429 echo ' version = "0.2.0"' >> $td /Cargo.toml
@@ -508,6 +486,33 @@ main() {
508486 # test_svd LPC5410x_v0.4
509487 ;;
510488
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+
511516 SiliconLabs)
512517 echo ' [dependencies.bare-metal]' >> $td /Cargo.toml
513518 echo ' version = "0.2.0"' >> $td /Cargo.toml
0 commit comments