stm32-usbd
stm32-usbd copied to clipboard
usb-device implementation for STM32 microcontrollers
So deps can release on Crates.io. Thx! https://github.com/stm32-rs/stm32-usbd/pull/33
I have a hard-real-time firmware application that is implemented with RTIC on an STM32F303. I am using the USB interface to provide secondary (non-real-time) diagnostic capabilities. I poll the UsbDevice...
There is the [`bus::UsbBus::force_reenumeration()`](https://docs.rs/stm32-usbd/latest/stm32_usbd/bus/struct.UsbBus.html#method.force_reenumeration), but strangely, `UsbBus::new()` does not give direct access to `UsbBus`. Is there any [other] way to do this? Thanks for this great crate.
This closes https://github.com/stm32-rs/stm32-usbd/issues/28. This PR exposes `remote_wakeup` method that can be used to implement remote wakeup from USB suspend (e.g. for devices like keyboards/mice). I have tested it on STM32F072...
I am implementing the [Keyberon](https://github.com/TeXitoi/keyberon) crate that uses stm32-usbd as a dependency and am struggling to get my firmware to wake-up my computer from suspend. Looking at other libraries, I...
:"Original" issue is at mvirkkunen/usb-device#52, but I wanted to open an issue here as well, because this crate is also MIT-licensed. I would love to use this in my embedded...
hid.rs: ```rust use core::cmp::min; use usb_device::Result; use usb_device::bus::{InterfaceNumber, StringIndex, UsbBus, UsbBusAllocator}; use usb_device::class::{ControlIn, ControlOut, UsbClass}; use usb_device::control; use usb_device::control::{Recipient, RequestType}; use usb_device::descriptor::DescriptorWriter; use usb_device::endpoint::{EndpointAddress, EndpointIn, EndpointOut}; use usb_device::UsbError; //use cortex_m_semihosting::hprintln;...
An attempt at adding support for the 32bit sram access scheme found in the H5 family
Does this library support the 32bit access scheme of the stm32h5 family? If so should `EP_MEMORY_ACCESS_2X16` be `true`?