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

Ship a 1.0 release #426

Open
1 task
thejpster opened this issue Jan 7, 2020 · 4 comments
Open
1 task

Ship a 1.0 release #426

thejpster opened this issue Jan 7, 2020 · 4 comments

Comments

@thejpster
Copy link
Contributor

Part of rust-embedded/wg#383

Blockers:

  • Add your blocking issues here
@hannobraun
Copy link
Member

I'd like to nominate #213. I don't have the bandwidth to work on it, so if the powers that be decide it's not worth their time, that's fine. But I think it should be considered.

@jonas-schievink
Copy link
Contributor

Proposing a few things:

  • Document the safety guarantees provided by svd2rust PACs
  • Is write_with_zero safe regarding those guarantees? I think it can be used to write illegal values into registers with write constraints.
  • Consider using links = "device-peripherals" in the generated crate's manifest
  • Implement bare_metal::StaticResource for Peripherals (once a new version of bare-metal has been released)
  • Improve build times of generated code to the point where i.MX RT PACs can be generated in a reasonable time frame (I'd say something like 30 seconds on a system with 8 GB of RAM) – also consider tracking this in a similar manner to https://perf.rust-lang.org/ to catch regressions

@burrbull
Copy link
Member

* Is `write_with_zero` safe regarding those guarantees? I think it can be used to write illegal values into registers with write constraints.

Good point. I missed this.

@YuhanLiin
Copy link
Contributor

Does the 1.0 backcompat guarantees apply to the generated PAC crates as well as svd2rust itself? If so, do we only care about backcompat for ARM PACs or for all architectures (MSP430, RISCV)?

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

No branches or pull requests

5 participants