# 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 = "itsybitsy_m4" version = "0.9.0" authors = [ "Nic Hartley ", "Tom ", ] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Board Support crate for the Adafruit ItsyBitsy 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 = "ATSAMD51G19A" [lib] name = "itsybitsy_m4" path = "src/lib.rs" [[example]] name = "blinky_basic" path = "examples/blinky_basic.rs" [[example]] name = "dotstar" path = "examples/dotstar.rs" [[example]] name = "sercom_interrupt" path = "examples/sercom_interrupt.rs" [[example]] name = "spi" path = "examples/spi.rs" [[example]] name = "usb_serial" path = "examples/usb_serial.rs" required-features = [ "usb", "use_rtt", ] [dependencies.apa102-spi] version = "0.3" [dependencies.atsamd-hal] version = "0.17" default-features = false [dependencies.bitbang-hal] version = "0.3" [dependencies.cortex-m-rt] version = "0.7" optional = true [dependencies.embedded-hal-02] version = "0.2" features = ["unproven"] package = "embedded-hal" [dependencies.smart-leds] version = "0.3" [dependencies.usb-device] version = "0.3.1" optional = true [dev-dependencies.cortex-m] version = "0.7" features = ["critical-section-single-core"] [dev-dependencies.panic-halt] version = "0.2" [dev-dependencies.panic-semihosting] version = "0.6" [dev-dependencies.usbd-serial] version = "0.2.2" [features] default = [ "rt", "atsamd-hal/samd51g", ] rt = [ "cortex-m-rt", "atsamd-hal/samd51g-rt", ] usb = [ "atsamd-hal/usb", "usb-device", ] use_rtt = ["atsamd-hal/use_rtt"] use_semihosting = []