2020-06-16 22:18:25 +08:00
|
|
|
[package]
|
|
|
|
name = "stabilizer"
|
2021-04-21 20:45:12 +08:00
|
|
|
version = "0.5.0"
|
2020-06-16 22:18:25 +08:00
|
|
|
authors = ["Robert Jördens <rj@quartiq.de>"]
|
|
|
|
description = "Firmware for the Sinara Stabilizer board (stm32h743, eth, poe, 2 adc, 2 dac)"
|
|
|
|
categories = ["embedded", "no-std", "hardware-support", "science"]
|
|
|
|
license = "GPL-3.0-or-later"
|
|
|
|
keywords = ["ethernet", "stm32h7", "adc", "dac", "physics"]
|
|
|
|
repository = "https://github.com/quartiq/stabilizer"
|
|
|
|
readme = "README.md"
|
|
|
|
documentation = "https://docs.rs/stabilizer/"
|
|
|
|
edition = "2018"
|
|
|
|
exclude = [
|
|
|
|
".travis.yml",
|
|
|
|
".gitignore",
|
|
|
|
"doc/",
|
|
|
|
"doc/*"
|
2020-06-08 15:36:28 +08:00
|
|
|
]
|
2020-06-09 00:11:14 +08:00
|
|
|
|
2020-06-16 22:18:25 +08:00
|
|
|
[badges]
|
|
|
|
maintenance = { status = "experimental" }
|
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
features = []
|
|
|
|
default-target = "thumbv7em-none-eabihf"
|
|
|
|
|
2020-12-11 22:19:13 +08:00
|
|
|
[workspace]
|
|
|
|
members = ["ad9959", "dsp"]
|
|
|
|
|
2020-06-16 22:18:25 +08:00
|
|
|
[dependencies]
|
|
|
|
cortex-m = { version = "0.6", features = ["const-fn"] }
|
|
|
|
cortex-m-rt = { version = "0.6", features = ["device"] }
|
2021-02-01 02:00:41 +08:00
|
|
|
cortex-m-log = { version = "0.7", features = ["log-integration"] }
|
2020-06-16 22:18:25 +08:00
|
|
|
log = "0.4"
|
|
|
|
panic-semihosting = { version = "0.5", optional = true }
|
|
|
|
serde = { version = "1.0", features = ["derive"], default-features = false }
|
2021-03-17 23:28:50 +08:00
|
|
|
heapless = { version = "0.6", features = ["serde"] }
|
2021-03-04 12:07:51 +08:00
|
|
|
cortex-m-rtic = "0.5.6"
|
2020-08-08 16:10:34 +08:00
|
|
|
embedded-hal = "0.2.4"
|
2020-07-08 12:02:45 +08:00
|
|
|
nb = "1.0.0"
|
2020-08-08 16:10:34 +08:00
|
|
|
asm-delay = "0.9.0"
|
2020-06-16 22:18:25 +08:00
|
|
|
enum-iterator = "0.6.0"
|
2020-11-23 21:30:29 +08:00
|
|
|
paste = "1"
|
2020-11-23 02:32:40 +08:00
|
|
|
dsp = { path = "dsp" }
|
2020-12-05 20:51:33 +08:00
|
|
|
ad9959 = { path = "ad9959" }
|
2021-02-23 23:46:16 +08:00
|
|
|
generic-array = "0.14"
|
2021-04-07 22:44:39 +08:00
|
|
|
miniconf = "0.1.0"
|
|
|
|
|
|
|
|
[dependencies.mcp23017]
|
|
|
|
git = "https://github.com/mrd0ll4r/mcp23017.git"
|
|
|
|
rev = "61933f857a"
|
|
|
|
|
|
|
|
[dependencies.stm32h7xx-hal]
|
|
|
|
features = ["stm32h743v", "rt", "unproven", "ethernet", "quadspi"]
|
|
|
|
version = "0.9.0"
|
2021-01-27 02:14:23 +08:00
|
|
|
|
2021-02-18 01:40:03 +08:00
|
|
|
[patch.crates-io.miniconf]
|
2021-03-02 23:43:19 +08:00
|
|
|
git = "https://github.com/quartiq/miniconf.git"
|
2021-04-07 22:44:39 +08:00
|
|
|
rev = "314fa5587d"
|
2021-03-02 23:43:19 +08:00
|
|
|
|
2021-04-07 22:44:39 +08:00
|
|
|
[dependencies.smoltcp-nal]
|
2021-03-05 00:26:10 +08:00
|
|
|
git = "https://github.com/quartiq/smoltcp-nal.git"
|
2021-04-19 21:55:02 +08:00
|
|
|
rev = "8468f11"
|
2021-02-19 17:36:39 +08:00
|
|
|
|
2021-03-02 23:43:19 +08:00
|
|
|
[patch.crates-io.minimq]
|
|
|
|
git = "https://github.com/quartiq/minimq.git"
|
2021-04-07 22:44:39 +08:00
|
|
|
rev = "933687c2e4b"
|
2020-06-16 22:18:25 +08:00
|
|
|
|
2021-02-19 17:36:39 +08:00
|
|
|
[patch.crates-io.serde-json-core]
|
|
|
|
git = "https://github.com/rust-embedded-community/serde-json-core.git"
|
2021-04-07 22:44:39 +08:00
|
|
|
rev = "ee06ac91bc"
|
2020-09-11 18:34:15 +08:00
|
|
|
|
2020-06-16 22:18:25 +08:00
|
|
|
[features]
|
|
|
|
semihosting = ["panic-semihosting", "cortex-m-log/semihosting"]
|
|
|
|
bkpt = [ ]
|
2020-11-26 21:19:09 +08:00
|
|
|
nightly = ["cortex-m/inline-asm", "dsp/nightly"]
|
2021-01-06 20:29:19 +08:00
|
|
|
pounder_v1_1 = [ ]
|
2020-06-16 22:18:25 +08:00
|
|
|
|
2020-06-09 00:11:14 +08:00
|
|
|
[profile.dev]
|
|
|
|
codegen-units = 1
|
|
|
|
incremental = false
|
2021-02-04 02:55:58 +08:00
|
|
|
opt-level = 3
|
2020-06-09 00:11:14 +08:00
|
|
|
|
|
|
|
[profile.release]
|
2020-06-12 01:00:37 +08:00
|
|
|
opt-level = 3
|
2020-06-09 00:11:14 +08:00
|
|
|
debug = true
|
|
|
|
lto = true
|
|
|
|
codegen-units = 1
|