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

Improved pluggable discovery conversion for platforms not supporting it #1629

Merged
merged 5 commits into from
Jan 24, 2022

Conversation

cmaglie
Copy link
Member

@cmaglie cmaglie commented Jan 19, 2022

  • The PR has no duplicates (please search among the Pull Requests
    before creating one)
  • The PR follows
    our contributing guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • UPGRADING.md has been updated with a migration guide (for breaking changes)

What kind of change does this PR introduce?
Improves the automatic conversion of platforms to keep backward compatibility after the introduction of pluggable-discovery.

What is the current behavior?
If a platform defines upload.tools in the configuration part of the boars.txt (typically in the menu.*.*.upload.tool properties), the upload will fail because the properties under the menu.* hierarchy are not converted.

What is the new behavior?
The properties are now converted.

Does this PR introduce a breaking change, and is titled accordingly?
No

Fix #1444

@cmaglie cmaglie self-assigned this Jan 21, 2022
@cmaglie cmaglie merged commit 569e194 into arduino:master Jan 24, 2022
@cmaglie cmaglie deleted the fix_plug_disc_conversion branch January 24, 2022 10:31
@matthijskooijman
Copy link
Collaborator

I had a (late) look at this PR, looks good to me, no comments. I've also tested it in my local setup, and it indeed fixes #1444 for me. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

stm32: Error during Upload: Property 'upload.tool.serial' is undefined
3 participants