burrbull / svd2html

1 stars 1 forks source link

`svd2html` capture none exist registers when read a `_cluster` #3

Closed eZioPan closed 1 year ago

eZioPan commented 1 year ago

UPDATE:

This not a problem, I didn't notice fs_v1ext.yaml create these entries.

will close this.


In the coverage of STM32F429 OTG_FS_DEVICE peripheral, there are some registers mark as INT [4] INT [5] CTL [4] CTL [5], etc. These registers should only exist for 0-3, since there is only 4 end point for F429.

The fs_device_cluster.yaml can cluster 1-5 registers, but this problem is not shown in generated rust lib. I might think there is some thing different between svd2rust and svd2html.