David-OConnor / stm32-hal

This library provides access to STM32 peripherals in Rust.
MIT License
147 stars 44 forks source link

Pinouts for stm32l476-nucleo and stm32l476-eval boards should be different. #75

Closed seanybaggins closed 1 year ago

seanybaggins commented 1 year ago

For the stm32l476-eval, Pin groups G and H exist. This is not reflected in the current hal.

David-OConnor commented 1 year ago

Fixed. (Also applies to L4x5)

seanybaggins commented 1 year ago

Just want to clarify. stm32l476-nucleo's don't have these pins exposed on the board. Currently, it is the responsibility of the user not to configure a gpio pin that is not exposed for that board.

David-OConnor commented 1 year ago

This lib doesn't distinguish between dev boards - both of those use similiar MCUs, and that MCU sub-family (L4x6) supports ports G and H. I added them to L4x5 and L4x6 in response to this issue. You're correct re user responsibility here.

seanybaggins commented 1 year ago

Awesome turnaround. Thank you for being so responsive!