Skip to content

Conversation

seaxwi
Copy link
Collaborator

@seaxwi seaxwi commented Sep 26, 2022

No description provided.

The programmer selection does **not** affect:

* Sketch compilation (for example, when clicking the ![Verify button](img/symbol_verify2.png) **Verify** button).
* Uploading a sketch to a board connected to your computer by clicking the the ![Upload button](img/symbol_upload2.png) **Upload** button.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is incorrect for some boards. It is possible to configure the board definition so that the "Upload" button acts as Sketch > Upload Using Programmer:

https://arduino.github.io/arduino-cli/0.27/platform-specification/#upload-using-programmer-by-default

An example of such a board definition is "Arduino Gemma"

If you are experimenting with this feature, note that support for it has not yet been added to Arduino IDE 2.x:

arduino/arduino-ide#103

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@per1234 How's this?

18742d9

Copy link
Collaborator

@per1234 per1234 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work. Thanks @seaxwi!

@seaxwi seaxwi merged commit 4075307 into main Sep 30, 2022
@seaxwi seaxwi deleted the select-programmer branch September 30, 2022 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants