[package] name = "va108xx-embassy" version = "0.1.2" edition = "2021" authors = ["Robin Mueller "] description = "Embassy-rs support for the Vorago VA108xx family of microcontrollers" homepage = "https://egit.irs.uni-stuttgart.de/rust/va108xx-rs" repository = "https://egit.irs.uni-stuttgart.de/rust/va108xx-rs" license = "Apache-2.0" keywords = ["no-std", "hal", "cortex-m", "vorago", "va108xx"] categories = ["aerospace", "embedded", "no-std", "hardware-support"] [dependencies] critical-section = "1" embassy-sync = "0.6" embassy-executor = "0.7" embassy-time-driver = "0.2" embassy-time-queue-utils = "0.1" once_cell = { version = "1", default-features = false, features = ["critical-section"] } va108xx-hal = { version = "0.10", path = "../va108xx-hal" } [target.'cfg(all(target_arch = "arm", target_os = "none"))'.dependencies] portable-atomic = { version = "1", features = ["unsafe-assume-single-core"] } [target.'cfg(not(all(target_arch = "arm", target_os = "none")))'.dependencies] portable-atomic = "1" [features] default = ["irq-oc30-oc31"] irqs-in-lib = [] # This determines the reserved interrupt functions for the embassy time drivers. Only one # is allowed to be selected! irq-oc28-oc29 = ["irqs-in-lib"] irq-oc29-oc30 = ["irqs-in-lib"] irq-oc30-oc31 = ["irqs-in-lib"] [package.metadata.docs.rs] rustdoc-args = ["--generate-link-to-definition"]