-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
54 lines (48 loc) · 1.28 KB
/
Cargo.toml
File metadata and controls
54 lines (48 loc) · 1.28 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
# This file was automatically generated.
[package]
edition = "2021"
name = "snake"
version = "0.1.0"
[dependencies]
cortex-m = { version = "0.7.7", features = ["inline-asm", "critical-section-single-core"] }
cortex-m-rt = "0.7.5"
defmt = { version = "1.0.1", optional = true }
defmt-rtt = { version = "1.0.0", optional = true }
embassy-executor = { version = "0.9.1", features = ["arch-cortex-m", "executor-thread"] }
embassy-futures = "0.1.2"
embassy-nrf = { version = "0.7.0", features = ["nrf52833", "gpiote", "time-driver-rtc1"] }
embassy-sync = "0.7.2"
embassy-time = { version = "0.5.0", features = ["tick-hz-32_768"] }
heapless = "0.9.1"
panic-halt = "1.0.0"
panic-probe = { version = "1.0.0", features = ["print-defmt"], optional = true }
[[bin]]
name = "snake"
test = false
bench = false
[profile.dev]
debug = true
lto = true
opt-level = "z"
incremental = true
[profile.release]
debug = false
lto = true
opt-level = "z"
incremental = true
[features]
defmt = ["dep:defmt"]
defmt-rtt = ["dep:defmt-rtt"]
panic-probe = ["dep:panic-probe"]
default = ["debug"]
debug = [
"defmt",
"defmt-rtt",
"panic-probe",
"embassy-executor/defmt",
"embassy-sync/defmt",
"embassy-futures/defmt",
"embassy-time/defmt",
"embassy-time/defmt-timestamp-uptime",
"embassy-nrf/defmt",
]