2021-11-03 23:11:59 +01:00
|
|
|
[package]
|
|
|
|
name = "va108xx-hal"
|
2021-12-20 11:36:02 +01:00
|
|
|
version = "0.5.0"
|
2021-12-06 13:01:50 +01:00
|
|
|
authors = ["Robin Mueller <muellerr@irs.uni-stuttgart.de>"]
|
2021-11-09 18:30:46 +01:00
|
|
|
edition = "2021"
|
2021-11-06 01:27:04 +01:00
|
|
|
description = "HAL for the Vorago VA108xx family of microcontrollers"
|
2021-12-06 13:01:50 +01:00
|
|
|
homepage = "https://egit.irs.uni-stuttgart.de/rust/va108xx-hal"
|
|
|
|
repository = "https://egit.irs.uni-stuttgart.de/rust/va108xx-hal"
|
|
|
|
license = "Apache-2.0"
|
2021-11-06 01:27:04 +01:00
|
|
|
keywords = ["no-std", "hal", "cortex-m", "vorago", "va108xx"]
|
|
|
|
categories = ["embedded", "no-std", "hardware-support"]
|
2021-11-03 23:11:59 +01:00
|
|
|
|
|
|
|
[dependencies]
|
2021-11-08 01:34:09 +01:00
|
|
|
cortex-m = "0.7"
|
|
|
|
cortex-m-rt = "0.7"
|
2021-11-06 01:27:04 +01:00
|
|
|
nb = "1"
|
2021-11-11 17:20:19 +01:00
|
|
|
paste = "1.0"
|
2021-11-06 01:27:04 +01:00
|
|
|
embedded-hal = { features = ["unproven"], version = "0.2.6" }
|
2021-11-08 01:40:01 +01:00
|
|
|
void = { version = "1.0", default-features = false }
|
|
|
|
once_cell = { version = "1.8.0", default-features = false }
|
2021-11-09 18:30:46 +01:00
|
|
|
libm = "0.2.1"
|
2021-11-06 01:27:04 +01:00
|
|
|
|
|
|
|
[dependencies.va108xx]
|
2021-12-06 01:55:00 +01:00
|
|
|
version = "0.2.4"
|
2021-11-06 01:27:04 +01:00
|
|
|
|
|
|
|
[features]
|
2021-11-06 17:10:06 +01:00
|
|
|
rt = ["va108xx/rt"]
|
|
|
|
|
2021-11-08 01:43:02 +01:00
|
|
|
[dev-dependencies]
|
2021-12-19 14:38:11 +01:00
|
|
|
cortex-m-rtic = "0.6.0-rc.4"
|
2021-11-08 01:43:02 +01:00
|
|
|
panic-rtt-target = { version = "0.1", features = ["cortex-m"] }
|
|
|
|
rtt-target = { version = "0.3", features = ["cortex-m"] }
|
|
|
|
panic-halt = "0.2"
|
|
|
|
|
2021-11-06 17:10:06 +01:00
|
|
|
[profile.dev]
|
|
|
|
debug = true
|
2021-11-08 01:34:09 +01:00
|
|
|
lto = false
|
2021-11-06 17:10:06 +01:00
|
|
|
|
|
|
|
[profile.release]
|
2021-12-16 11:26:26 +01:00
|
|
|
# Problematic because RTT won't work
|
|
|
|
lto = false
|
2021-11-06 17:10:06 +01:00
|
|
|
debug = true
|
|
|
|
opt-level = "s"
|
2021-11-08 01:43:02 +01:00
|
|
|
|
2021-12-18 14:41:56 +01:00
|
|
|
# Commented until named-profiles feature is stabilized
|
|
|
|
# [profile.release-lto]
|
|
|
|
# inherits = "release"
|
|
|
|
# lto = true
|
2021-12-19 14:25:15 +01:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "timer-ticks"
|
|
|
|
required-features = ["rt"]
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "tests"
|
|
|
|
required-features = ["rt"]
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "cascade"
|
|
|
|
required-features = ["rt"]
|
2021-12-19 14:38:11 +01:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "uart-irq-rtic"
|
|
|
|
required-features = ["rt"]
|