Skip to content

New article: Select programmer in Arduino IDE #120

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 30, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
title: "Select programmer in Arduino IDE"
---

When you have [selected a board in Arduino IDE](https://support.arduino.cc/hc/en-us/articles/4406856349970-Select-board-and-port-in-Arduino-IDE#board), external programmers can be selected under _Tools > Programmer_ in the menu bar. The options are defined in the platform's `programmers.txt` file[^1].

[^1]: [Platform specification – programmers.txt](https://arduino.github.io/arduino-cli/latest/platform-specification#programmerstxt)

The programmer selection is used by:

* The _Tools > Burn Bootloader_ menu bar item.
* The _Sketch > Upload Using Programmer_ option.

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

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.