Skip to content

Ignore missing registers #67

@burrbull

Description

@burrbull

My question is about this check:
https://github.com/stm32-rs/svdtools/blob/d8521cd0dc0314365097edcac75ccbb1fa19864c/svdtools/patch.py#L1037-L1038

Is it necessary those checks to be hard error?
It is often particular chips don't have some registers. And we need to create individual rule for them which complicates all patch system.
I'd prefer this check be just warning saying "Rule ignored: register not found". Or something like this.

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