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

FlexCAN peripheral addition #122

Open
wants to merge 14 commits into
base: maint-v0.4
Choose a base branch
from

Commits on Dec 19, 2022

  1. Prototype a FlexCAN peripheral

    Implementation of the FlexCAN1 and FlexCAN2 peripherals for the  NXP i.MX RT 1060 processor.
    
    Includes APIs for initializing the peripherals, setting the clock source, setting mailbox receive filters, setting mailbox FIFO functionality, and receiving and transmitting frames.
    
    The FlexCAN3 peripheral is not implemented.
    dstric-aqueduct authored and mciantyre committed Dec 19, 2022
    Configuration menu
    Copy the full SHA
    2afe1a7 View commit details
    Browse the repository at this point in the history
  2. Remove StandardId and ExtendedId structs in favor of embedded-hal

    - Remove StandardId and ExtendedId structs in favor of embedded-hal
    - convert TryFrom to From for FlexCanMailboxCSCode
    dstric-aqueduct authored and mciantyre committed Dec 19, 2022
    Configuration menu
    Copy the full SHA
    fd8e1ae View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    df48822 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2022

  1. PR updates

    - added bounds checks on StandardID and ExtendedID for creation of IdReg
    
    - improved Error descriptiveness
    
    - added docs to Frame timestamp field
    
    - Update Cargo.toml
    dstric-aqueduct committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    f73b2b8 View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2022

  1. Configuration menu
    Copy the full SHA
    228a000 View commit details
    Browse the repository at this point in the history

Commits on Dec 26, 2022

  1. fix to mod.rs docs

    dstric-aqueduct committed Dec 26, 2022
    Configuration menu
    Copy the full SHA
    c6f055e View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2022

  1. PR updates

    - fixed clock configuration in builder method and removed set_ccm_ccg method
    
    - removed unused `instance` method
    
    - removed duplicated `set_fifo_filter` method in favor of single method that accepts a `FlexCanFilter` as arg
    
    - removed dead code
    dstric-aqueduct committed Dec 28, 2022
    Configuration menu
    Copy the full SHA
    11daf65 View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2022

  1. Prototype a FlexCAN peripheral

    Implementation of the FlexCAN1 and FlexCAN2 peripherals for the  NXP i.MX RT 1060 processor.
    
    Includes APIs for initializing the peripherals, setting the clock source, setting mailbox receive filters, setting mailbox FIFO functionality, and receiving and transmitting frames.
    
    The FlexCAN3 peripheral is not implemented.
    dstric-aqueduct authored and mciantyre committed Dec 29, 2022
    Configuration menu
    Copy the full SHA
    a87433c View commit details
    Browse the repository at this point in the history

Commits on Dec 31, 2022

  1. Configuration menu
    Copy the full SHA
    3b882b3 View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2023

  1. fix clippy warnings

    dstric-aqueduct committed Jan 1, 2023
    Configuration menu
    Copy the full SHA
    3350979 View commit details
    Browse the repository at this point in the history
  2. Fix formatting

    We need properly-formmated code to pass CI.
    mciantyre committed Jan 1, 2023
    Configuration menu
    Copy the full SHA
    2ca7328 View commit details
    Browse the repository at this point in the history
  3. Run 'cargo clippy --fix' to resolve some warnings

    It can't automatically fix all the issues, but the remaining fixes are
    straightforward.
    mciantyre committed Jan 1, 2023
    Configuration menu
    Copy the full SHA
    18ca5f9 View commit details
    Browse the repository at this point in the history
  4. Simplify conditional expressions with u32::from

    Use the fact that a bool is either a zero or a one to simplify the
    filter value. Warned by clippy, and implemented by hand.
    mciantyre committed Jan 1, 2023
    Configuration menu
    Copy the full SHA
    5ad3713 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2023

  1. Configuration menu
    Copy the full SHA
    87c27f5 View commit details
    Browse the repository at this point in the history