fudanchii / imtomu-rs

Program Tomu board with Rust
BSD 2-Clause "Simplified" License
19 stars 9 forks source link

Webusb #36

Open jacobrosenthal opened 4 years ago

jacobrosenthal commented 4 years ago

Theres some good webusb support just merged https://github.com/mvirkkunen/usbd-webusb-blinky/blob/master/src/main.rs

If it gets anyone inspired to work on usbd impl :)

jyelloz commented 2 years ago

I finally got some basic usbd support for the Tomu working at: https://github.com/jyelloz/efm32hg-usbd / https://github.com/jyelloz/synopsys-usb-otg . There's an example program at https://github.com/jyelloz/tomu-usbtool which is a keyboard that will mute/unmute your PC's sound periodically. Right now it's in a state where it works but I have not figured out the best way to integrate my changes with the synopsys library and how to organize the code correctly and there are probably also some defects.

Also, I haven't tested it with anything but the HID class yet but maybe it will work with webusb.