-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
44 lines (36 loc) · 942 Bytes
/
Cargo.toml
File metadata and controls
44 lines (36 loc) · 942 Bytes
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
[package]
name = "wk3-binary-protocol"
version = "0.1.0"
edition = "2021"
[dependencies]
cortex-m = "0.7"
cortex-m-rt = "0.7"
stm32f4xx-hal = { version = "0.23.0", features = ["stm32f446"] }
cortex-m-rtic = "1.1"
# Logging
defmt = "0.3"
defmt-rtt = "0.4"
panic-probe = { version = "0.3", features = ["print-defmt"] }
# Bus & Traits
shared-bus = { version = "0.3.1", features = ["cortex-m"] }
embedded-hal = "1.0"
embedded-hal-0-2 = { package = "embedded-hal", version = "0.2.7" }
# Drivers
ssd1306 = "0.8.4"
display-interface-i2c = "0.4" # Use 0.4 which works with embedded-hal 0.2
embedded-graphics = "0.8.1"
bme680 = "0.6.0"
sht3x = "0.1.1"
heapless = "0.8"
nb = "1.1"
# Week 3 additions: Binary protocol & reliability
serde = { version = "1.0", default-features = false, features = ["derive"] }
postcard = "1.0"
crc = "3.0"
[[bin]]
name = "node2"
path = "src/bin/node2.rs"
[profile.release]
debug = true
lto = true
opt-level = "s"