-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
70 lines (61 loc) · 1.72 KB
/
Copy pathCargo.toml
File metadata and controls
70 lines (61 loc) · 1.72 KB
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
[workspace]
resolver = "2"
members = [
"crates/actor-framework",
"crates/board-hal",
"crates/board-ebb42",
"crates/board-pico",
"crates/dispatcher",
"crates/gcode-parser",
"crates/motion-planner",
"crates/printer-hal",
"crates/thermal",
"crates/sdcard",
"firmware",
"firmware-ebb42",
"firmware-pico",
"wasm-sim",
]
[workspace.package]
edition = "2021"
license = "MIT OR Apache-2.0"
[workspace.dependencies]
# Embassy async runtime
embassy-executor = { version = "0.7", features = ["arch-cortex-m", "executor-thread", "executor-interrupt"] }
embassy-time = { version = "0.4", features = ["tick-hz-1_000_000"] }
embassy-sync = "0.6"
embassy-futures = "0.1"
# Cortex-M support
cortex-m = { version = "0.7", features = ["critical-section-single-core"] }
cortex-m-rt = "0.7"
# SAME54 HAL + PAC
atsamd-hal = { version = "0.17", features = ["same54p-rt", "dma"] }
# Logging
defmt = "0.3"
defmt-rtt = "0.4"
panic-probe = { version = "0.3", features = ["print-defmt"] }
# Utilities
heapless = { version = "0.8", features = ["defmt-03"] }
static_cell = "2"
embedded-hal = "1.0"
embedded-io = "0.6"
fixed = "1.28"
libm = "0.2"
# SD card
embedded-sdmmc = "0.8"
embedded-hal-bus = "0.2"
# Internal crates
actor-framework = { path = "crates/actor-framework" }
board-hal = { path = "crates/board-hal" }
board-ebb42 = { path = "crates/board-ebb42" }
board-pico = { path = "crates/board-pico" }
dispatcher = { path = "crates/dispatcher" }
gcode-parser = { path = "crates/gcode-parser" }
motion-planner = { path = "crates/motion-planner" }
printer-hal = { path = "crates/printer-hal" }
thermal = { path = "crates/thermal" }
sdcard = { path = "crates/sdcard" }
[profile.release]
debug = 2
lto = "fat"
opt-level = "s"