# 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 = "p1am_100" version = "0.3.1" authors = ["Quentin Smith "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Board Support crate for the Facts Engineering P1AM-100" 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" [lib] name = "p1am_100" path = "src/lib.rs" [[example]] name = "adc" path = "examples/adc.rs" required-features = ["unproven"] [[example]] name = "blinky_basic" path = "examples/blinky_basic.rs" [[example]] name = "clock" path = "examples/clock.rs" required-features = ["usb"] [[example]] name = "pwm" path = "examples/pwm.rs" required-features = ["unproven"] [[example]] name = "sleeping_timer" path = "examples/sleeping_timer.rs" [[example]] name = "sleeping_timer_rtc" path = "examples/sleeping_timer_rtc.rs" [[example]] name = "timers" path = "examples/timers.rs" [[example]] name = "uart_echo_rtic" path = "examples/uart_echo_rtic.rs" required-features = ["unproven"] [[example]] name = "usb_echo" path = "examples/usb_echo.rs" required-features = [ "usb", "unproven", ] [[example]] name = "usb_echo_rtic" path = "examples/usb_echo_rtic.rs" required-features = [ "usb", "unproven", ] [dependencies.atsamd-hal] version = "0.14" default-features = false [dependencies.cortex-m-rt] version = "0.7" optional = true [dependencies.usb-device] version = "0.2" optional = true [dev-dependencies.cortex-m] version = "0.7" [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.heapless] version = "0.7" [dev-dependencies.nom] version = "5.1" default-features = false [dev-dependencies.panic-halt] version = "0.2" [dev-dependencies.panic-semihosting] version = "0.5" [dev-dependencies.usbd-serial] version = "0.1" [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", ] unproven = ["atsamd-hal/unproven"] usb = [ "atsamd-hal/usb", "usb-device", ] use_rtt = ["atsamd-hal/use_rtt"] use_semihosting = []