-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
65 lines (60 loc) · 1.41 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[package]
authors = ["Cameron Kinsella <[email protected]>", "Adam Barroso <[email protected]>"]
name = "mikoto-bot"
version = "0.0.1"
edition = "2021"
description = "MTE 380 robot embedded software for the STM32 NUCLEO-f401RE development board"
repository = "https://github.com/cameronkinsella/mikoto-bot"
readme = "README.md"
license = "MIT"
keywords = [
"arm",
"cortex-m",
"stm32f401",
"nucleo",
]
categories = [
"embedded",
"no-std",
]
[dependencies]
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"]}
cortex-m-rt = "0.7"
cortex-m-rtic = "1"
embedded-hal = "0.2"
stm32f4xx-hal = { version = "0.14", features = ["rt", "stm32f401", "usb_fs", "defmt"] }
defmt-rtt = "0.4"
defmt = "0.3"
panic-probe = { version = "0.3.0", features = ["print-defmt"] }
libm = "0.2.6"
lsm6dso = "0.1"
mpu6050-dmp = "0.3.0"
vl53l1 = "0.1.2"
lazy_static = {version="1.4.0", features = ["spin_no_std"]}
pid = "4.0.0"
[dev-dependencies]
dwt-systick-monotonic = "1.0.0"
[profile.dev]
codegen-units = 1
debug = 2
debug-assertions = true
incremental = false
opt-level = 3
overflow-checks = true
# cargo test
[profile.test]
codegen-units = 1
debug = 2
debug-assertions = true
incremental = false
opt-level = 3
overflow-checks = true
# cargo build/run --release
[profile.release]
codegen-units = 1
debug = 2
debug-assertions = false
incremental = false
lto = false
opt-level = 3
overflow-checks = false