Skip to content

Merging stm32-rs HALs into one unified STM32 HAL #9

@FeldrinH

Description

@FeldrinH

I think it would be valuable to have a unified stm32-rs HAL for all STM32 variants, similar to how esp32-rs and Embassy have a single HAL.

An annoyance that I've encountered with the current set of HAL-s is that different HAL-s seem to have slightly different API-s for various peripherals and this leads to friction when working with multiple HAL-s. Also the quality and completeness of HAL-s varies a lot. A unified HAL would help a lot to solve these pain points.

It might also help ease the maintenance burden. I figure having the common parts shared and a common API established would reduce duplicate effort accross HAL-s and help speed up the process of adding support for new STM32 device families.

If there is interest in working towards merging the HALs from the maintainers of individual HALs, then I hope this issue can serve as a common place for working towards a unified HAL. I myself am open to contributing to developing a unified HAL, though unfortunately I don't have time to be a long-term maintainer of the project.

I would love to hear the thoughts of current HAL maintainers on this proposal (@burrbull, @astapleton, @usbalbin, @newAM, @therealprof).

Related discussions: rust-embedded/embedded-hal#61, stm32-rs matrix chat.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions