# 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 = "feather_m4" version = "0.13.1" authors = ["Theodore DeRego "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Board Support crate for the Adafruit Feather M4" documentation = "https://atsamd-rs.github.io/atsamd/atsamd51j/feather_m4/" 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 = "ATSAMD51J19A" [lib] name = "feather_m4" path = "src/lib.rs" [[example]] name = "blinky_basic" path = "examples/blinky_basic.rs" [[example]] name = "clocking_v2" path = "examples/clocking_v2.rs" [[example]] name = "dmac" path = "examples/dmac.rs" required-features = ["dma"] [[example]] name = "i2c" path = "examples/i2c.rs" required-features = ["atsamd-hal/dma"] [[example]] name = "neopixel_rainbow" path = "examples/neopixel_rainbow.rs" [[example]] name = "nvm_dsu" path = "examples/nvm_dsu.rs" required-features = ["usb"] [[example]] name = "pukcc_test" path = "examples/pukcc_test.rs" required-features = ["usb"] [[example]] name = "pwm" path = "examples/pwm.rs" [[example]] name = "serial" path = "examples/serial.rs" [[example]] name = "sleeping_timer_rtc" path = "examples/sleeping_timer_rtc.rs" [[example]] name = "smart_eeprom" path = "examples/smart_eeprom.rs" required-features = ["usb"] [[example]] name = "timers" path = "examples/timers.rs" [[example]] name = "trng" path = "examples/trng.rs" [[example]] name = "uart" path = "examples/uart.rs" required-features = ["dma"] [[example]] name = "uart_poll_echo" path = "examples/uart_poll_echo.rs" [[example]] name = "usb_echo" path = "examples/usb_echo.rs" required-features = ["usb"] [dependencies.atsamd-hal] version = "0.18.1" 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.1" optional = true [dev-dependencies.cortex-m-rtic] version = "0.6.0-rc.2" [dev-dependencies.heapless] 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/samd51j", ] dma = ["atsamd-hal/dma"] max-channels = [ "dma", "atsamd-hal/dma", ] rt = [ "cortex-m-rt", "atsamd-hal/samd51j-rt", ] usb = [ "atsamd-hal/usb", "usb-device", ]