Could you please consider adding feature 'Upload Only' and allow its mapping to a shortcut ?
Currently, the 'Upload' does the usual 15seconds dependency search and after that, Project.elf is built. Every time. It ignores that all binary objects are older than Project.elf so there is no point in rebuilding it.
in Arduino IDE, if you go to file -> advanced -> keyboard shortcuts, and locate the command you are looking for, hover over the command, and on the left, you will see 'Edit keybinding'. Then you can connect that command to a keybinding in arduino IDE
"on the left, you will see 'Edit keybinding'"
Great, Thanks. It seems IDE does not provide means to create my own command i.e. 'Upload only'. There are 'Ctrl+U' and 'Ctrl+Shift+U' commands which seems to execute the same command. I wonder how much work it would be to add 'arduino-upload-nobuild-sketch'. Are these commands stored in some config file I could edit ?
I see. From my beginner's perspective the IDE behaviour seems the same - what I see in the 'Output' view. May I ask for more information about 'USB interface' vs 'external programmer' ?
If you look at a Uno or Nano you will see a 6 pin header, This is the ICSP header and allow you to connect an external programmer such as a USBASP device to the board.
The actual programming device is selected in the IDE Tools/Programmer menu. With the programmer connected to the header you can then use Sketch/Upload Using Programmer from the IDE menu
Why would you want to do this ?
One reason is that it allows you to upload a program to a board that does not have a bootloader program on it and hence no serial interface. One important use of the ICSP interface is to upload the bootloader itself
The Checks are per pull request. When you navigate to the PRs page (Pull requests · arduino/arduino-ide · GitHub), you will see all open pull requests. You have to select one of them to see Checks.
If you have any remarks on the feature or if something does not work, please comment on the PR not here. I can adjust it. If you like my contribution, you can leave a comment on the PR that works for you.