-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
83 lines (70 loc) · 3.12 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
81
82
83
[workspace]
members = ["onboard-computer", "power-system"]
[workspace.dependencies]
# Base crates
# hal = { version = "0.7", package = "esp32c3-hal", features = ["rt", "embassy", "eh1", "vectored", "async", "embassy-time-systick"], git = "https://github.com/esp-rs/esp-hal.git", rev = "2eeb3db" }
# hal = { package = "esp32c3-hal", version = "0.8", features = ["rt", "embassy", "eh1", "vectored", "async", ] }
# esp32c3 = { version = "0.14", features = ["critical-section"]}
# hal = { version = "0.7", package = "esp32c3-hal", features = ["rt", "embassy", "eh1", "vectored", "async", "embassy-time-timg0"], git = "https://github.com/esp-rs/esp-hal.git", rev = "2eeb3db" }
# requires `esp32s2-hal/embassy-time-timg0`!
# esp-wifi = { git = "https://github.com/esp-rs/esp-wifi", rev = "74e9f18", features = ["esp32c3", "wifi", "embedded-svc", "embassy-net"], optional = true }
esp-wifi = { git = "https://github.com/esp-rs/esp-wifi", rev = "e5a1cf8", version = "0.1", features = [
"esp32c3",
"wifi",
"embassy-net",
"embedded-svc",
] }
# debugging
esp-backtrace = { version = "0.7", features = [
"esp32c3",
"panic-handler",
"print-uart",
] }
esp-println = { version = "0.5", features = ["esp32c3"] }
# Allocator
# esp-alloc = { version = "0.3.0", features = ["oom-handler"] }
# Embassy
embassy-executor = { version = "0.2", features = [
"nightly",
"integrated-timers",
"executor-thread",
] }
embassy-sync = { version = "0.2.0", features = ["nightly", "defmt"] }
embassy-futures = { version = "0.1.0", features = ["defmt"] }
embassy-net = { git = "https://github.com/embassy-rs/embassy", rev = "fb27594", features = [
"nightly",
"defmt",
"udp",
"dhcpv4",
"medium-ethernet",
] }
embassy-net-driver = { git = "https://github.com/embassy-rs/embassy", rev = "fb27594" }
# todo: update to 0.1.1 with embedded-hal-nb alpha 2
embassy-time = { version = "0.1.1", features = ["nightly"] }
# Keep the same as in esp-wifi
embedded-svc = { version = "0.24", default-features = false, features = [
"defmt",
] }
embedded-hal = { version = "0.2.7", features = ["unproven"] }
# todo: update to embedded-hal alpha 10
embedded-hal-1 = { version = "=1.0.0-alpha.10", package = "embedded-hal" }
# todo: update to alpha.1 with embedded-hal alpha 10
embedded-hal-async = { version = "0.2.0-alpha.1" }
# todo: update to alpha 2 with embedded hal alpha 10
embedded-hal-nb = { version = "=1.0.0-alpha.2" }
embedded-can = { version = "0.4.1" }
defmt = { version = "0.3" }
defmt-rtt = "0.4.0"
# required for running tests
critical-section = { version = "1.1" }
# nmea = { version = "0.4", default-features = false }
nmea = { path = "../nmea/", default-features = false }
static_cell = "1.0"
# once_cell = { version = "1.0" }
# once_cell = { version = "1.0", default-features = false, features = ["critical-section"] }
fugit = { version = "0.3", features = ["defmt"] }
nb = { version = "1.1.0", features = ["defmt-0-3"] }
heapless = { version = "0.7.16", features = ["defmt"] }
[patch.crates-io]
esp-hal-common = { git = "https://github.com/esp-rs/esp-hal", rev = "5c5d7f9" }
esp32c3-hal = { git = "https://github.com/esp-rs/esp-hal", rev = "5c5d7f9" }