Description
Describe the problem
There are two Upload-related operations:
- Upload
- Upload Using Programmer
In addition to the menu items (Sketch > Upload / Sketch > Upload Using Programmer) and keyboard shortcuts (Ctrl+U / Ctrl+Shift+U), an upload operation can be triggered by clicking the button on the Arduino IDE toolbar.
Some Arduino boards do not support standard "Upload", so the platform author configured their board definition to do an "Upload Using Programmer" operation when the "Upload" button is clicked. This makes the frequent task of uploading to these boards more convenient for the user than having to use the less accessible menu item.
🐛 Arduino IDE does an "Upload" operation when the button is clicked even when the board is configured for it to trigger an "Upload Using Programmer" operation.
Expected behavior
Arduino IDE does an "Upload Using Programmer" operation on "Upload" button click when the board is configured for that behavior.
Arduino IDE version
Operating system
All
Operating system version
Any
Additional context
Additional reports:
- Upload does not recognise that a programmer has been selected #1640
- Arduino IDE 2 not program MCUs Atmel and Arduino IDE 1.8.13 program #1323
- "A programmer is required to upload" error when uploading #2276
- Unable to load sketches using Arduino as ISP #2460
- v 0.1.0 problems with 3rd party cores (MegaCoreX) arduino-pro-ide#306
- Cant upload with Arduino IDE 2.0.0 MCUdude/MiniCore#233
- https://forum.arduino.cc/t/strange-issue-uploading-code-using-updi-megatinycore/945896
- https://forum.arduino.cc/t/attiny85-wont-program/1043246
- https://forum.arduino.cc/t/cant-program-attiny85-with-attinycore-v1-5-2/701346
- https://forum.arduino.cc/t/uploading-to-attiny85-gives-error-a-programmer-is-required-to-upload/1065582
- https://forum.arduino.cc/t/usbasp-works-well-on-ide-1-8-19-but-it-does-not-work-on-ide-2-0-3/1085285
- https://forum.arduino.cc/t/arduino-ide2-0-3-cant-find-programmer/1081331
- https://forum.arduino.cc/t/cannot-upload-to-arduino/1117541/10
- https://forum.arduino.cc/t/where-to-locate-h-files-in-ide-2/1138746/18
- https://forum.arduino.cc/t/a-programmer-is-required-to-upload-for-attiny402/1147172
- https://forum.arduino.cc/t/i-was-trying-to-code-on-a-vega-aries-v3-and-got-this-error-messa-a-programmer-is-required-to-upload/1195228
- https://forum.arduino.cc/t/failure-programming-attiny85-using-uno-r3/1216658
- https://forum.arduino.cc/t/tiny-avr-programmer-not-found/1216550/16
- https://forum.arduino.cc/t/a-programmer-is-required-to-upload/1234159
Issue checklist
- I searched for previous reports in the issue tracker
- I verified the problem still occurs when using the latest nightly build
- My report contains all necessary details