-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a remove duplicates functionality #267
Comments
Problem: Sometimes register names contain duplicate strings that unnecessarily lengthen them. Solution: Remove the largest duplicated substring, with a specified delimiter to avoid removing mere duplicated characters. Testing: Unit-level test of helper function, integration level test with SVD file in and expected out. Issues: Closes rust-embedded#267.
Hi folks, fumbling around with this new-to-me code base because I am working with some registers that have a lot of duplicated naming within. My unit-level test is passing, but the example patch.yaml doesn't yield the output I would hope to see, which is all duplicate names separated by the same delimiter removed. Some basic printf debugging indicates that some matches are occurring but the structure of these data structures are a little hard to follow and I'm wondering if anyone might have any suggestions? Thanks in advance for taking a look at the draft PR. |
Problem: Sometimes register names contain duplicate strings that unnecessarily lengthen them. Solution: Remove the largest duplicated substring, with a specified delimiter to avoid removing mere duplicated characters. Testing: Unit-level test of helper function, integration level test with SVD file in and expected out. Issues: Closes rust-embedded#267.
Problem: Sometimes register names contain duplicate strings that
unnecessarily lengthen them.
Solution: Remove the largest duplicated substring, with a specified
delimiter to avoid removing mere duplicated characters.
The text was updated successfully, but these errors were encountered: