tinygo-org / tinygo

Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.
https://tinygo.org
Other
15.19k stars 891 forks source link

Flash USB from https://play.tinygo.org/ on Chromebook? #4357

Open GeoffreyPlitt opened 1 month ago

GeoffreyPlitt commented 1 month ago

Hi! I'm trying to flash a Pi Pico attached via USB, from https://play.tinygo.org/, on Chromebook, which supports WebUSB . The button doesn't seem to do anything. Is it supposed to work?

deadprogram commented 1 month ago

The playground does not support WebUSB.

So you must download the UF2 file from the playground site, boot the RP2040 into bootloader mode, then drag/drop the UF2 file to the RP2040 drive that should appear.

GeoffreyPlitt commented 1 month ago

How does the "flash" button work then?

deadprogram commented 1 month ago

It should compile and download the UF2 file to your normal "Downloads" directory.