Simplest way to upload pre-built sketch from users' Win10 (without installing Arduino)? #1108
-
Hello, Which is the simplest way for him to upload my sketch? If possible, he would (strongly) prefer not to install Arduino IDE etc., but a command line tool or two would be OK. Can I, say, copy a couple "self-contained" CLI tools (which ones?) from my system and give them to him? Would this work? PS: it would be great to have both case covered: upload to a board running a previous version of my sketch, so already "primed" with Arduino let's say, and to a brand-new board out from the box. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Just send the |
Beta Was this translation helpful? Give feedback.
-
@XFer012 See #288 for a bit more detail - changing your build folder to one you can find easily (covered in that thread) is a useful tip. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much, both of you! |
Beta Was this translation helpful? Give feedback.
-
If your BOOTSEL button is not easily assessable (pico in a case or something) you can do the following. Have the user go to https://googlechromelabs.github.io/serial-terminal/ If you set the baud rate to 1200 and "connect" to the pico, it will enter the BOOT mode without pressing the BOOTSEL button. From there, the pico will show up as a drive to the user and the .uf2 file can be dragged and dropped by the user.. No need for the user to download any software or mess with Arduino. It seems to be working for me... |
Beta Was this translation helpful? Give feedback.
Just send the
blah.ino.uf2
file that's generated by the normal build process, and then have the user hold BOOTSEL, plug in the Pico, and copy over the UF2 file. That requires no tools on the receiving end at all...