usb-device
usb-device copied to clipboard
Experimental device-side USB framework for microcontrollers in Rust.
When constructing a new UsbBus with usb-device 0.2.9 (atsamd21g implementation running on a SAMD21G17D without compile-time optimizations) fatal CPU errors can arise on the target device. Likely this is due...
### Current behavior: * UsbBus is Sync --> the resulting UsbDevice is Sync. * UsbBus is not Sync --> compiler error due to unsatisfied trait bound ### Proposed new behavior:...
Am I understanding correctly that the `UsbBusAllocator` and `UsbDeviceBuilder` APIs don't support creating a device with multiple USB configurations? For example a device that would look like this: - Configuration...
Background can be found at https://github.com/atsamd-rs/atsamd/pull/738 . The USB spec says that the SETUP transactions used with control endpoints must always be accepted by the device [1], and at least...