Skip to content

svd2rust generates invalid code #283

Open
@pie-flavor

Description

@pie-flavor

Using the attached SVD, svd2rust generates code with several compile errors. Two structs named CONFIG in the same module, two structs named MR in the same module, two modules named mr, and several enums with two identical variants.

LPC176x5x.svd.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions