[package] name = "arduino_mkrzero" version = "0.12.2" authors = ["Wez Furlong ", "David McGillicuddy "] description = "Board Support crate for the Arduino MKRZERO" keywords = ["no-std", "arm", "cortex-m", "embedded-hal", "arduino"] categories = ["embedded", "hardware-support", "no-std"] license = "MIT OR Apache-2.0" repository = "https://github.com/atsamd-rs/atsamd" readme = "README.md" edition = "2021" [dependencies.cortex-m-rt] version = "0.7" optional = true [dependencies.atsamd-hal] version = "0.16" default-features = false [dependencies.usb-device] version = "0.2" optional = true [dependencies.embedded-sdmmc] version = "0.3" optional = true [dev-dependencies] cortex-m = "0.7" usbd-serial = "0.1" panic-halt = "0.2" panic-semihosting = "0.5" cortex-m-rtic = "1.0" [features] # ask the HAL to enable atsamd21g support default = ["rt", "atsamd-hal/samd21g", "usb"] rt = ["cortex-m-rt", "atsamd-hal/samd21g-rt"] usb = ["atsamd-hal/usb", "usb-device"] unproven = ["atsamd-hal/unproven"] use_semihosting = [] rtic = ["atsamd-hal/rtic"] # for cargo flash [package.metadata] chip = "ATSAMD21G18A" [dependencies] embedded-hal = "0.2.7" [[example]] name = "blinky_basic" [[example]] name = "blinky_rtic" required-features = ["rtic", "unproven"] [[example]] name = "usb_logging" required-features = ["usb"] [[example]] name = "pwm" required-features = ["unproven"]