Skip to content
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

Open
mithro opened this issue Dec 17, 2017 · 4 comments
Open

Create a WebUSB compatible example #26

mithro opened this issue Dec 17, 2017 · 4 comments

Comments

@mithro
Copy link
Member

mithro commented Dec 17, 2017

Ultimately it would be awesome if someone could go to the Tomu website to do a firmware upgrade of their device!

@mithro
Copy link
Member Author

mithro commented Dec 17, 2017

This demo would be good to get working -> https://github.com/sowbug/weblight

@cbrightly
Copy link

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.

@dragon788
Copy link

dragon788 commented Jun 26, 2018

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.

@auscompgeek
Copy link

I got a working demo with the usb_simple sample going: https://auscompgeek.github.io/tomu-web-led/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants