embassy-rs/stm32-data

Dac in stm32g431c8

jrmoulton opened this issue · 4 comments

The dac definitions are missing from this chip. It seems like it already has an entry in the perimap though.

It also has the data for it in the json.
https://github.com/embassy-rs/stm32-data-generated/blob/4f60a9c3c9583915a33c842a35574bead53aa8da/data/chips/STM32G431C8.json#L670

What would I need to change?

maybe it's not matching because it's named "DAC1", not "DAC". Otherwise, the actual version in the cubedb xmls is different to the ones listed in perimap.

So it it just that the feature isn't being activated?

the issue is the JSON doesn't have registers field. See here no registers, vs another chip that does have it.

There's no registers because no entry in perimap is matching. You'd have to debug why, and fix it.

Ah I see. Thanks