-
-
Notifications
You must be signed in to change notification settings - Fork 477
Document special upload procedure in UNO R4 WiFi HID tutorial #1246
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
Merged
jacobhylen
merged 2 commits into
arduino:main
from
per1234:uno-r4-wifi-hid-upload-workaround
Aug 4, 2023
Merged
Document special upload procedure in UNO R4 WiFi HID tutorial #1246
jacobhylen
merged 2 commits into
arduino:main
from
per1234:uno-r4-wifi-hid-upload-workaround
Aug 4, 2023
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The sentence doesn't offer anything of value and creates an unnecessary dependence between the section that contains it and those that follow, making it difficult to add new content.
When an UNO R4 WiFi board is running a sketch that uses the HID capabilities, the port address changes during the upload. Since this change does not occur under other conditions, the platform is not configured to handle such a change. This causes uploads via the standard procedure to fail under these conditions. Since adjusting the configuration to allow reliable uploads under any conditions would have harmful side effects, the decision was made to leave the configuration as it is now. The upload can be accomplished reliably if the user performs a double reset before uploading, but this fact was not documented in the tutorial about the board's HID capabilities. The missing documentation is hereby added to the tutorial.
@per1234
per1234
added
bug
Something isn't working
arduino
Bugs and fixes added by the Arduino Team
labels
Aug 4, 2023
@per1234
per1234
requested review from
karlsoderby,
jacobhylen and
jhansson-ard
August 4, 2023 12:29
jacobhylen
jacobhylen
approved these changes
Aug 4, 2023
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.
Hi @per1234!
Thank you for this PR. Funny enough, I was just about to make a change addressing the same issue, so I find this very convenient 😄
LGTM!
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What This PR Changes
When an UNO R4 WiFi board is running a sketch that uses the HID capabilities, the port address changes during the upload. Since this change does not occur under other conditions, the platform is not configured to handle such a change. This causes uploads via the standard procedure to fail under these conditions (arduino/ArduinoCore-renesas#73). Since adjusting the configuration to allow reliable uploads under any conditions would have harmful side effects, the decision was made to leave the configuration as it is now:
arduino/ArduinoCore-renesas#74 (comment)
The upload can be accomplished reliably if the user performs the "manual" procedure mentioned above, but this fact is not documented in the tutorial about the board's HID capabilities.
This pull request proposes to add the documentation of this important procedure to the to the tutorial.
Contribution Guidelines