Skip to content

Commit

Permalink
update chiptool
Browse files Browse the repository at this point in the history
  • Loading branch information
Dirbaio committed Feb 16, 2024
1 parent 87b06ba commit 6097928
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions d
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ case "$CMD" in
fi
done
;;
gen)
rm -rf build/data
cargo run --release --bin stm32-data-gen
;;
ci)
[ -d sources ] || ./d download-all
cd ./sources/
Expand All @@ -54,6 +58,8 @@ case "$CMD" in
cd build/stm32-metapac
find . -name '*.rs' -not -path '*target*' | xargs rustfmt --skip-children --unstable-features --edition 2021
cargo check --features stm32h755zi-cm7,pac,metadata
cargo check --features stm32f777zi,pac
cargo check --features stm32u585zi,metadata
;;
*)
echo "unknown command"
Expand Down
2 changes: 1 addition & 1 deletion stm32-data-gen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ quick-xml = { version = "0.26.0", features = ["serialize"] }
regex = "1.7.1"
serde = { version = "1.0.157", features = ["derive"] }
serde_yaml = "0.9.19"
chiptool = { git = "https://github.com/embassy-rs/chiptool", rev="689341ad3437280d3553cef319d1e77470f2e704" }
chiptool = { git = "https://github.com/embassy-rs/chiptool", rev="247ccbe44669ac716393247e56693a396e641e4a" }
serde_json = "1.0.94"
rayon = { version = "1.7.0", optional = true }
stm32-data-serde = { version = "0.1.0", path = "../stm32-data-serde" }
Expand Down
2 changes: 1 addition & 1 deletion stm32-metapac-gen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = "MIT OR Apache-2.0"

[dependencies]
regex = "1.7.1"
chiptool = { git = "https://github.com/embassy-rs/chiptool", rev="689341ad3437280d3553cef319d1e77470f2e704" }
chiptool = { git = "https://github.com/embassy-rs/chiptool", rev="247ccbe44669ac716393247e56693a396e641e4a" }
serde = { version = "1.0.157", features = [ "derive" ] }
serde_json = "1.0.94"
proc-macro2 = "1.0.52"
Expand Down

0 comments on commit 6097928

Please sign in to comment.