-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
44 lines (39 loc) · 977 Bytes
/
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
[workspace]
resolver = "2"
members = [
"goalie",
"attack",
"lib",
"tools/i2c_detect",
"tools/print_color",
"tools/compass_calibration",
"tools/ir_calibrate",
"tools/ir_data_collect",
]
[workspace.dependencies]
libm = "0.2.0"
ufmt = "0.2.0"
ufloat = "0.1.0"
embedded-hal = "1.0"
radian = { version = "0.1.2", default-features = false, features = [
"libm",
"ufmt",
] }
shared-bus = { git = "https://github.com/Sycrosity/shared-bus", rev = "e495929cb39445275058cb57d6559d5f890f98c1" }
[workspace.dependencies.arduino-hal]
git = "https://github.com/rahix/avr-hal"
rev = "3e362624547462928a219c40f9ea8e3a64f21e5f"
features = ["arduino-mega2560"]
# Configure the build for minimal size - AVRs have very little program memory
[profile.dev]
panic = "abort"
lto = true
opt-level = "s"
[profile.dev.package.compiler_builtins]
overflow-checks = false
[profile.release]
panic = "abort"
codegen-units = 1
debug = true
lto = true
opt-level = "s"