Arduino IDE 2.x board "profiles" support?

Is it possible to have the IDE "save" a specific board and its settings so as to be able to make use of that "profile" later? For example I use a few different types of boards (Arduino(s), STM, ESP32, ATTiny, Teensy, etc.) and often need the specifics of a board adjusted from project to project. It would be nice if I could "save" a specific board and the current board settings (under Tools) as a "profile" with a name so that I can go back to that specific one later. Right now I have to maintain external documentation of the board settings used for a specific project and ensure they are set back to those when working on that project.

On a related note, once a specific board is "configured" (under Tools) is there a way (or how do you) reset those settings back to the initial defaults?

Thanks all.

Hi @notahardwareguy.

Arduino IDE 2.x remembers the settings you had the last time you used a given sketch and selects those settings automatically each time you open that sketch.

There is a related feature request for storing this information alongside the sketch in order to allow the configuration to be distributed with the sketch here:

Arduino IDE doesn't have this capability, but if you don't mind working with command line tools, Arduino provides an advanced tool named Arduino CLI, which does:

https://arduino.github.io/arduino-cli/latest/sketch-project-file/

Manually select the default values from the menus. The default is the first item on the menu.

Thanks for that information and I hear you on the command line. It all just should not be that hard, should be easier to use/do. I do a fair bit of 3D printing. In the slicer, I can save different printer/filament settings to pick later, create my own profiles. I am just thinking that Arduino would benefit from the same. It is nice that an individual project can save its settings but I think it would also be nice if I could save all of the board related settings to a "named profile" too. This way I could have the "STM32F411 debug" profile and the "STM32F411 fastest" profile, etc.

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