stm32-rs / fdcan

FDCAN peripheral driver for STM32 chips
Apache License 2.0
12 stars 14 forks source link

HAL support #1

Open richardeoin opened 3 years ago

richardeoin commented 3 years ago

To make this crate useful and worth maintaining, it's helpful if it is used in at least a couple of HALs

yorickdewid commented 3 years ago

I see there is a PR for H7, we really need this. How can I participate?

richardeoin commented 2 years ago

Hi! @yorickdewid This create is at an early stage of development, but you can already start experimenting by checking out this crate locally and using the patch functionality in cargo. Bug fixes, usage reports and documentation are really appreciated!

In the Cargo.toml of your project:

[patch.crates-io]
stm32h7xx-hal = { git = "https://github.com/richardeoin/stm32h7xx-hal/tree/fdcan-fdcan" }
fdcan = { path = "../path/to/your/checkout/folder" }
yorickdewid commented 2 years ago

I have the crate already running on the STMH7. So far no issues. However I have not tested the FD mode yet.

luctius commented 2 years ago

PR for the stm32g4xx-hal crate here: PR.

kevswims commented 1 year ago

Usage for the SMT32G4 HAL has been merged: https://github.com/stm32-rs/stm32g4xx-hal/pull/39