-
Notifications
You must be signed in to change notification settings - Fork 201
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
Integration with the mcan
#654
Conversation
Done, unblocked by #666 as well. |
My only comment would be that the example is a little long and complicated, but I suppose that's just the nature of the beast. Overall, LGTM |
oh, one more thing, please add the can feature to crates.json for appropriate PACs, so that it is tested. |
I could probably cut it down to something simpler, I wanted it to be a little more fun, thorough and interactive. Like, listen to messages on interrupt and print them out AND send a message on a button press. It also contains the filter setup which brings the value of an example up. Anyone who wants to use it can drop whatever they deem unnecessary - this is how I thought about it |
Done, not sure about these |
Sounds like a mistake on my part. Feel free to fix here or in a followup, at your discretion. |
Something weird going on here. Maybe a previous PR mixed up the features in hal/Cargo.toml? Line 123 in d8d85b0
|
#677, feel free to comment what do you think. Maybe I completely misunderstood the idea behind how it worked before. |
FTR: Covered by #676, already rebased. |
What do you think about calling out the example in the atsame54_xpro BSP changelog? I could go either way. |
I wasn't sure about that. I'm not changing the BSP there if one ignores extra feature (forwarded to the HAL)? I guess that's the only thing that is worth being mentioned. |
This PR provides trait implementations from
mcan-core
crate. It enables the safe usage of themcan
crate.mcan
crate provides a HAL for the CAN peripheral embedded into ATSAME5{1, 4}.