-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
89 lines (74 loc) · 1.82 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
84
85
86
87
88
89
[package]
name = "air-gradient-pro-rs"
description = "Rust firmware for the AirGradient Pro"
version = "0.1.1"
edition = "2021"
authors = ["Jon Lamb"]
build = "build.rs"
[[bin]]
name = "air-gradient-pro"
path = "src/main.rs"
[dependencies]
cortex-m = "0.7"
cortex-m-rt = "0.7"
rtic-monotonic = "1.0"
cortex-m-rtic = "1.1"
log = "0.4"
static_assertions = "1.1"
gas-index-algorithm = "0.1"
profont = "0.6"
heapless = "0.7"
sh1106 = "0.4"
[dependencies.wire-protocols]
path = "libraries/wire-protocols"
[dependencies.aqi]
version = "0.2"
default-features = false
# TODO - upstream these changes
[dependencies.pms-7003]
git = "https://github.com/jonlamb-gh/pms-7003.git"
branch = "various-changes"
# TODO - upstream these changes
[dependencies.sgp41]
git = "https://github.com/jonlamb-gh/sgp41.git"
branch = "various-changes"
# TODO - upstream these changes
[dependencies.sht3x]
git = "https://github.com/jonlamb-gh/sht3x-rs.git"
branch = "various-changes"
# TODO - upstream these changes
[dependencies.enc28j60]
git = "https://github.com/jonlamb-gh/enc28j60.git"
branch = "cleanup"
[dependencies.stm32f4xx-hal]
version = "0.15"
features = ["rt", "stm32f411", "rtic"]
[dependencies.smoltcp]
version = "0.9"
default-features = false
features = [
"medium-ethernet",
"medium-ip",
"proto-ipv4",
"socket-icmp",
"socket-udp",
"socket-tcp",
#"log",
#"verbose"
]
[dependencies.embedded-graphics]
version = "0.7"
default-features = false
[dependencies.shared-bus]
version = "0.2"
default-features = false
features = ["cortex-m"]
[build-dependencies.built]
version = "0.5"
features = ["git2", "chrono"]
[build-dependencies.env-config]
path = "libraries/env-config"
[profile.release]
codegen-units = 1 # better optimizations
debug = true # symbols are nice and they don't increase the size on Flash
lto = true # better optimizations