Rerun parse.py
This commit is contained in:
parent
d9708f6bfc
commit
63d1af4eca
@ -6,7 +6,7 @@ board=$1
|
||||
peri=$2
|
||||
mkdir -p regs/$peri
|
||||
|
||||
cargo build --release --manifest-path ../../svd2rust/Cargo.toml
|
||||
cargo build --release --manifest-path ../../svd4rust/Cargo.toml
|
||||
|
||||
transform="transform.yaml"
|
||||
|
||||
@ -28,7 +28,7 @@ for f in `ls $query`; do
|
||||
f=${f#"stm32"}
|
||||
f=${f%".svd"}
|
||||
echo -n processing $f ...
|
||||
RUST_LOG=info ../../svd2rust/target/release/svd4rust extract-peripheral --svd sources/svd/stm32$f.svd --transform $transform --peripheral $peri > regs/$peri/$f.yaml 2> regs/$peri/$f.yaml.out
|
||||
RUST_LOG=info ../../svd4rust/target/release/svd4rust extract-peripheral --svd sources/svd/stm32$f.svd --transform $transform --peripheral $peri > regs/$peri/$f.yaml 2> regs/$peri/$f.yaml.out
|
||||
if [ $? -ne 0 ]; then
|
||||
mv regs/$peri/$f.yaml.out regs/$peri/$f.err
|
||||
rm regs/$peri/$f.yaml
|
||||
|
Loading…
x
Reference in New Issue
Block a user