From cd62caadcd82701175286cb03b28226d10a32188 Mon Sep 17 00:00:00 2001 From: bunnie Date: Thu, 12 Jan 2023 01:13:21 +0800 Subject: [PATCH] fix paths and README --- libs/mass-storage/README.md | 12 +++++++++++- services/usb-device-xous/Cargo.toml | 6 ++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/libs/mass-storage/README.md b/libs/mass-storage/README.md index 35a5608ee..7bac094e5 100644 --- a/libs/mass-storage/README.md +++ b/libs/mass-storage/README.md @@ -1,4 +1,14 @@ -# stm32-usb.rs +# Mass Storage Libraries + +The contents of this directory were forked from [stm32-usb.rs](https://github.com/stm32-rs/stm32-usbd). + +This device isn't an STM32. As a result, the code was modified heavily. It doesn't make sense to push patches back to the parent repo. + +Thus, the code was forked at commit [c9cdd0daa920ea72fcb2ba72c0f682733b7034a7](https://github.com/stm32-rs/stm32-usbd/commit/c9cdd0daa920ea72fcb2ba72c0f682733b7034a7) and copied here. + +Below is the original README.md included in the stm32-usb.rs repo. The original LICENSE files are also included adjacent to this README. + +# Original README Experimental [UF2](https://github.com/microsoft/uf2) bootloader written in rust. diff --git a/services/usb-device-xous/Cargo.toml b/services/usb-device-xous/Cargo.toml index 12a9de480..f8b553081 100644 --- a/services/usb-device-xous/Cargo.toml +++ b/services/usb-device-xous/Cargo.toml @@ -29,8 +29,10 @@ usbd-human-interface-device = "0.2.1" embedded-time = "0.12.1" # required by the keyboard interface packed_struct = { version = "0.10", default-features = false } # used by the usbd-human-interface-device crate num_enum = { version = "0.5", default-features = false } # used by the usbd-human-interface-device crate -usbd_scsi = { path = "./stm32-usb.rs/firmware/usbd_scsi", optional = true } -usbd_mass_storage = { path = "./stm32-usb.rs/firmware/usbd_mass_storage", optional = true } + +# Mass storage support +usbd_scsi = { path = "../../libs/mass-storage/usbd_scsi", optional = true } +usbd_mass_storage = { path = "../../libs/mass-storage/usbd_mass_storage", optional = true } ghostfat = "0.5.0"