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

Appearance settings

Ability to associate board with sketch #1892

Copy link
Copy link
Closed as not planned
Closed as not planned
Copy link
@BlaT2512

Description

@BlaT2512
Issue body actions

Describe the request

It would be great to have the ability for a sketch to be associated with a certain board, so that when the sketch is opened in Arduino IDE it selects the board type for that sketch provided the board is installed and available otherwise it could just fallback to the default behaviour of auto-selecting a board. This could be done with a first-line comment on a sketch containing a board type ID which the IDE would look for. If it sees a sketch with this ID when it is opened it would then select that board type and could auto-select a port if it is recognised with that board type or leave the port selection empty.

Describe the current behavior

Currently when a sketch is opened in Arduino IDE the IDE automatically selects a port and board, but this is often incorrect especially when multiple different sketches open and multiple boards connected to the computer. By the option for a comment in each sketch on what board it is designed to run on it would assist the auto board selection to be more helpful for users.

Arduino IDE version

v2.0.3

Operating system

Windows, macOS

Operating system version

N/A

Additional context

No response

Issue checklist

  • I searched for previous requests in the issue tracker
  • I verified the feature was still missing when using the latest nightly build
  • My request contains all necessary details

Metadata

Metadata

Labels

topic: codeRelated to content of the project itselfRelated to content of the project itselftype: enhancementProposed improvementProposed improvement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.