From 62fdd309c55286222d1add4ca3051353da0e11b8 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Wed, 31 Mar 2021 17:40:53 +0200 Subject: Enable USB CDC ACM for eval-clock-cw-tx --- sw/eval-clock-cw-tx/Cargo.lock | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'sw/eval-clock-cw-tx/Cargo.lock') diff --git a/sw/eval-clock-cw-tx/Cargo.lock b/sw/eval-clock-cw-tx/Cargo.lock index 8007053..e0152f2 100644 --- a/sw/eval-clock-cw-tx/Cargo.lock +++ b/sw/eval-clock-cw-tx/Cargo.lock @@ -146,6 +146,8 @@ dependencies = [ "shared-bus", "si5351", "stm32f1xx-hal", + "usb-device", + "usbd-serial", ] [[package]] @@ -280,6 +282,17 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" +[[package]] +name = "stm32-usbd" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70d13eca735cae37df697f599777b000cc0ee924df8452f2b4bfaa6798ab0338" +dependencies = [ + "cortex-m 0.6.7", + "usb-device", + "vcell", +] + [[package]] name = "stm32f1" version = "0.11.0" @@ -304,6 +317,7 @@ dependencies = [ "embedded-dma", "embedded-hal", "nb 0.1.3", + "stm32-usbd", "stm32f1", "void", ] @@ -331,6 +345,23 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564" +[[package]] +name = "usb-device" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6be90410d4772074ea49525e2e753b65920b94b57eee21a6ef7b6a6fe6296245" + +[[package]] +name = "usbd-serial" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db75519b86287f12dcf0d171c7cf4ecc839149fe9f3b720ac4cfce52959e1dfe" +dependencies = [ + "embedded-hal", + "nb 0.1.3", + "usb-device", +] + [[package]] name = "vcell" version = "0.1.3" -- cgit v1.2.3