Skip to content

feat(serprog): Refactor USB communication using channels#36

Draft
ArthurHeymans wants to merge 1 commit intomainfrom
USBFullAsync
Draft

feat(serprog): Refactor USB communication using channels#36
ArthurHeymans wants to merge 1 commit intomainfrom
USBFullAsync

Conversation

@ArthurHeymans
Copy link
Contributor

  • Replace direct USB transport with channel-based communication
  • Add new USB task for handling USB I/O operations
  • Implement channel-based command and response handling
  • Simplify SPI operation handling with direct USB communication
  • Remove old transport module and add new usb_task module

Using sync datastructures makes it simpler to implement variations than with generics.

TODO see what the performance impact is of this setup. It should be slightly worse than generics.

- Replace direct USB transport with channel-based communication
- Add new USB task for handling USB I/O operations
- Implement channel-based command and response handling
- Simplify SPI operation handling with direct USB communication
- Remove old transport module and add new usb_task module

Using sync datastructures makes it simpler to implement variations than
with generics.

Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
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.

1 participant