Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Custom board menu selection reverts to default on new window open #2271

Closed
Assignees
Labels
conclusion: resolvedIssue was resolved topic: codeRelated to content of the project itself type: imperfectionPerceived defect in any part of project
@per1234

Description

Describe the problem

For the convenience of the user, Arduino IDE automatically configures the board and port selection of a new IDE window according to the configuration of the previous window.

In addition to the primary board selection, some board definitions have "custom board options" that allow additional configuration via arbitrary submenus added under the Tools menu.

🐛 The configuration of the custom board options revert to the default values when a new window is opened.

To reproduce

  1. Select Tools > Board > Arduino AVR Boards > Arduino Nano from the Arduino IDE menus.
  2. Select Tools > Processor > ATmega168 from the Arduino IDE menus.
  3. Select File > New Sketch from the Arduino IDE menus.
    A new window will open.
  4. Open the Tools menu in the new window.
    🐛 The default ATmega328P option is selected in the Tools > Processor custom board option menu.
  5. Select Tools > Processor > ATmega168 from the Arduino IDE menus.
    Select File > Save As... from the Arduino IDE menus.
  6. Save the sketch to any name and location.
  7. Open the Tools menu in the new window.
    🐛 The default ATmega328P option is selected in the Tools > Processor custom board option menu.

Expected behavior

The custom board options configuration from the parent window are used in new windows.

Arduino IDE version

69b7365

Operating system

Windows

Operating system version

11

Additional context

The behavior described here was introduced at ce02e26 / #2241.

The described behavior does not occur when using the IDE build from ed2d8ad or earlier (but note those versions had a related fault #2240).


Originally reported by @mjs513 at https://forum.arduino.cc/t/is-there-a-m4-and-m7-usage-for-dummies-document-d/1180371/10

Additional reports

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

Metadata

Metadata

Labels

conclusion: resolvedIssue was resolved topic: codeRelated to content of the project itself type: imperfectionPerceived defect in any part of project

Type

No type

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /