Skip to content

Commit

Permalink
Consolidate imxrt-rs dependencies into workspace
Browse files Browse the repository at this point in the history
I'm preparing breaking changes in upstream packages. This'll make it
easier to update dependencies throughout the project.
  • Loading branch information
mciantyre committed Nov 10, 2024
1 parent 47bec81 commit a625a83
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
22 changes: 13 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,22 +38,18 @@ path = "teensy4-fcb"
version = "0.4"

[dependencies.imxrt-ral]
version = "0.5"
features = ["imxrt1062"]
workspace = true

[dependencies.imxrt-hal]
version = "0.5.3"
features = ["imxrt1060"]
workspace = true

[dependencies.imxrt-rt]
version = "0.1.4"
workspace = true
optional = true
features = ["device"]

[build-dependencies.imxrt-rt]
version = "0.1"
workspace = true
optional = true
features = ["device"]

[dependencies.teensy4-pins]
version = "0.3.1"
Expand All @@ -67,6 +63,14 @@ members = [
"tools",
]

[workspace.dependencies]
imxrt-boot-gen = { version = "0.3.0", features = ["imxrt1060"] }
imxrt-hal = { version = "0.5.3", features = ["imxrt1060"] }
imxrt-iomuxc = { version = "0.2.0", features = ["imxrt1060"] }
imxrt-log = { version = "0.1" }
imxrt-ral = { version = "0.5", features = ["imxrt1062"] }
imxrt-rt = { version = "0.1.4", features = ["device"] }

[features]
rt = ["dep:imxrt-rt", "imxrt-ral/rt"]

Expand All @@ -92,7 +96,7 @@ features = ["log"]
defmt = "0.3"
defmt-bbq = "0.1"
embedded-hal = "0.2"
imxrt-log = { version = "0.1", default-features = false, features = ["usbd", "log"] }
imxrt-log = { workspace = true, default-features = false, features = ["usbd", "log"] }
log = "0.4"
nb = "1"
rtic = { version = "2", features = ["thumbv7-backend"] }
Expand Down
3 changes: 1 addition & 2 deletions teensy4-fcb/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ categories.workspace = true
keywords.workspace = true

[dependencies.imxrt-boot-gen]
version = "0.3.0"
features = ["imxrt1060"]
workspace = true

[package.metadata.docs.rs]
default-target = "thumbv7em-none-eabihf"
Expand Down
3 changes: 1 addition & 2 deletions teensy4-pins/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ categories.workspace = true
keywords.workspace = true

[dependencies.imxrt-iomuxc]
version = "0.2.0"
features = ["imxrt1060"]
workspace = true

[package.metadata.docs.rs]
default-target = "thumbv7em-none-eabihf"

0 comments on commit a625a83

Please sign in to comment.