diff --git a/zynq7000/example.svd b/zynq7000/example.svd index 4d415ae..9e01310 100644 --- a/zynq7000/example.svd +++ b/zynq7000/example.svd @@ -43,13 +43,11 @@ - CM3 + CA9 r1p0 little true - false - 3 - false + true 8 32 @@ -752,27 +750,4 @@ - - - - TIMER1 - 0x40010100 - - TIMER1 - Timer 1 interrupt - 4 - - - - - - TIMER2 - 0x40010200 - - TIMER2 - Timer 2 interrupt - 6 - - - diff --git a/zynq7000/example.svd.tmp b/zynq7000/example.svd.tmp new file mode 100644 index 0000000..a398a40 --- /dev/null +++ b/zynq7000/example.svd.tmp @@ -0,0 +1,23 @@ + + + + TIMER1 + 0x40010100 + + TIMER1 + Timer 1 interrupt + 4 + + + + + + TIMER2 + 0x40010200 + + TIMER2 + Timer 2 interrupt + 6 + + + diff --git a/zynq7000/gen-helper.sh b/zynq7000/gen-helper.sh index c8bd783..1b1dad4 100755 --- a/zynq7000/gen-helper.sh +++ b/zynq7000/gen-helper.sh @@ -29,7 +29,7 @@ then fi # See https://github.com/rust-embedded/svd2rust/issues/830 for required re-export. -${svd2rust_bin} --reexport-interrupt --impl-defmt defmt --impl-debug-feature debug -i example.svd +${svd2rust_bin} --target --reexport-interrupt --impl-defmt defmt --impl-debug-feature debug -i example.svd result=$? if [ $result -ne 0 ]; then