embassy-rs / embassy-rs/chiptool
RenameEnumVariants should allow specifying the value of the variant to rename.
Open
- Dominant language
- Rust
- Stars
- 65
- Forks
- 54
- PR merge metrics
- No merged PRs in 30d
Description
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:
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the RenameEnumVariants entry point and the SVD enum-generation code, then reproduce the duplicate-name case from the i.MXRT1011 SVDs. The change is complete when a variant can be selected by its value and the generated code no longer has duplicate variant names.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- embedded-iot, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100