Skip to content

Conversation

@MabezDev
Copy link
Member

This PR implements the first suggestion from #854 (comment) and enables the creation of a Connection outside of Flasher::connect.

In general this PR tries to keep the Connection specific things, like syncing, baud rate control, reset etc in Connection and the flasher related things, like querying spi params, loading the flasher stub etc in Flasher.

Copy link
Member

@SergioGasquez SergioGasquez left a 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.

@MabezDev
Copy link
Member Author

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.

Copy link
Member

@SergioGasquez SergioGasquez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks

@SergioGasquez SergioGasquez added this pull request to the merge queue Jun 13, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 13, 2025
@SergioGasquez SergioGasquez added this pull request to the merge queue Jun 13, 2025
Merged via the queue into main with commit dd0b18d Jun 13, 2025
41 checks passed
@SergioGasquez SergioGasquez deleted the api-improve branch June 13, 2025 10:19
@SergioGasquez SergioGasquez mentioned this pull request Jun 13, 2025
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.

3 participants