-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
80 lines (74 loc) · 2 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
78
79
80
[package]
name = "pomodoro-af"
version = "0.1.0"
edition = "2021"
default-run = "pomodoro-af"
[profile.release]
lto = true
opt-level = "s"
incremental = false
codegen-units = 1
# note: debug = true is okay - debuginfo isn't flashed to the device!
debug = true
[package.metadata.cargo-machete]
ignored = [
"cortex-m",
"cortex-m-rt",
"embedded-hal",
"embedded-io",
"embedded-io-async",
"panic-probe",
"defmt",
"defmt-rtt",
"embassy-stm32",
"embassy-executor",
"embassy-time",
]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
embassy-stm32 = { version = "0.1.0", features = [
"defmt",
"stm32f411re",
"unstable-pac",
"memory-x",
"time-driver-any",
"exti",
"chrono",
] }
#embassy-sync = { version = "0.5.0", features = ["defmt"] }
embassy-executor = { version = "0.5.0", features = [
"task-arena-size-32768",
"arch-cortex-m",
"executor-thread",
"executor-interrupt",
"defmt",
"integrated-timers",
] }
embassy-time = { version = "0.3.0", features = [
"defmt",
"defmt-timestamp-uptime",
"tick-hz-32_768",
] }
#embassy-usb = { version = "0.1.0", features = ["defmt" ] }
#embassy-net = { version = "0.4.0", features = ["defmt", "tcp", "dhcpv4", "medium-ethernet", ] }
defmt = "0.3"
defmt-rtt = "0.4"
cortex-m = { version = "0.7.6", features = [
"inline-asm",
"critical-section-single-core",
] }
cortex-m-rt = "0.7.0"
embedded-hal = "0.2.6"
embedded-io = { version = "0.6.0" }
embedded-io-async = { version = "0.6.1" }
panic-probe = { version = "0.3", features = ["print-defmt"] }
embassy-sync = "0.5.0"
#embassy-futures = { version = "0.1.1", features = ["defmt"] }
#futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
#heapless = { version = "0.8", default-features = false }
#nb = "1.0.0"
#embedded-storage = "0.3.1"
#micromath = "2.0.0"
#usbd-hid = "0.7.0"
#static_cell = "2"
#chrono = { version = "^0.4", default-features = false}