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]
|
2021-05-14 13:16:47 +08:00
|
|
|
cortex-m = { version = "0.7" }
|
2020-06-16 22:18:25 +08:00
|
|
|
cortex-m-rt = { version = "0.6", features = ["device"] }
|
2021-05-13 01:02:15 +08:00
|
|
|
log = { version = "0.4", features = ["max_level_trace", "release_max_level_info"] }
|
2021-05-14 13:16:47 +08:00
|
|
|
rtt-target = { version = "0.3", features = ["cortex-m"] }
|
2020-06-16 22:18:25 +08:00
|
|
|
serde = { version = "1.0", features = ["derive"], default-features = false }
|
2021-05-28 22:40:46 +08:00
|
|
|
heapless = { version = "0.7", features = ["serde"] }
|
2021-03-04 12:07:51 +08:00
|
|
|
cortex-m-rtic = "0.5.6"
|
2021-05-14 01:15:34 +08:00
|
|
|
embedded-hal = "0.2.5"
|
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"
|
2021-05-12 18:59:58 +08:00
|
|
|
num_enum = { version = "0.5.1", default-features = false }
|
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-04-29 03:03:38 +08:00
|
|
|
miniconf = "0.1.0"
|
2021-05-05 20:42:17 +08:00
|
|
|
shared-bus = {version = "0.2.2", features = ["cortex-m"] }
|
2021-05-28 22:40:51 +08:00
|
|
|
serde-json-core = "0.4"
|
2021-05-26 04:59:32 +08:00
|
|
|
mcp23017 = "1.0"
|
2021-04-07 22:44:39 +08:00
|
|
|
|
2021-05-14 23:36:47 +08:00
|
|
|
# rtt-target bump
|
2021-05-14 13:16:47 +08:00
|
|
|
[dependencies.rtt-logger]
|
|
|
|
git = "https://github.com/quartiq/rtt-logger.git"
|
|
|
|
rev = "70b0eb5"
|
|
|
|
|
2021-06-01 19:11:16 +08:00
|
|
|
# fast double buffered DMA without poisoning and buffer swapping
|
2021-04-07 22:44:39 +08:00
|
|
|
[dependencies.stm32h7xx-hal]
|
|
|
|
features = ["stm32h743v", "rt", "unproven", "ethernet", "quadspi"]
|
2021-05-25 02:06:31 +08:00
|
|
|
# version = "0.9.0"
|
|
|
|
git = "https://github.com/quartiq/stm32h7xx-hal.git"
|
2021-06-01 19:11:16 +08:00
|
|
|
rev = "b0b8a93"
|
2021-01-27 02:14:23 +08:00
|
|
|
|
2021-05-14 23:36:47 +08:00
|
|
|
# link.x section start/end
|
2021-03-29 02:32:50 +08:00
|
|
|
[patch.crates-io.cortex-m-rt]
|
2021-04-29 22:39:01 +08:00
|
|
|
git = "https://github.com/rust-embedded/cortex-m-rt.git"
|
|
|
|
rev = "a2e3ad5"
|
2021-03-29 02:32:50 +08:00
|
|
|
|
2021-02-18 01:40:03 +08:00
|
|
|
[patch.crates-io.miniconf]
|
2021-04-29 03:03:38 +08:00
|
|
|
git = "https://github.com/quartiq/miniconf.git"
|
2021-05-29 00:34:25 +08:00
|
|
|
rev = "2750533"
|
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-05-27 23:15:31 +08:00
|
|
|
rev = "5e56576"
|
2021-02-19 17:36:39 +08:00
|
|
|
|
2021-04-22 21:16:33 +08:00
|
|
|
[dependencies.minimq]
|
2021-03-02 23:43:19 +08:00
|
|
|
git = "https://github.com/quartiq/minimq.git"
|
2021-05-27 23:15:31 +08:00
|
|
|
rev = "dbdbec0"
|
2020-06-16 22:18:25 +08:00
|
|
|
|
|
|
|
[features]
|
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
|