Skip to content

Move generic device stuff out of cortex-m #50

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

Closed
ahixon opened this issue Jun 21, 2017 · 0 comments · Fixed by #57
Closed

Move generic device stuff out of cortex-m #50

ahixon opened this issue Jun 21, 2017 · 0 comments · Fixed by #57
Milestone

Comments

@ahixon
Copy link

ahixon commented Jun 21, 2017

via rust-embedded/svd2rust#117

Peripheral, and maybe some other structs, aren't really Cortex-M specific. svd2rust currently relies on this crate just for that struct, but if it generates, say, some Rust code for a Cortex-A target instead, it still needs Peripheral but nothing else.

First thought that comes to mind would be to move Peripheral (and friends?) out into a separate crate, and have svd2rust and cortex-m rely on that generic crate instead. But, I'm sure there are many ways to do it.

Thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants