-
Notifications
You must be signed in to change notification settings - Fork 156
Generated code doesn't work #487
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
Comments
I can confirm that head works fine. See https://github.com/rp-rs/rp2040-pac/tree/use_svd_0.18alpha |
We were just discussing this on the |
I tried to do it in the generated output with sed and it was not easy at all (because you use #[doc=""] not ///). Filtering the string before it's rendered as docs would be best. At least they didn't use Doxygen syntax in the comments 😂 |
There's unfortunately no way to generate |
Is this still actual? |
Uh oh!
There was an error while loading. Please reload this page.
I built a PAC using svd2rust 0.17 and it didn't compile (https://github.com/rp-rs/rp2040-pac).
I had to:
bare_metal::Nr
withcortex_m::interrupt::Nr
I also really struggled with the docs, which in the SVD are full of
\n
character pairs. It would really help if svd2rust could process out these character pairs and split the docs into multiple lines.The text was updated successfully, but these errors were encountered: