Add BSP Support for FlexCAN(1/2)#162
Draft
sigil-03 wants to merge 17 commits intomciantyre:masterfrom
Draft
Conversation
This commit corresponds to a FlexCAN PR review question in imxrt-hal. I'm sharing it to make reproduction easier. imxrt-rs/imxrt-hal#122 (comment)
chintanbhatt2
added a commit
to chintanbhatt2/baja-lora
that referenced
this pull request
Sep 22, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds BSP support for the FlexCAN1 and FlexCAN2 interfaces added in this PR for
imxrt-hal: #171FlexCAN1 interface has been tested in HW using a Teensy4.1.
More than happy to take any code comments / improvement suggestions!
Acknowledgements:
The vast majority of this work is from @dstric-aqueduct - who wrote the initial FlexCAN peripheral code in imxrt-rs/imxrt-hal#122.
@SebKuzminsky rebased @dstric-aqueduct's work onto imxrt-hal 0.5 which gave me a great starting point to work from.