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

mcu-util: better errors and printing #87

Merged
merged 2 commits into from
May 4, 2024

Conversation

fouge
Copy link
Collaborator

@fouge fouge commented May 2, 2024

unwrap all errors

@fouge fouge requested a review from TheButlah May 2, 2024 13:01
@fouge fouge force-pushed the fouge/mcu-util-serial-opt branch from 81d8356 to 7d2a561 Compare May 2, 2024 13:14
@fouge fouge force-pushed the fouge/mcu-util-serial-opt branch from 7d2a561 to 0539573 Compare May 2, 2024 13:14
@fouge fouge force-pushed the fouge/mcu-util-fixes branch 3 times, most recently from 5086dba to 89b287e Compare May 2, 2024 13:17
Base automatically changed from fouge/mcu-util-serial-opt to fouge/mcu-util-blocking-call May 4, 2024 01:57
@TheButlah TheButlah merged commit 495672e into fouge/mcu-util-blocking-call May 4, 2024
9 checks passed
@TheButlah TheButlah deleted the fouge/mcu-util-fixes branch May 4, 2024 02:00
TheButlah added a commit that referenced this pull request May 7, 2024
* mcu-util: refactor blocking call to can-rs in async

and some tiny refacto

* mcu-util: serial can only be obtained if orb-ui not running (#86)

make it optional
still unused anyway

* mcu-util: better errors and printing (#87)

* mcu-util: serial can only be obtained if orb-ui not running

make it optional
still unused anyway

* mcu-util: better errors (and printing)

unwrap all errors

* No need to annotate, the type is already clear.

Co-authored-by: Ryan Butler <[email protected]>

* mcu-util: correctly form can-fd frame

* mcu-util: create and check ack number from functions

* mcu-util: better logs (#91)

* mcu-util: better logs

use color-eyre
use RUST_LOG env variable when given
fallback on INFO log level

* mcu-util: remove some allow(dead_code)

* mcu-util: remove useless Arc

give ownership to blocking thread

---------

Co-authored-by: Ryan Butler <[email protected]>
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.

2 participants