X-Git-Url: https://git.patrickod.com/tor.noisebridge.net/diff/src/components/MoreInformation.js?a=blobdiff_plain;f=rs-lorachat%2FCargo.toml;h=904d7e8ed9eb7a53fbda28d113375b783b0ce0e4;hb=8b63499a590ecf56e52bb867684d2f669e575954;hp=f64427cb35884f9fb8e1329a67b20bf22060a4f5;hpb=7ca2acacf40053d56427ec1ca0eab6d0ec1c67d7;p=tincan.git diff --git a/rs-lorachat/Cargo.toml b/rs-lorachat/Cargo.toml index f64427c..904d7e8 100644 --- a/rs-lorachat/Cargo.toml +++ b/rs-lorachat/Cargo.toml @@ -5,22 +5,24 @@ authors = ["Andy Isaacson "] edition = "2018" [dependencies] -feather_m0 = { git = "https://github.com/atsamd-rs/atsamd" } +feather_m0 = { version = "0.9.0", features = ["usb"] } +cortex-m = "0.6" +embedded-hal = "0.2.3" +cortex-m-rt = { version = "0.6.12", optional = true } +atsamd-hal = "0.12" +panic-halt = { version = "0.2", optional = true } +usb-device = { version = "0.2", optional = true } +usbd-serial = { version = "0.1", optional = true } - -[dependencies.cortex-m-rt] -version = "0.6.12" -optional = true - -[dependencies.atsamd-hal] -version = "0.12" -default-features = false - -[dependencies.panic-halt] -version = "0.2" -optional = true +[dev-dependencies] +cortex-m-semihosting = "0.3" +heapless = "0.5" [features] default = ["rt", "atsamd-hal/samd21g", "panic_halt"] rt = ["cortex-m-rt", "atsamd-hal/samd21g-rt"] panic_halt = ["panic-halt"] +usb = ["atsamd-hal/usb", "usb-device", "usbd-serial"] +unproven = ["atsamd-hal/unproven"] +# Enable pins for the radio on "RadioFruits" with RFM95, RFM96, RFM69 +rfm = []