[package]
name = "atsamd21-hal"
version = "0.2.1"
authors = ["Wez Furlong <wez@wezfurlong.org>"]
description = "HAL and Peripheral access API for ATSAMD21 microcontrollers"
keywords = ["no-std", "arm", "cortex-m", "embedded-hal"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/wez/atsamd21-rs"
readme = "README.md"
[dependencies]
cortex-m = "~0.5"
embedded-hal = "~0.2"
nb = "~0.1"
mashup = "^0.1.6"
bitfield = "~0.13"
[dependencies.void]
default-features = false
version = "~1.0"
[dependencies.atsamd21g18a]
path = "../pac/atsamd21g18a"
version = "~0.3"
optional = true
[dependencies.atsamd21e18a]
path = "../pac/atsamd21e18a"
version = "~0.3"
optional = true
[dev-dependencies]
panic-abort = "~0.1"
panic-semihosting = "~0.1"
cortex-m-semihosting = "~0.2"
cortex-m-rtfm = "~0.3"
sx1509 = "~0.2"
[features]
default = ["samd21g18a"]
samd21g18a = ["atsamd21g18a"]
samd21g18a-rt = ["atsamd21g18a", "atsamd21g18a/rt"]
samd21e18a = ["atsamd21e18a"]
samd21e18a-rt = ["atsamd21e18a", "atsamd21e18a/rt"]
unproven = ["embedded-hal/unproven"]