# 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_m0" version = "0.14.0" authors = ["Ben Bergman "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Board Support crate for the Adafruit ItsyBitsy M0" 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 = "ATSAMD21G18A" [lib] name = "itsybitsy_m0" path = "src/lib.rs" [[example]] name = "adc" path = "examples/adc.rs" [[example]] name = "blinky_basic" path = "examples/blinky_basic.rs" [[example]] name = "blinky_rtic" path = "examples/blinky_rtic.rs" required-features = ["rtic"] [[example]] name = "clock" path = "examples/clock.rs" required-features = ["usb"] [[example]] name = "dmac" path = "examples/dmac.rs" required-features = ["dma"] [[example]] name = "dotstar_flashing" path = "examples/dotstar_flashing.rs" [[example]] name = "dotstar_rainbow" path = "examples/dotstar_rainbow.rs" [[example]] name = "eic" path = "examples/eic.rs" [[example]] name = "pwm" path = "examples/pwm.rs" [[example]] name = "sleeping_timer" path = "examples/sleeping_timer.rs" [[example]] name = "sleeping_timer_rtc" path = "examples/sleeping_timer_rtc.rs" [[example]] name = "ssd1306_graphicsmode_128x64_i2c" path = "examples/ssd1306_graphicsmode_128x64_i2c.rs" [[example]] name = "ssd1306_graphicsmode_128x64_spi" path = "examples/ssd1306_graphicsmode_128x64_spi.rs" [[example]] name = "ssd1306_terminalmode_128x64_i2c" path = "examples/ssd1306_terminalmode_128x64_i2c.rs" [[example]] name = "ssd1306_terminalmode_128x64_spi" path = "examples/ssd1306_terminalmode_128x64_spi.rs" [[example]] name = "timers" path = "examples/timers.rs" [[example]] name = "twitching_usb_mouse" path = "examples/twitching_usb_mouse.rs" required-features = ["usb"] [[example]] name = "uart" path = "examples/uart.rs" required-features = ["dma"] [[example]] name = "usb_echo" path = "examples/usb_echo.rs" required-features = ["usb"] [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.embedded-sdmmc] version = "0.3" optional = true [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.cortex-m-rtic] version = "1.0" [dev-dependencies.cortex-m-semihosting] version = "0.3" [dev-dependencies.drogue-nom-utils] version = "0.1" [dev-dependencies.embedded-graphics] version = "0.7.1" [dev-dependencies.heapless] version = "0.7" [dev-dependencies.nom] version = "5" default-features = false [dev-dependencies.panic-halt] version = "0.2" [dev-dependencies.panic-semihosting] version = "0.5" [dev-dependencies.ssd1306] version = "0.7" [dev-dependencies.usbd-hid] version = "0.8.2" [dev-dependencies.usbd-serial] version = "0.2.2" [features] default = [ "rt", "atsamd-hal/samd21g", ] dma = ["atsamd-hal/dma"] max-channels = [ "dma", "atsamd-hal/max-channels", ] rt = [ "cortex-m-rt", "atsamd-hal/samd21g-rt", ] rtic = ["atsamd-hal/rtic"] sdmmc = [ "embedded-sdmmc", "atsamd-hal/sdmmc", ] usb = [ "atsamd-hal/usb", "usb-device", ] use_rtt = ["atsamd-hal/use_rtt"] use_semihosting = []