Closed japaric closed 7 years ago
Seems clearly broken to me; while the spec does not explicitly say that uniqueness should be modulo case, I believe that the C code generators for CMSIS assume that and casefold, and this file only works because of how loose the C standard is on this point.
Thank for the input @whitequark.
Closing as "this is not a bug in svd2rust but in the SVD files".
File: MK61F15.svd
Contents:
Error:
The read proxy for these two fields,
Not_Used
andNOT_USED
, isNOT_USEDR
. I don't know if this is something we want to support. This SVD file is also kind wrong because it should be using the keyword RESERVED for reserved bitfields then svd2rust will simply had ignored the bitfields.Should we support this or flag the SVD file as being broken?
cc @whitequark