msp430_svd
msp430_svd copied to clipboard
I am getting this error when trying to generate the svd for the msp430g2553 used in the example. I am new to rust and not sure how to fix this....
We really should do more than `unwrap`. And return actual proper error information. I like using [`eyre`](https://github.com/yaahc/eyre), an `anyhow` variant that can be customized. There are a number of sites...
SVDs generated currently a byte-wise size of 2; they need to have a bit-wise size of 16. see also https://github.com/pftbest/msp430g2553/issues/6.
If you generate an SVD file using `msp430_svd`, there are some registers which are missing fields completely (`TAIV` timer register), and others where fields aren't documented (Watchdog timer password). This...
Leaving this here for later. According to ARM's [Schema](https://github.com/ARM-software/CMSIS_5/blob/develop/CMSIS/Utilities/CMSIS-SVD.xsd#L589-L591) for SVD: > registers section contains all registers owned by the peripheral. In case a peripheral gets derived it does not...
According to the [datasheet](http://www.ti.com/lit/ds/symlink/msp430fr2355.pdf), MSP430FR2355 has only 6 GPIO ports. However, the [XML description](https://github.com/pftbest/msp430_svd/blob/master/msp430-gcc-support-files/targetdb/devices/MSP430FR2355.xml) in the repo has ports P1 to P10. This leads to incorrect SVD files being generated,...
You can run the tool for each MCU in the database using this command: ```bash for i in msp430-gcc-support-files/targetdb/devices/*.xml; do j=${i%.*}; k=${j##*/}; echo $k; cargo run --release $k >/dev/null; done...
Fixes #23. @mib383, can you confirm this PR fixes your issue?
E:\downloads\chrome\msp430_svd-master\clone\msp430_svd>cargo run -- msp430f47187 > msp430f47187.svd Finished dev [unoptimized + debuginfo] target(s) in 0.16s Running `target\debug\msp430gen.exe msp430f47187` erasing PBIN (keeping P9IN) erasing PBOUT (keeping P9OUT) erasing PBDIR (keeping P9DIR) erasing...