-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathCargo.toml
More file actions
173 lines (155 loc) · 4.6 KB
/
Cargo.toml
File metadata and controls
173 lines (155 loc) · 4.6 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
[workspace.package]
license = "MIT OR Apache-2.0"
repository = "https://github.com/quartiq/stabilizer"
edition = "2024"
[package]
name = "stabilizer"
# Keep versions in Cargo.toml and py/setup.py synchronized.
version = "0.11.0"
resolver = "2"
edition.workspace = true
license.workspace = true
repository.workspace = true
authors = [
"Robert Jördens <rj@quartiq.de>",
"Ryan Summers <ryan.summers@vertigo-designs.com>",
]
description = "Firmware for the Sinara Stabilizer board (STM32H743, Ethernet, PoE, 2 ADCs, 2 DACs)"
categories = ["embedded", "no-std", "hardware-support", "science"]
keywords = ["ethernet", "stm32h7", "adc", "dac", "physics"]
readme = "README.md"
documentation = "https://docs.rs/stabilizer/"
exclude = ["doc/", "doc/*"]
[badges]
maintenance = { status = "actively-developed" }
[package.metadata.docs.rs]
features = []
default-target = "thumbv7em-none-eabihf"
[workspace]
members = [
"ad9912",
"ad9959",
"encoded_pin",
"serial_settings",
"urukul",
"signal_generator",
"stream",
"platform",
]
[workspace.dependencies]
arbitrary-int = { version = "1.3.0", features = ["serde", "hint"] }
thiserror = { version = "2.0.11", default-features = false }
idsp = "0.21.0"
dsp-process = "0.2.0"
dsp-fixedpoint = "0.1.0"
# Keep this synced with the miniconf version in py/setup.py
miniconf = { version = "0.20", features = [
"json-core",
"derive",
"postcard",
"heapless",
] }
heapless = { version = "0.8", features = ["serde"] }
[dependencies]
panic-persist = { version = "0.3", features = ["utf8", "custom-panic-handler"] }
embedded-storage = "0.3"
embedded-storage-async = "0.4"
log = { version = "0.4", features = [
"max_level_trace",
"release_max_level_info",
] }
serde = { version = "1.0", features = ["derive"], default-features = false }
heapless.workspace = true
rtic-monotonics = { version = "2.0", features = ["cortex-m-systick"] }
num_enum = { version = "0.7.3", default-features = false }
paste = "1"
idsp.workspace = true
dsp-process.workspace = true
dsp-fixedpoint.workspace = true
ad9959 = { path = "ad9959", version = "0.3.0" }
serial_settings = { version = "0.2", path = "serial_settings" }
mcp230xx = "1.0"
fugit = "0.3"
rtt-logger = "0.2"
mono-clock = "0.1"
spin = { version = "0.10", default-features = false, features = ["spin_mutex"] }
shared-bus = { version = "0.3", features = ["cortex-m"] }
lm75 = "0.2"
usb-device = "0.3.2"
usbd-serial = "0.2"
miniconf.workspace = true
miniconf_mqtt = { version = "0.20" }
tca9539 = "0.2"
bitbybit = "1.3.3"
arbitrary-int.workspace = true
thiserror.workspace = true
embedded-hal-compat = "0.13.0"
embedded-hal-02 = { package = "embedded-hal", version = "0.2.7", features = [
"unproven",
] }
embedded-hal-1 = { package = "embedded-hal", version = "1.0" }
embedded-hal-bus = "0.3.0"
urukul = { version = "0.1.1", path = "urukul" }
ad9912 = { version = "0.1.1", path = "ad9912" }
bytemuck = { version = "1.21.0", features = [
"zeroable_maybe_uninit",
"derive",
] }
num-complex = { version = "0.4", features = [
"bytemuck",
"serde",
], default-features = false }
num-traits = { version = "0.2.19", default-features = false }
strum = { version = "0.27.1", default-features = false, features = ["derive"] }
grounded = "0.2.0"
signal_generator = { version = "0.1", path = "signal_generator" }
stream = { version = "0.1", path = "stream" }
platform = { version = "0.1", path = "platform" }
libm = "0.2.15"
[dependencies.smoltcp-nal]
version = "0.7"
features = ["shared-stack"]
[build-dependencies]
built = { version = "0.8", features = ["git2"], default-features = false }
[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 = "0.3"
[target.'cfg(not(target_os = "none"))'.dependencies]
serde_json = { version = "1.0.133", features = ["preserve_order"] }
miniconf = { version = "0.20", features = ["schema"] }
[features]
nightly = []
pounder_v1_0 = []
[profile.dev]
codegen-units = 1
opt-level = "s"
incremental = false
[profile.release.package.idsp]
opt-level = 3
[profile.release.package.ad9959]
opt-level = 3
[profile.release.package.signal_generator]
opt-level = 3
[profile.release.package.stream]
opt-level = 3
[profile.release.package.stabilizer]
opt-level = 3
[profile.release]
codegen-units = 1
opt-level = "s"
debug = true
lto = true
[patch.crates-io]
miniconf = { git = "https://github.com/quartiq/miniconf.git" }