This repository has been archived on 2024-06-16. You can view files and clone it, but cannot push or open issues or pull requests.
va108xx-hal/Cargo.toml

78 lines
1.5 KiB
TOML
Raw Normal View History

2021-11-03 23:11:59 +01:00
[package]
name = "va108xx-hal"
version = "0.5.1"
authors = ["Robin Mueller <muellerr@irs.uni-stuttgart.de>"]
edition = "2021"
description = "HAL for the Vorago VA108xx family of microcontrollers"
homepage = "https://egit.irs.uni-stuttgart.de/rust/va108xx-hal"
repository = "https://egit.irs.uni-stuttgart.de/rust/va108xx-hal"
license = "Apache-2.0"
keywords = ["no-std", "hal", "cortex-m", "vorago", "va108xx"]
2022-06-18 22:06:49 +02:00
categories = ["aerospace", "embedded", "no-std", "hardware-support"]
2021-11-03 23:11:59 +01:00
[dependencies]
2022-06-18 22:06:49 +02:00
va108xx = "0.2.4"
2021-11-08 01:34:09 +01:00
cortex-m = "0.7"
cortex-m-rt = "0.7"
nb = "1"
paste = "1.0"
2022-06-18 22:06:49 +02:00
libm = "0.2.2"
2022-06-18 22:06:49 +02:00
[dependencies.embedded-hal]
version = "0.2.7"
features = ["unproven"]
[dependencies.void]
version = "1.0"
default-features = false
[dependencies.once_cell]
version = "1.12.0"
default-features = false
[features]
2021-11-06 17:10:06 +01:00
rt = ["va108xx/rt"]
2021-11-08 01:43:02 +01:00
[dev-dependencies]
2022-06-18 22:06:49 +02:00
cortex-m-rtic = "1.1.2"
2021-11-08 01:43:02 +01:00
panic-halt = "0.2"
[dev-dependencies.rtt-target]
version = "0.3"
features = ["cortex-m"]
[dev-dependencies.panic-rtt-target]
version = "0.1"
features = ["cortex-m"]
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"]
[[example]]
name = "uart-irq-rtic"
required-features = ["rt"]