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

stm32: impl uart write_all without panic #2665

Closed
wants to merge 1 commit into from

Commits on Mar 6, 2024

  1. stm32: impl uart write_all without panic

    Default write_all implementation uses panic: https://github.com/rust-embedded/embedded-hal/blob/master/embedded-io-async/src/lib.rs#L138 and https://github.com/rust-embedded/embedded-hal/blob/master/embedded-io/src/lib.rs#L397
    This version produced 456 bytes smaller binary in my application where embedded-io-async::write_all was used.
    andresv committed Mar 6, 2024
    Copy the full SHA
    15b4ba5 View commit details
    Browse the repository at this point in the history