chiptool
chiptool copied to clipboard
RenameEnumVariants should allow specifying the value of the variant to rename.
The i.MXRT1011 SVDs unfortunately have enums which define two variants with the same name. For example:
This of course results in a compilation error:
makes sense 👍
another possible improvement is making generation tolerate duplicate variant names, for example in this case autorenaming the second one as TRISTATED_2