99 lines
2.5 KiB
TOML
99 lines
2.5 KiB
TOML
[package]
|
|
name = "stabilizer"
|
|
version = "0.5.0"
|
|
resolver = "2"
|
|
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 = "MIT OR Aapache-2.0"
|
|
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]
|
|
maintenance = { status = "experimental" }
|
|
|
|
[package.metadata.docs.rs]
|
|
features = []
|
|
default-target = "thumbv7em-none-eabihf"
|
|
|
|
[workspace]
|
|
members = ["ad9959", "dsp"]
|
|
|
|
[dependencies]
|
|
cortex-m = { version = "0.7" }
|
|
cortex-m-rt = { version = "0.6", features = ["device"] }
|
|
log = { version = "0.4", features = ["max_level_trace", "release_max_level_info"] }
|
|
rtt-target = { version = "0.3", features = ["cortex-m"] }
|
|
serde = { version = "1.0", features = ["derive"], default-features = false }
|
|
heapless = { version = "0.7", features = ["serde"] }
|
|
cortex-m-rtic = "0.5.7"
|
|
embedded-hal = "0.2.5"
|
|
nb = "1.0.0"
|
|
asm-delay = "0.9.0"
|
|
num_enum = { version = "0.5.3", default-features = false }
|
|
paste = "1"
|
|
dsp = { path = "dsp" }
|
|
ad9959 = { path = "ad9959" }
|
|
miniconf = "0.1.0"
|
|
shared-bus = {version = "0.2.2", features = ["cortex-m"] }
|
|
serde-json-core = "0.4"
|
|
mcp23017 = "1.0"
|
|
mutex-trait = "0.2"
|
|
minimq = "0.3"
|
|
|
|
# rtt-target bump
|
|
[dependencies.rtt-logger]
|
|
git = "https://github.com/quartiq/rtt-logger.git"
|
|
rev = "70b0eb5"
|
|
|
|
# The following modifications of the HAL are being used:
|
|
# * fast double buffered DMA without poisoning and buffer swapping
|
|
# * Utilize `master` branch of smoltcp
|
|
# * Utilize `master` branch of HAL
|
|
[dependencies.stm32h7xx-hal]
|
|
features = ["stm32h743v", "rt", "unproven", "ethernet", "quadspi"]
|
|
# version = "0.9.0"
|
|
git = "https://github.com/quartiq/stm32h7xx-hal.git"
|
|
rev = "33aa67d"
|
|
|
|
# link.x section start/end
|
|
[patch.crates-io.cortex-m-rt]
|
|
git = "https://github.com/rust-embedded/cortex-m-rt.git"
|
|
rev = "a2e3ad5"
|
|
|
|
[patch.crates-io.heapless]
|
|
git = "https://github.com/quartiq/heapless.git"
|
|
branch = "feature/assume-init"
|
|
|
|
[patch.crates-io.miniconf]
|
|
git = "https://github.com/quartiq/miniconf.git"
|
|
rev = "6c19ba2"
|
|
|
|
[dependencies.smoltcp-nal]
|
|
git = "https://github.com/quartiq/smoltcp-nal.git"
|
|
rev = "0634188"
|
|
|
|
[features]
|
|
nightly = ["cortex-m/inline-asm", "dsp/nightly"]
|
|
pounder_v1_1 = [ ]
|
|
|
|
[profile.dev]
|
|
codegen-units = 1
|
|
incremental = false
|
|
opt-level = 3
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
debug = true
|
|
lto = true
|
|
codegen-units = 1
|