Skip to content

Commit 932a51a

Browse files
committed
Define the one needed struct instead of involving an stm32 crate.
The stm32h7 crate and the stm32-metapac crates are not practical given that they cause difficulties in compiling humility for multiple OS environments and they require a good bit of code to coerce into making generalized GPIO register decoding. Just define the one needed structure.
1 parent 0f648e1 commit 932a51a

File tree

4 files changed

+81
-183
lines changed

4 files changed

+81
-183
lines changed

Cargo.lock

Lines changed: 18 additions & 143 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,6 @@ serde-xml-rs = "0.5.1"
247247
sha2 = "0.10.1"
248248
splitty = "0.1.0"
249249
srec = "0.2"
250-
stm32h7 = { version = "0.14", features = ["stm32h753"] }
251250
strum = "0.22"
252251
strum_macros = "0.22"
253252
syn = "1.0"
@@ -258,7 +257,8 @@ thiserror = "1.0"
258257
toml = "0.5"
259258
trycmd = "0.13.2"
260259
winapi = "0.3.9"
261-
zerocopy = "0.6.1"
260+
zerocopy = "0.6.6"
261+
zerocopy-derive = "0.6.6"
262262
zip = "0.6.4"
263263

264264
[profile.release]

cmd/gpio/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ hif.workspace = true
99
clap.workspace = true
1010
anyhow.workspace = true
1111
parse_int.workspace = true
12-
lazy_static.workspace = true
13-
stm32h7.workspace = true
1412
zerocopy.workspace = true
1513

1614
humility-cli.workspace = true

0 commit comments

Comments
 (0)