[package] name = "grand_central_m4" version = "0.8.2" authors = ["Dustin Little "] description = "Board Support crate for the Adafruit Grand Central M4 Express" keywords = ["no-std", "arm", "cortex-m", "embedded-hal"] categories = ["embedded", "hardware-support", "no-std"] license = "MIT OR Apache-2.0" edition = "2021" repository = "https://github.com/atsamd-rs/atsamd" readme = "README.md" [dependencies.cortex-m-rt] version = "0.7" optional = true [dependencies.atsamd-hal] version = "0.19.0" default-features = false [dependencies.usb-device] version = "0.3.2" optional = true [dependencies.cortex-m] version = "0.7" features = ["critical-section-single-core"] [dev-dependencies] cortex-m = "0.7" usbd-serial = "0.2" panic-halt = "0.2" panic-semihosting = "0.5" smart-leds = "0.3" ws2812-timer-delay = "0.3" [features] default = ["rt", "atsamd-hal/samd51p"] dma = ["atsamd-hal/dma"] max-channels = ["dma", "atsamd-hal/max-channels"] rt = ["cortex-m-rt", "atsamd-hal/samd51p-rt"] usb = ["atsamd-hal/usb", "usb-device"] # for cargo flash [package.metadata] chip = "ATSAMD51P20A" [[example]] name = "blinky_basic" [[example]] name = "i2c" required-features = ["dma"] [[example]] name = "eic" [[example]] name = "neopixel_rainbow" [[example]] name = "usb_serial" required-features = ["usb"]