Skip to content

Possible regression: register array inference #938

Description

@jbeaurivage

Using svd2rust 0.36.1, some registers which were previously inferred as arrays now explicitly list all registers.

Ie, from

pmux1_0: [Pmux1_; 16],
...

to

pmux1_0: Pmux1_0,
pmux1_1: Pmux1_1,
pmux1_2: Pmux1_2,
...

Since this issue does not appear in svd2rust 0.36.0, I suspect #930 to be the culprit.
For example, this SVD is affected -- specifically, the PMUX0 and PINCFG0 fields of the PORT peripheral.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions