Upload without compile

Well, we reached to version 2.2 and sadly no "Just Upload" button was added on the interface.
There are at least two very good reason this should be added:

  • Compile takes a long time for large projects and sometimes there are errors at the upload so you need to recompile again. All the bu***hit with the libraries being cached won't help my various computers to recompile faster.
  • For programming several boards, compiling over and over again is also time consuming.

Of course there's the CLI but would this be faster than having an "Just Upload" button?

I even have an ideea where to put this button since I figure that was the real challenge: right between "Upload" and "Start debugging". Of course, the actual "Upload" button should be renamed to "Compile and Upload"

That is quite an odd statement. Obviously the caching is going to make subsequent uploads much faster in cases where the compilation time is meaningful exactly because a recompile is not necessary for the cached compilation output.

And if you are referring to switching from one computer to another, well you would have to compile the sketch on each computer anyway before you could use that "Just Upload" button you wish for.

Are you programming multiple boards with the same sketch frequently enough for this to actually be a problem?

If so, then I do think that setting up a script using Arduino CLI would be worthwhile.

If you aren't doing that often, then it isn't worth adding an extra button to the IDE just for something that only occurs rarely.

And if you are referring to switching from one computer to another, well you would have to compile the sketch on each computer anyway before you could use that "Just Upload" button you wish for.

Right now, my computer broke and I use an older one. Of course I downloaded all the libraries and compiled once. I understand it can take a while. But subsequent compiles take 1'50s...2' without changing a single character in source. I doubt anyone will find this reasonable.

If so, then I do think that setting up a script using Arduino CLI would be worthwhile.

There is always a way to do things in command line. Why there's an "Upload" button in the IDE then, if CLI is there? Is that really too much to ask for a new button?

Arduino IDE is free open source software. You are welcome to create your own fork of the IDE project and add all the buttons you like.

Yep. This could have been the only answer in this topic because it solves my issue. I should mark this as solution. But I won't, because it's a pointless advice.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.