81 lines
2.1 KiB
TOML
81 lines
2.1 KiB
TOML
[package]
|
|
name = "stabilizer"
|
|
version = "0.4.1"
|
|
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/*"
|
|
]
|
|
|
|
[badges]
|
|
travis-ci = { repository = "quartiq/stabilizer", branch = "master" }
|
|
maintenance = { status = "experimental" }
|
|
|
|
[package.metadata.docs.rs]
|
|
features = []
|
|
default-target = "thumbv7em-none-eabihf"
|
|
|
|
[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"
|
|
cortex-m-rtic = "0.5.5"
|
|
embedded-hal = "0.2.4"
|
|
nb = "1.0.0"
|
|
asm-delay = "0.9.0"
|
|
enum-iterator = "0.6.0"
|
|
|
|
[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.ad9959]
|
|
path = "ad9959"
|
|
|
|
[dependencies.stm32h7-ethernet]
|
|
git = "https://github.com/quartiq/stm32h7-ethernet.git"
|
|
branch = "master"
|
|
features = ["stm32h743v"]
|
|
|
|
[dependencies.stm32h7xx-hal]
|
|
features = ["stm32h743v", "rt", "unproven"]
|
|
# git = "https://github.com/quartiq/stm32h7xx-hal.git"
|
|
# branch = "feature/pounder-support"
|
|
path = "../stm32h7xx-hal"
|
|
|
|
[features]
|
|
semihosting = ["panic-semihosting", "cortex-m-log/semihosting"]
|
|
bkpt = [ ]
|
|
nightly = ["cortex-m/inline-asm"]
|
|
|
|
[profile.dev]
|
|
codegen-units = 1
|
|
incremental = false
|
|
opt-level = 3
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
debug = true
|
|
lto = true
|
|
codegen-units = 1
|