aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: d42b128a2f22b6d9b9d4021469f9f7183dd3aaef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[workspace]
resolver = "3"
members = ["crates/*"]

[workspace.dependencies]
rust-threadx-cortex-m = { path = "crates/cortex-m" }
rust-threadx-imxrt = { path = "crates/imxrt" }
rust-threadx-net-phys = { path = "crates/net-phys" }
rust-threadx-qemu = { path = "crates/qemu" }
rust-threadx-stdio-imxrt-usbd = { path = "crates/stdio-imxrt-usbd" }
rust-threadx-stdio-semihosting = { path = "crates/stdio-semihosting" }

cortex-m = { version = "0.7" }
cortex-m-rt = { version = "0.7" }
cortex-m-semihosting = { version = "0.5" }
lm3s6965 = "0.2"

imxrt-ral = { version = "0.6.2", features = ["rt"] }
imxrt-rt = { version = "0.1.8", features = ["device"] }

imxrt-drivers-enet = { git = "https://git.mciantyre.dev/imxrt-drivers" }
imxrt-drivers-gpio = { git = "https://git.mciantyre.dev/imxrt-drivers" }
imxrt1170 = { git = "https://git.mciantyre.dev/imxrt-drivers" }

ral-registers = { version = "0.2" }

[patch.crates-io]
cortex-m = { git = "https://github.com/rust-embedded/cortex-m", rev = "8c62cc47314445346851b0d0664f9cc34c50b24d" }
imxrt-ral = {
  git = "https://github.com/mciantyre/imxrt-ral",
  branch = "rust-threadx",
}
imxrt-rt = {
  git = "https://github.com/mciantyre/imxrt-rt",
  branch = "rust-threadx",
}
teensy4-fcb = {
  git = "https://github.com/mciantyre/teensy4-rs",
  branch = "rust-threadx",
}
teensy4-bsp = {
  git = "https://github.com/mciantyre/teensy4-rs",
  branch = "rust-threadx",
}

[patch.crates-io.ral-registers-0x2]
package = "ral-registers"
git = "https://git.mciantyre.dev/ral-registers"
branch = "v0.2"

[profile.release]
opt-level = "s"