4 releases (1 stable)
1.0.0 | Apr 16, 2024 |
---|---|
0.2.0 | Feb 11, 2024 |
0.1.1 | Feb 11, 2024 |
0.1.0 | Apr 14, 2023 |
0.0.0 |
|
#812 in Hardware support
56KB
1.5K
SLoC
usbd-storage
Experimental USB Mass Storage implementation for usb-device.
Subclasses
Implemented subclasses:
SCSI device
- number of SCSI commands is not exhaustive. Open a PR, if you want to add one.USB Floppy Interface
It is possible to implement a vendor specific subclass.
Transports
Currently, only Bulk Only
transport is implemented. It is possible to implement a vendor-specific transport.
Features
This crate has a couple of opt-in features that all could be used independently.
Feature | Description |
---|---|
bbb |
Include Bulk Only Transport |
scsi |
Include SCSI subclass |
ufi |
Include USB Floppy Interface sublcass |
defmt |
Enable logging via defmt crate |
Examples
See examples
lib.rs
:
USB Mass Storage implementation for usb-device
Subclasses:
- SCSI - SCSI device
- UFI - USB Floppy Interface
- Vendor Specific subclass - implement Transport trait
Transports:
Features
Feature | Description |
---|---|
bbb |
Include Bulk Only Transport |
scsi |
Include SCSI subclass |
ufi |
Include USB Floppy Interface sublcass |
defmt |
Enable logging via defmt crate |
Dependencies
~2.5MB
~49K SLoC