-
Notifications
You must be signed in to change notification settings - Fork 30
/
Cargo.toml
77 lines (70 loc) · 2.16 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
66
67
68
69
70
71
72
73
74
75
76
77
# Not stable yet :(
# Trackign issue: https://github.com/rust-lang/cargo/issues/9406
# cargo-features = ["per-package-target"]
[workspace]
resolver = "2"
members = [
"b1display",
"c1minimal",
"ledmatrix",
"fl16-inputmodules",
"inputmodule-control",
"qtpy",
]
# Don't build all of them by default.
# Because that'll lead to all features enabled in `fl16-inputmodules` and it
# doesn't currently support building with all features enabled at the same
# time.
# Can't add `inputmodule-control` because it must be built with the host system
# target. But we set the default target to thumbv6m-none-eabi
default-members = ["fl16-inputmodules"]
[workspace.dependencies]
cortex-m = "0.7"
cortex-m-rt = "0.7.3"
embedded-hal = { version = "0.2.7", features = ["unproven"] }
panic-probe = { version = "0.3", features = ["print-defmt"] }
rp2040-panic-usb-boot = "0.5.0"
rp2040-hal = { version = "0.8", features = ["rt", "critical-section-impl"] }
rp2040-boot2 = "0.3"
defmt = "0.3"
defmt-rtt = "0.4"
# USB Serial
usb-device = "0.2.9"
heapless = "0.7.16"
usbd-serial = "0.1.1"
usbd-hid = "0.6.1"
fugit = "0.3.7"
is31fl3741 = { version = "0.4.0", features = ["framework_ledmatrix"] }
# B1 Display
st7306 = { git = "https://github.com/FrameworkComputer/st7306-rs", branch = "update-deps" }
embedded-graphics = "0.8"
tinybmp = "0.5.0"
# C1 Minimal
smart-leds = "0.3.0"
ws2812-pio = "0.6.0"
[profile.dev.package.ledmatrix]
codegen-units = 1
incremental = true
# To allow single-stepping through code use 0. Will cause timing issues, though
opt-level = 3
[profile.dev.package.c1minimal]
codegen-units = 1
incremental = true
# To allow single-stepping through code use 0. Will cause timing issues, though
opt-level = 3
[profile.dev.package.b1display]
codegen-units = 1
incremental = true
# To allow single-stepping through code use 0. Will cause timing issues, though
opt-level = 3
[profile.dev.package.qtpy]
codegen-units = 1
incremental = true
# To allow single-stepping through code use 0. Will cause timing issues, though
opt-level = 3
# Faster and smaller code but much slower to compile.
# Increase in rebuild time from <1s to 20s
[profile.release]
codegen-units = 1
debug = 2
lto = 'fat'