Skip to content

siwx917.svd has clusters with missing %s placeholders. #21

@i509VCB

Description

@i509VCB

Per https://arm-software.github.io/CMSIS_5/SVD/html/elem_registers.html#elem_cluster, a cluster with a dim set should have a %s placeholder in the name. However the SVD file has multiple occurrences of clusters, such as PWM_DUTYCYCLE_REG_WR_VALUEn, which have a dim value set to act as an array but do not contain a %s placeholder in place of the n seen in the register names.

This seems to cause issues with svdtools and chiptool which expect clusters to follow the SVD specification for naming for code generation. I have attached a file showing that the changes I needed to make to allow svdtools and chiptool to successfully read the file (ignore the CRLF and end of document new lines).
siwx917_svd_fix.txt

I would appreciate if the svd file could be fixed.

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