-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCargo.toml
More file actions
111 lines (101 loc) · 3.33 KB
/
Cargo.toml
File metadata and controls
111 lines (101 loc) · 3.33 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
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
[workspace.package]
edition = "2024"
license = "MIT OR Apache-2.0"
repository = "https://github.com/quartiq/thermostat-eem"
[workspace]
members = ["ad7172"]
[package]
name = "thermostat-eem"
version = "0.3.0"
authors = [
"Robert Jördens <rj@quartiq.de>",
"Norman Krackow <nk@quartiq.de>",
"Ryan Summers <ryan.summers@vertigo-designs.com>",
]
description = "Firmware for the Sinara Thermostat-EEM temperature controller."
categories = ["embedded", "no-std", "hardware-support", "science"]
keywords = ["ethernet", "stm32h7", "adc", "dac", "physics"]
readme = "README.md"
exclude = [".gitignore"]
edition.workspace = true
license.workspace = true
repository.workspace = true
[features]
default = ["all_differential"]
all_differential = []
all_single_ended = []
[dependencies]
log = { version = "0.4", features = [
"max_level_trace",
"release_max_level_info",
] }
panic-probe = { version = "=0.3.0", features = ["print-rtt"] }
rtic-monotonics = { version = "2.0", features = ["cortex-m-systick"] }
rtic-sync = { version = "1.0" }
fugit = "0.3"
mono-clock = "0.1"
heapless = { version = "0.8", features = ["serde"] }
minimq = "0.10"
serde = { version = "1.0.217", features = ["derive"], default-features = false }
rtt-logger = "0.2"
num-traits = { version = "0.2", default-features = false, features = ["libm"] }
smlang = "0.8.0"
idsp = "0.21.0"
dsp-process = "0.2"
embedded-hal-1 = { package = "embedded-hal", version = "1.0" }
embedded-hal-bus = "0.3.0"
bitbybit = "1.3.3"
arbitrary-int = { version = "2.0.0", features = ["hint"] }
lm75 = "0.2"
bytemuck = { version = "1.21.0", features = [
"derive",
"zeroable_maybe_uninit",
], default-features = false }
miniconf = { version = "0.20", features = ["json-core", "derive", "postcard"] }
miniconf_mqtt = { version = "0.20" }
strum = { version = "0.27", default-features = false, features = ["derive"] }
serial_settings = "0.2"
embedded-storage = "0.3"
usb-device = "0.3.2"
usbd-serial = "0.2"
panic-persist = { version = "0.3", features = ["utf8", "custom-panic-handler"] }
grounded = "0.2.0"
# signal_generator = { version = "0.1" }
stream = { version = "0.1" }
platform = { version = "0.1" }
ad7172 = { version = "0.1", path = "ad7172" }
embedded-hal-compat = "0.13.0"
smoltcp-nal = { version = "0.7", features = ["shared-stack"] }
[target.'cfg(target_os = "none")'.dependencies]
stm32h7xx-hal = { version = "0.16.0", features = [
"stm32h743v",
"rt",
"ethernet",
"xspi",
"usb_hs",
], git = "https://github.com/stm32-rs/stm32h7xx-hal.git" }
cortex-m = { version = "0.7.7", features = [
"inline-asm",
"critical-section-single-core",
] }
cortex-m-rt = { version = "0.7", features = ["device"] }
rtic = { version = "2.1", features = ["thumbv7-backend"] }
rtt-target = { version = "0.3", features = ["cortex-m"] }
[target.'cfg(not(target_os = "none"))'.dependencies]
serde_json = { version = "1.0.133", features = ["preserve_order"] }
miniconf = { version = "0.20", features = ["schema"] }
[profile.dev]
codegen-units = 1
incremental = false
opt-level = "s"
[profile.release]
opt-level = "s"
debug = true
lto = true
codegen-units = 1
[build-dependencies]
built = { version = "0.8", features = ["git2"], default-features = false }
[patch.crates-io]
serial_settings = { git = "https://github.com/quartiq/stabilizer.git" }
stream = { git = "https://github.com/quartiq/stabilizer.git" }
platform = { git = "https://github.com/quartiq/stabilizer.git" }