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
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.
The text was updated successfully, but these errors were encountered:
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 asPWM_DUTYCYCLE_REG_WR_VALUEn
, which have adim
value set to act as an array but do not contain a%s
placeholder in place of then
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.
The text was updated successfully, but these errors were encountered: