Skip to content
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

Ability to associate board with sketch #1892

Closed
3 tasks done
BlaT2512 opened this issue Feb 18, 2023 · 3 comments
Closed
3 tasks done

Ability to associate board with sketch #1892

BlaT2512 opened this issue Feb 18, 2023 · 3 comments
Assignees
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@BlaT2512
Copy link

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
@BlaT2512 BlaT2512 added the type: enhancement Proposed improvement label Feb 18, 2023
@Nick-Norton

This comment was marked as duplicate.

@kittaakos kittaakos self-assigned this Aug 24, 2023
@dankeboy36
Copy link
Contributor

I am interested in implementing this feature. Please add me to the assignees

@per1234
Copy link
Contributor

per1234 commented May 20, 2024

Closing as duplicate of #2438

@per1234 per1234 closed this as not planned Won't fix, can't repro, duplicate, stale May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

5 participants