2020-06-16 22:18:25 +08:00
|
|
|
[package]
|
|
|
|
name = "stabilizer"
|
2020-06-23 21:19:24 +08:00
|
|
|
version = "0.4.1"
|
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-03-15 19:30:18 +08:00
|
|
|
smoltcp-nal = "0.1.0"
|
2021-02-18 01:40:03 +08:00
|
|
|
miniconf = "0.1"
|
2021-02-23 23:46:16 +08:00
|
|
|
generic-array = "0.14"
|
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-03-03 00:00:11 +08:00
|
|
|
branch = "develop"
|
2021-03-02 23:43:19 +08:00
|
|
|
|
|
|
|
[patch.crates-io.minimq]
|
|
|
|
git = "https://github.com/quartiq/minimq.git"
|
2021-03-05 00:26:10 +08:00
|
|
|
|
2021-03-15 19:29:03 +08:00
|
|
|
[patch.crates-io.smoltcp-nal]
|
2021-03-05 00:26:10 +08:00
|
|
|
git = "https://github.com/quartiq/smoltcp-nal.git"
|
2021-03-17 22:55:30 +08:00
|
|
|
branch = "main"
|
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"
|
|
|
|
branch = "master"
|
2020-06-16 22:18:25 +08:00
|
|
|
|
2021-03-15 19:30:18 +08:00
|
|
|
[patch.crates-io.smoltcp]
|
2021-03-25 16:26:36 +08:00
|
|
|
# We manually patch smoltcp so that we can get access to unreleased updates to the DHCP server. When
|
|
|
|
# a new release of smoltcp is made, we can remove this patch.
|
2021-03-25 16:24:58 +08:00
|
|
|
git = "https://github.com/smoltcp-rs/smoltcp.git"
|
2021-03-15 19:30:18 +08:00
|
|
|
|
2020-06-16 22:18:25 +08:00
|
|
|
[dependencies.mcp23017]
|
|
|
|
git = "https://github.com/mrd0ll4r/mcp23017.git"
|
|
|
|
|
|
|
|
[dependencies.stm32h7xx-hal]
|
2020-10-28 22:41:27 +08:00
|
|
|
features = ["stm32h743v", "rt", "unproven", "ethernet", "quadspi"]
|
2021-02-03 21:06:09 +08:00
|
|
|
git = "https://github.com/stm32-rs/stm32h7xx-hal"
|
2021-02-15 15:53:55 +08:00
|
|
|
branch = "master"
|
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
|