Skip to content

Commit 5ed5808

Browse files
committed
Add support for <cluster> tags to svd2rust.
Cluster tags result in a struct definition that contains each of the children of that cluster. The children within a module of a type named after the cluster.
1 parent 7774294 commit 5ed5808

File tree

4 files changed

+368
-101
lines changed

4 files changed

+368
-101
lines changed

Cargo.lock

Lines changed: 75 additions & 46 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
@@ -17,10 +17,10 @@ either = "1.0.3"
1717
error-chain = "0.10.0"
1818
inflections = "1.1.0"
1919
quote = "0.3.15"
20-
svd-parser = "0.5.2"
20+
svd-parser = "0.6.0"
2121
syn = "0.11.9"
2222

2323
[[bin]]
2424
doc = false
2525
name = "svd2rust"
26-
path = "src/main.rs"
26+
path = "src/main.rs"

0 commit comments

Comments
 (0)