-
-
Notifications
You must be signed in to change notification settings - Fork 399
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
Auto-select boards config with hardwareId
if present
#1885
Conversation
hardwareId
if present
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UPDATE: Resolved by cf6f83c
arduino-ide/.github/workflows/build.yml
Line 32 in 08203d8
GO_VERSION: "1.17" |
Reference: arduino/arduino-cli#2026
UPDATE: Resolved by cf6f83c
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IDE2 should not use the HEAD of the master
branch.
The build is failing due to a breaking change in the CLI. See #1809 (comment) for details. |
thanks for the heads up! @kittaakos can we resolve this with just a change of this line? |
Correct, IDE2 needs to adapt there. 👍 |
@davegarthsimpson |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look good to me. I did not verify it.
@ubidefeo already done I believe! |
lastBoardsConfigOnUpload.selectedBoard | ||
); | ||
|
||
if (!boardIsSameHardware && !boardIsSameFqbn) return; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See here: #1913 (review)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
closing in favor of #1913 |
Motivation
To ensure boards not exposing an
fqbn
can still be "auto-selected", considering theirhardwareId
.Change description
Retrieves
hardwareId
of a discovered port from the CLI.Considers
hardwareId
of a discovered port when determining whether or not to "auto-select" a port.Reviewer checklist