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

63 lines
1.4 KiB
TOML
Raw Normal View History

2021-11-03 23:11:59 +01:00
[package]
name = "va108xx-hal"
2021-12-12 14:35:15 +01:00
version = "0.4.2"
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"]
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"
nb = "1"
paste = "1.0"
embedded-hal = { features = ["unproven"], version = "0.2.6" }
void = { version = "1.0", default-features = false }
once_cell = { version = "1.8.0", default-features = false }
libm = "0.2.1"
[dependencies.va108xx]
version = "0.2.4"
[features]
2021-11-06 17:10:06 +01:00
rt = ["va108xx/rt"]
2021-11-08 01:43:02 +01:00
[dev-dependencies]
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-16 11:26:26 +01:00
[profile.release-lto]
inherits = "release"
lto = true
2021-11-08 01:43:02 +01:00
[[example]]
name = "timer-ticks"
required-features = ["rt"]
[[example]]
name = "tests"
required-features = ["rt"]
2021-12-05 17:28:30 +01:00
[[example]]
name = "pwm"
required-features = ["rt"]
[[example]]
name = "cascade"
required-features = ["rt"]