Skip to content

Ship a 1.0 release #426

Open
Open
@thejpster

Description

@thejpster
Contributor

Part of rust-embedded/wg#383

Blockers:

  • Add your blocking issues here

Activity

hannobraun

hannobraun commented on Jan 8, 2020

@hannobraun
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

jonas-schievink commented on Feb 9, 2020

@jonas-schievink
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

burrbull commented on Feb 10, 2020

@burrbull
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

YuhanLiin commented on Feb 13, 2020

@YuhanLiin
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @hannobraun@thejpster@jonas-schievink@burrbull@YuhanLiin

        Issue actions

          Ship a 1.0 release · Issue #426 · rust-embedded/svd2rust