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

CAN: Add more pins, support CAN for more models, add CAN3 where available #262

Merged
merged 4 commits into from
Feb 7, 2021

Conversation

samcrow
Copy link
Contributor

@samcrow samcrow commented Feb 2, 2021

I looked through all the STM32F4 datasheets to find additional pins that can be used for CAN, and added implementations of the can::Pins trait for those pins. As part of the process, I enabled the can module for several STM32F4 models that support CAN beyond the F405, F407, and F446. I also added CAN3 and the associated pins for F413 and F423 models.

This also includes some small documentation improvements that I thought might be helpful.

I'm not sure if this needs a changelog entry because it's in the same version where CAN support was first added. I added one anyway to make the automated checks happy.

@samcrow samcrow marked this pull request as ready for review February 2, 2021 05:24
src/can.rs Show resolved Hide resolved
@matoushybl
Copy link
Contributor

LGTM, thanks for the PR!

Copy link
Member

@thalesfragoso thalesfragoso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work, thanks!

bors r+

@bors bors bot merged commit d8ff580 into stm32-rs:master Feb 7, 2021
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.

3 participants