-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
46 lines (39 loc) · 1.21 KB
/
Cargo.toml
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
[package]
name = "linear-firmware"
version = "0.1.0"
license = "Apache-2.0"
authors = ["Ben Wang <wangben3@gmail.com>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[workspace]
members = ["lib/foc", "host", "lib/encoder", "lib/config"]
[dependencies]
heapless = "0.7.5"
usb-device = "0.2.5"
usbd-serial = "0.1.0"
micromath = "2"
cortex-m-rtic = "1.0"
cortex-m = "0.7"
dwt-systick-monotonic = "1.0"
rtt-target = { version = "0.3.1", features = ["cortex-m"] }
panic-rtt-target = { version = "0.1.2", features = ["cortex-m"] }
bincode = { version = "2.0.0-beta.1", features = ["derive"], default-features = false}
foc = { path = "lib/foc" }
common = { path = "lib/common" }
encoder = { path = "lib/encoder" }
config = { path = "lib/config" }
remote-obj = { path = "../remote-obj" }
framed = { git = "https://github.com/kingoflolz/framed-rs.git", default-features = false}
bbqueue = "0.5.1"
rustc-hash = { version = "1.0", default-features = false }
[dependencies.stm32f4xx-hal]
version = "0.13.2"
features = ["rt", "stm32f411", "otg-fs", "usb_fs"]
[profile.lto]
inherits = "release"
lto = true
[profile.release]
debug = 2
panic = "abort"
[profile.dev]
panic = "abort"