# 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 = "xiao_m0" version = "0.13.0" authors = [ "Garret Kelly ", "Maciej Procyk ", ] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Board support crate for the Seeed Studio Seeeduino XIAO" 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 = "xiao_m0" path = "src/lib.rs" [[example]] name = "blink" path = "examples/blink.rs" [[example]] name = "eic" path = "examples/eic.rs" [[example]] name = "sercom_interrupt" path = "examples/sercom_interrupt.rs" [[example]] name = "shared_i2c" path = "examples/shared_i2c.rs" [[example]] name = "ssd1306_i2c" path = "examples/ssd1306_i2c.rs" [[example]] name = "usb_echo" path = "examples/usb_echo.rs" required-features = ["usb"] [dependencies.atsamd-hal] version = "0.17" default-features = false [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" features = ["critical-section-single-core"] [dev-dependencies.embedded-graphics] version = "0.8" [dev-dependencies.mpu6050] version = "0.1.4" [dev-dependencies.panic-halt] version = "0.2" [dev-dependencies.shared-bus] version = "0.3.1" [dev-dependencies.ssd1306] version = "0.8" [dev-dependencies.usbd-serial] version = "0.2" [features] default = [ "rt", "atsamd-hal/samd21g", ] rt = [ "cortex-m-rt", "atsamd-hal/samd21g-rt", ] usb = [ "atsamd-hal/usb", "usb-device", ]