start simplifying
This commit is contained in:
parent
9a9e01dc01
commit
b701879ea9
@ -43,13 +43,11 @@
|
|||||||
<licenseText> <!-- this license text will appear in header file. \n force line breaks -->
|
<licenseText> <!-- this license text will appear in header file. \n force line breaks -->
|
||||||
</licenseText>
|
</licenseText>
|
||||||
<cpu> <!-- details about the cpu embedded in the device -->
|
<cpu> <!-- details about the cpu embedded in the device -->
|
||||||
<name>CM3</name>
|
<name>CA9</name>
|
||||||
<revision>r1p0</revision>
|
<revision>r1p0</revision>
|
||||||
<endian>little</endian>
|
<endian>little</endian>
|
||||||
<mpuPresent>true</mpuPresent>
|
<mpuPresent>true</mpuPresent>
|
||||||
<fpuPresent>false</fpuPresent>
|
<fpuPresent>true</fpuPresent>
|
||||||
<nvicPrioBits>3</nvicPrioBits>
|
|
||||||
<vendorSystickConfig>false</vendorSystickConfig>
|
|
||||||
</cpu>
|
</cpu>
|
||||||
<addressUnitBits>8</addressUnitBits> <!-- byte addressable memory -->
|
<addressUnitBits>8</addressUnitBits> <!-- byte addressable memory -->
|
||||||
<width>32</width> <!-- bus width is 32 bits -->
|
<width>32</width> <!-- bus width is 32 bits -->
|
||||||
@ -752,27 +750,4 @@
|
|||||||
</register>
|
</register>
|
||||||
</registers>
|
</registers>
|
||||||
</peripheral>
|
</peripheral>
|
||||||
|
|
||||||
<!-- Timer 1 -->
|
|
||||||
<peripheral derivedFrom="TIMER0">
|
|
||||||
<name>TIMER1</name>
|
|
||||||
<baseAddress>0x40010100</baseAddress>
|
|
||||||
<interrupt>
|
|
||||||
<name>TIMER1</name>
|
|
||||||
<description>Timer 1 interrupt</description>
|
|
||||||
<value>4</value>
|
|
||||||
</interrupt>
|
|
||||||
</peripheral>
|
|
||||||
|
|
||||||
<!-- Timer 2 -->
|
|
||||||
<peripheral derivedFrom="TIMER0">
|
|
||||||
<name>TIMER2</name>
|
|
||||||
<baseAddress>0x40010200</baseAddress>
|
|
||||||
<interrupt>
|
|
||||||
<name>TIMER2</name>
|
|
||||||
<description>Timer 2 interrupt</description>
|
|
||||||
<value>6</value>
|
|
||||||
</interrupt>
|
|
||||||
</peripheral>
|
|
||||||
</peripherals>
|
|
||||||
</device>
|
</device>
|
||||||
|
23
zynq7000/example.svd.tmp
Normal file
23
zynq7000/example.svd.tmp
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
|
||||||
|
<!-- Timer 1 -->
|
||||||
|
<peripheral derivedFrom="TIMER0">
|
||||||
|
<name>TIMER1</name>
|
||||||
|
<baseAddress>0x40010100</baseAddress>
|
||||||
|
<interrupt>
|
||||||
|
<name>TIMER1</name>
|
||||||
|
<description>Timer 1 interrupt</description>
|
||||||
|
<value>4</value>
|
||||||
|
</interrupt>
|
||||||
|
</peripheral>
|
||||||
|
|
||||||
|
<!-- Timer 2 -->
|
||||||
|
<peripheral derivedFrom="TIMER0">
|
||||||
|
<name>TIMER2</name>
|
||||||
|
<baseAddress>0x40010200</baseAddress>
|
||||||
|
<interrupt>
|
||||||
|
<name>TIMER2</name>
|
||||||
|
<description>Timer 2 interrupt</description>
|
||||||
|
<value>6</value>
|
||||||
|
</interrupt>
|
||||||
|
</peripheral>
|
||||||
|
</peripherals>
|
@ -29,7 +29,7 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# See https://github.com/rust-embedded/svd2rust/issues/830 for required re-export.
|
# 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=$?
|
result=$?
|
||||||
if [ $result -ne 0 ]; then
|
if [ $result -ne 0 ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user