]> patrickod personal git archive - tincan.git/blobdiff - rs-lorachat/Cargo.toml
import 0.12 (?) usb_echo wholesale
[tincan.git] / rs-lorachat / Cargo.toml
index 85fa0081d6fcf1a1e63fedc35f1913760b9a376d..b76ed9186bdb91f98b65ab17afbd7bb89809d003 100644 (file)
@@ -6,3 +6,39 @@ edition = "2018"
 
 [dependencies]
 feather_m0 = { git = "https://github.com/atsamd-rs/atsamd" }
+# feather_m0 = { path = "/home/adi/opp/atsamd" }
+cortex-m = "0.6"
+embedded-hal = "0.2.3"
+
+[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
+
+[dependencies.usb-device]
+version = "0.2"
+optional = true
+
+[dependencies.usbd-serial]
+version = "0.1"
+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 = []