David-OConnor / stm32-hal

This library provides access to STM32 peripherals in Rust.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

More docs on design differences between crates from stm32-rs organization

myrfy001 opened this issue · comments

commented

I now know that this great project is different from crates at stm32-rs organization in some ways like:

  • this is a all in one project while the crates from stm32-rs targets only a single series.
  • it use conditional compile instead of using traits

but this is only what I thought about the difference, maybe not right.

I really hope that the author can provide more design philosophy of this project since I don't have enough effort to look through the crates from stm32-rs and this one to find the differences. With your help, we can decide whether to use stm32-hal2 or other hal impl from stm32-rs more easily.

thanks.

Updated. What do you think?