https://github.com/suhteevah/usb-storage-nostd
no_std USB Mass Storage (BOT/SCSI) driver in Rust
https://github.com/suhteevah/usb-storage-nostd
bare-metal driver embedded no-std operating-system osdev rust usb usb-mass-storage
Last synced: 9 days ago
JSON representation
no_std USB Mass Storage (BOT/SCSI) driver in Rust
- Host: GitHub
- URL: https://github.com/suhteevah/usb-storage-nostd
- Owner: suhteevah
- License: apache-2.0
- Created: 2026-04-03T13:31:17.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2026-06-09T09:31:21.000Z (14 days ago)
- Last Synced: 2026-06-09T11:15:21.904Z (14 days ago)
- Topics: bare-metal, driver, embedded, no-std, operating-system, osdev, rust, usb, usb-mass-storage
- Language: Rust
- Size: 34.2 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# usb-storage-nostd
`no_std` USB Mass Storage (BOT/SCSI) driver in Rust for bare-metal systems.
## Features
- Bulk-Only Transport (BOT) protocol: 31-byte CBW, 13-byte CSW, reset recovery
- SCSI command builders/parsers: INQUIRY, READ_CAPACITY_10, READ_10, WRITE_10, TEST_UNIT_READY, REQUEST_SENSE, MODE_SENSE
- BlockDevice trait for VFS integration
- USB Mass Storage class detection (class 0x08, subclass 0x06, protocol 0x50)
- Write-protect detection via MODE_SENSE
## License
Licensed under either of Apache License 2.0 or MIT License at your option.