Skip to content

Commit

Permalink
Update svd2rust to version 0.32.0
Browse files Browse the repository at this point in the history
This sets `--ident-formats-theme legacy` to keep the API stable.
  • Loading branch information
jannic committed Feb 27, 2024
1 parent f31d0ee commit 79b273d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ SVDTOOLS="${SVDTOOLS:-svdtools}"

set -ex

cargo install --version 0.31.5 svd2rust
cargo install --version 0.32.0 svd2rust
cargo install --version 0.11.1 form
rustup component add rustfmt
if [ "$SVDTOOLS" == "svdtools" ]; then
Expand All @@ -25,7 +25,7 @@ fi
rm -rf src
mkdir src

svd2rust -i svd/rp2040.svd.patched --reexport-core-peripherals --reexport-interrupt
svd2rust -i svd/rp2040.svd.patched --reexport-core-peripherals --reexport-interrupt --ident-formats-theme legacy

form -i lib.rs -o src
rm lib.rs
Expand Down

0 comments on commit 79b273d

Please sign in to comment.