stm32-rs / stm32l4xx-hal

A Hardware abstraction layer for the stm32l432xx series chips written in rust.
156 stars 103 forks source link

Added feature gate to add PA1, PA11, PA12 as SPI1 pins #332

Open embediver opened 1 year ago

embediver commented 1 year ago

Added one set of additional SPI1 pins which are present on the stm32l4x2 MCUs. I quickly poked around if other stm32l4 MCUs have these, but didn't checked all of them in depth.

Tested on the stm32l452.

mkalte666 commented 1 year ago

These are also present on the l431xx, see page 70 https://www.st.com/content/ccc/resource/technical/document/datasheet/group3/83/b3/60/f6/b1/cc/47/7e/DM00257211/files/DM00257211.pdf/jcr:content/translations/en.DM00257211.pdf

embediver commented 1 year ago

Thanks for the info, I'll go through every datasheet for the sake of completeness...