File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ main() {
39
39
echo ' cortex-m-rt = "0.3.0"' >> $td /Cargo.toml
40
40
echo ' vcell = "0.1.0"' >> $td /Cargo.toml
41
41
echo ' msp430 = "0.1.0"' >> $td /Cargo.toml
42
+ echo ' riscv = "0.1.4"' >> $td /Cargo.toml
43
+ echo ' riscv-rt = "0.1.3"' >> $td /Cargo.toml
42
44
echo ' [profile.dev]' >> $td /Cargo.toml
43
45
echo ' incremental = false' >> $td /Cargo.toml
44
46
@@ -391,6 +393,9 @@ main() {
391
393
cd $td &&
392
394
curl -LO \
393
395
https://github.com/pftbest/msp430g2553/raw/v0.1.0/msp430g2553.svd
396
+ cd $td &&
397
+ curl -LO \
398
+ https://raw.githubusercontent.com/riscv-rust/e310x/master/e310x.svd
394
399
)
395
400
396
401
target/$TARGET /release/svd2rust --target msp430 -i $td /msp430g2553.svd | \
@@ -402,6 +407,11 @@ main() {
402
407
( rustfmt 2> /dev/null > $td /src/lib.rs || true )
403
408
404
409
cargo check --manifest-path $td /Cargo.toml
410
+
411
+ target/$TARGET /release/svd2rust --target riscv -i $td /e310x.svd | \
412
+ ( rustfmt 2> /dev/null > $td /src/lib.rs || true )
413
+
414
+ cargo check --manifest-path $td /Cargo.toml
405
415
;;
406
416
407
417
Nordic)
You can’t perform that action at this time.
0 commit comments