-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a WebUSB compatible example #26
Comments
This demo would be good to get working -> https://github.com/sowbug/weblight |
I would love to port this example to TOMU and started doing a few basic things like vendor and product ID changes to a fork of the above repo, but until the crowd-sourced hardware is released I can’t get but so much done on it. |
I believe the samples are already WebUSB compatible as far as flashing with no changes, since the https://dfu.tomu.im is simply using DFU under the hood in Javascript, you just need to make sure you hit the HTTPS site to allow access to devices. You can also use https://devanlai.github.io/webdfu/dfu-util/ to update your Tomu bootloader and flash programs, which interestingly I found before I knew about Tomu having its own copy of that site. :) After reading up further on the above example I agree it could be awesome to interact with the Tomu without having to flash, so maybe dropping a "WebUSB enable" payload like the Serial emulation payload and then being able to send commands to it from a website dynamically instead of having to compile and flash all the time or run a serial emulator to communicate. |
I got a working demo with the usb_simple sample going: https://auscompgeek.github.io/tomu-web-led/ |
Ultimately it would be awesome if someone could go to the Tomu website to do a firmware upgrade of their device!
The text was updated successfully, but these errors were encountered: