-
Notifications
You must be signed in to change notification settings - Fork 147
Move construction of Connection outside of flasher #882
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
Conversation
SergioGasquez
left a comment
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.
LGTM once you add the changelog entry! Was there any reason to rename baud into speed? We use baudrate, baud_rate, baud and speed across the codebase.
I'll change it back to baud, and try and unify these. |
SergioGasquez
left a comment
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.
LGTM! Thanks
This PR implements the first suggestion from #854 (comment) and enables the creation of a
Connectionoutside ofFlasher::connect.In general this PR tries to keep the
Connectionspecific things, likesyncing, baud rate control, reset etc inConnectionand the flasher related things, like querying spi params, loading the flasher stub etc inFlasher.