# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "grand_central_m4" version = "0.8.2" authors = ["Dustin Little "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Board Support crate for the Adafruit Grand Central M4 Express" readme = "README.md" keywords = [ "no-std", "arm", "cortex-m", "embedded-hal", ] categories = [ "embedded", "hardware-support", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/atsamd-rs/atsamd" [package.metadata] chip = "ATSAMD51P20A" [lib] name = "grand_central_m4" path = "src/lib.rs" [[example]] name = "blinky_basic" path = "examples/blinky_basic.rs" [[example]] name = "eic" path = "examples/eic.rs" [[example]] name = "i2c" path = "examples/i2c.rs" required-features = ["dma"] [[example]] name = "neopixel_rainbow" path = "examples/neopixel_rainbow.rs" [[example]] name = "usb_serial" path = "examples/usb_serial.rs" required-features = ["usb"] [dependencies.atsamd-hal] version = "0.19.0" default-features = false [dependencies.cortex-m] version = "0.7" features = ["critical-section-single-core"] [dependencies.cortex-m-rt] version = "0.7" optional = true [dependencies.usb-device] version = "0.3.2" optional = true [dev-dependencies.cortex-m] version = "0.7" [dev-dependencies.panic-halt] version = "0.2" [dev-dependencies.panic-semihosting] version = "0.5" [dev-dependencies.smart-leds] version = "0.3" [dev-dependencies.usbd-serial] version = "0.2" [dev-dependencies.ws2812-timer-delay] version = "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", ]