embassy-rs / stm32-data

69 stars 101 forks source link

I2C missing in stm32l432kc #52

Closed ctron closed 3 years ago

ctron commented 3 years ago

According to the specs, the stm32l432kc should have an I2C interface. However it seems that this is not being generated.

And maybe I just didn't understand how the process works.

Dirbaio commented 3 years ago

It does have the peripehrals, but with no block: https://github.com/embassy-rs/stm32-data/blob/main/data/chips/STM32L432KC.yaml#L160

It's missing an entry here https://github.com/embassy-rs/stm32-data/blob/main/parse.py#L308

According to this L4 should be i2c_v2. If you add it, compare the registers to make sure they're the same, just in case.

Dirbaio commented 3 years ago

This has been fixed for a while already :)