File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -427,9 +427,12 @@ main() {
427
427
cd $td &&
428
428
curl -LO \
429
429
https://github.com/pftbest/msp430g2553/raw/v0.1.0/msp430g2553.svd
430
- cd $td &&
431
- curl -LO \
432
- https://raw.githubusercontent.com/riscv-rust/e310x/master/e310x.svd
430
+ cd $td &&
431
+ curl -LO \
432
+ https://raw.githubusercontent.com/riscv-rust/e310x/master/e310x.svd
433
+ cd $td &&
434
+ curl -LO \
435
+ https://raw.githubusercontent.com/riscv-rust/k210-pac/master/k210.svd
433
436
)
434
437
435
438
local cwd=$( pwd)
@@ -445,7 +448,7 @@ main() {
445
448
446
449
cargo check --manifest-path $td /Cargo.toml
447
450
448
- # Test RISC-V
451
+ # Test RISC-V FE310
449
452
pushd $td
450
453
451
454
$cwd /target/$TARGET /release/svd2rust --target riscv -i $td /e310x.svd
@@ -455,6 +458,17 @@ main() {
455
458
popd
456
459
457
460
cargo check --manifest-path $td /Cargo.toml
461
+
462
+ # Test RISC-V K210
463
+ pushd $td
464
+
465
+ $cwd /target/$TARGET /release/svd2rust --target riscv -i $td /k210.svd
466
+ mv $td /lib.rs $td /src/lib.rs
467
+ rustfmt $td /src/lib.rs || true
468
+
469
+ popd
470
+
471
+ cargo check --manifest-path $td /Cargo.toml
458
472
;;
459
473
460
474
Nordic)
You can’t perform that action at this time.
0 commit comments