Skip to content
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

Add support of "derived_from" for peripherals #16

Closed
pellico opened this issue May 7, 2024 · 0 comments · Fixed by #19
Closed

Add support of "derived_from" for peripherals #16

pellico opened this issue May 7, 2024 · 0 comments · Fixed by #19
Assignees
Labels
enhancement New feature or request

Comments

@pellico
Copy link
Contributor

pellico commented May 7, 2024

Describe the solution you'd like

  • When "derived_from" is used in peripherals and there are no changes / overrides the same struct shall be used.

  • When "derived_from" is used in peripherals and there are no changes / overrides the a new struct shall be created

Describe alternatives you've considered

Use trait to isolate the common part and use newtype pattern + trait to capture common part. This is too complex to be implemented and it is easy to break backward compatibility

@pellico pellico added the enhancement New feature or request label May 7, 2024
@pellico pellico self-assigned this May 7, 2024
@pellico pellico linked a pull request May 15, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant