-
Notifications
You must be signed in to change notification settings - Fork 27
/
Cargo.toml
114 lines (105 loc) · 3.45 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
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
[package]
name = "stabilizer"
# Keep versions in Cargo.toml and py/setup.py synchronized.
version = "0.11.0"
resolver = "2"
authors = [
"Robert Jördens <[email protected]>",
"Ryan Summers <[email protected]>",
]
description = "Firmware for the Sinara Stabilizer board (STM32H743, Ethernet, PoE, 2 ADCs, 2 DACs)"
categories = ["embedded", "no-std", "hardware-support", "science"]
license = "MIT OR Apache-2.0"
keywords = ["ethernet", "stm32h7", "adc", "dac", "physics"]
repository = "https://github.com/quartiq/stabilizer"
readme = "README.md"
documentation = "https://docs.rs/stabilizer/"
edition = "2021"
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"]
[dependencies]
panic-persist = { version = "0.3", features = ["utf8", "custom-panic-handler"] }
sequential-storage = "3"
embedded-io = "0.6"
embedded-storage = "0.3"
embedded-storage-async = "0.4"
cortex-m = { version = "0.7.7", features = [
"inline-asm",
"critical-section-single-core",
] }
cortex-m-rt = { version = "0.7", features = ["device"] }
log = { version = "0.4", features = [
"max_level_trace",
"release_max_level_info",
] }
rtt-target = "0.3"
serde = { version = "1.0", features = ["derive"], default-features = false }
serde-json-core = "0.6"
heapless = { version = "0.8", features = ["serde"] }
rtic = { version = "2.1", features = ["thumbv7-backend"] }
rtic-monotonics = { version = "2.0", features = ["cortex-m-systick"] }
num_enum = { version = "0.7.3", default-features = false }
paste = "1"
idsp = "0.15.1"
ad9959 = { path = "ad9959", version = "0.3.0" }
serial-settings = { version = "0.2", path = "serial-settings" }
mcp230xx = "1.0"
mutex-trait = "0.2"
fugit = "0.3"
rtt-logger = "0.2"
mono-clock = "0.1"
spin = { version = "0.9", default-features = false, features = ["spin_mutex"] }
shared-bus = { version = "0.3", features = ["cortex-m"] }
lm75 = "0.2"
enum-iterator = "2.1.0"
rand_xorshift = "0.3.0"
rand_core = "0.6.4"
minimq = "0.9.0"
usb-device = "0.3.2"
usbd-serial = "0.2"
# Keep this synced with the miniconf version in py/setup.py
miniconf = { version = "0.18", features = ["json-core", "derive", "postcard"] }
miniconf_mqtt = { version = "0.18" }
tca9539 = "0.2"
smoltcp-nal = { version = "0.5", features = ["shared-stack"] }
postcard = "1"
bit_field = "0.10.2"
embassy-futures = { version = "0.1", default-features = false }
serde_with = { version = "3.11", default-features = false, features = [
"macros",
] }
bitbybit = "1.3.3"
arbitrary-int = { version = "1.3.0", features = ["serde"] }
thiserror = { version = "2.0.9", default-features = false }
num-traits = { version = "0.2.19", default-features = false }
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.2.0"
urukul = { version = "0.1.1", path = "urukul" }
ad9912 = { version = "0.1.1", path = "ad9912" }
[build-dependencies]
built = { version = "0.7", features = ["git2"], default-features = false }
[dependencies.stm32h7xx-hal]
version = "0.16.0"
features = ["stm32h743v", "rt", "ethernet", "xspi", "usb_hs"]
[features]
nightly = []
pounder_v1_0 = []
[profile.dev]
codegen-units = 1
incremental = false
opt-level = 3
[profile.release]
opt-level = 3
debug = true
lto = true
codegen-units = 1