Closed Knight-Ops closed 3 years ago
This seems to be related. Looks to be a svd2rust issue not supporting field expansion with %s, so probably should format the SVD without supported expansions if possible?
Source that this should be supported according to the CMSIS-SVD Spec : https://arm-software.github.io/CMSIS_5/SVD/html/elem_registers.html#elem_field
svd2rust already supports these, but not in the latest released version ;)
Awesome, maybe hit up that open issue on svd2rust? It may also be worth a note in the README to use the bleeding edge svd2rust for support? Thanks for letting me know though, that's great!
This looks like it happened 10 months ago in 8032503c588159e8366a67b77aeeb0db85f7427f. It looks like this is a side effect of some script that didn't do its replacement properly since svd2rust doesn't like
%s
in the name of afield
.Current SVD:
Error from svd2rust:
Prior to commit SVD:
I am using svd2rust 0.17.0, as it is possible this could be an issue in svd2rust instead.