You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
485: Expand derived clusters r=burrbull a=smindinvern
This PR addresses two issues encountered when attempting to process the svd file [here](https://raw.githubusercontent.com/renesas/fsp/master/ra/fsp/src/bsp/cmsis/Device/RENESAS/SVD/RA.svd).
1. The SVD file defines a cluster in the 'R_GPT_ODC' peripheral that derives from a sibling cluster. AFAICT from the SVD schema, this is allowed, and we should expand the cluster definition in the same way registers are handled.
2. The SVD file contains many `EnumeratedValue`s that are "reserved", but aren't filtered out because they're named "other". They have an `<isDefault>` child element, which is mutually exclusive with the `<value>` child element according to the SVD schema, i.e. they don't represent a value that we would want to define in the generated code, and so can be skipped.
When running `svd2rust-regress` locally 3 tests fail, but the same tests also fail on `master`, so it seems there's no indication of a regression here.
This seems to fix#462.
Co-authored-by: Nickolas Lloyd <smindinvern@users.noreply.github.com>
0 commit comments