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

Make this crate no_std #1

Open
3 tasks
VictorKoenders opened this issue Jun 14, 2020 · 0 comments
Open
3 tasks

Make this crate no_std #1

VictorKoenders opened this issue Jun 14, 2020 · 0 comments

Comments

@VictorKoenders
Copy link
Contributor

This crate depends on the following things:

  • SerialPort: Can be pulled in a seperate library, or behind a feature flag
  • std::io::Write, which is only used to write to a Vec<u8>, which can be replaced by a fixed-size &mut [u8] buffer, embedded-hal::serial::Write or wait for Proposed refactoring to implement core::io rust-lang/rfcs#2262
  • Some Vec<u8> and String allocations which can be fixed by having the caller pass a &mut [u8] to the functions
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

No branches or pull requests

1 participant