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"] }
|
|
|
|
cortex-m-log = { version = "0.6", features = ["log-integration"] }
|
|
|
|
log = "0.4"
|
|
|
|
panic-semihosting = { version = "0.5", optional = true }
|
|
|
|
panic-halt = "0.2"
|
|
|
|
serde = { version = "1.0", features = ["derive"], default-features = false }
|
|
|
|
heapless = { version = "0.5", features = ["serde"] }
|
|
|
|
serde-json-core = "0.1"
|
2020-08-28 12:15:56 +08:00
|
|
|
cortex-m-rtic = "0.5.5"
|
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" }
|
2020-06-16 22:18:25 +08:00
|
|
|
|
|
|
|
[dependencies.mcp23017]
|
|
|
|
git = "https://github.com/mrd0ll4r/mcp23017.git"
|
|
|
|
|
|
|
|
[dependencies.smoltcp]
|
|
|
|
version = "0.6"
|
|
|
|
features = ["ethernet", "proto-ipv4", "socket-tcp", "proto-ipv6"]
|
|
|
|
default-features = false
|
|
|
|
|
|
|
|
[dependencies.stm32h7xx-hal]
|
2020-10-28 22:41:27 +08:00
|
|
|
features = ["stm32h743v", "rt", "unproven", "ethernet", "quadspi"]
|
2020-12-17 21:27:47 +08:00
|
|
|
git = "https://github.com/quartiq/stm32h7xx-hal"
|
|
|
|
branch = "feature/dma-buffer-swap-logic"
|
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"]
|
2020-06-16 22:18:25 +08:00
|
|
|
|
2020-06-09 00:11:14 +08:00
|
|
|
[profile.dev]
|
|
|
|
codegen-units = 1
|
|
|
|
incremental = false
|
2020-11-11 18:57:14 +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
|