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

feat: implement basic console #57

Merged
merged 27 commits into from
Jan 2, 2024
Merged

Conversation

90degs2infty
Copy link
Owner

Summary of changes implemented in this PR:

  • write up a module cli containing drivers to drive the processing of commands
    • DownlinkDriver takes care of consuming serial data coming from the host,
      mapping byte-strings to commands
    • CommandReceiver drives execution of commands
    • UplinkDriver takes care of sending strings back to the host by means of the
      serial interface
  • write up a util module featuring several helpers
    • nb_async to bridge between nb::Result and async Rust by means of busy
      waiting
    • StringIter to aid conversion from &str to message-passable
      heapless::Strings
  • "serial" commands help and ver to print a help string and VCS information
    respectively

Closes #28

@90degs2infty 90degs2infty added the enhancement New feature or request label Dec 25, 2023
@90degs2infty 90degs2infty added this to the mvp milestone Dec 25, 2023
@90degs2infty 90degs2infty self-assigned this Dec 25, 2023
@90degs2infty 90degs2infty linked an issue Dec 25, 2023 that may be closed by this pull request
@90degs2infty 90degs2infty merged commit 16ae0f6 into develop Jan 2, 2024
10 checks passed
@90degs2infty 90degs2infty deleted the 28-implement-basic-console branch January 2, 2024 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement basic console
1 participant