Skip to content

Explore a wishlist for MCU vendors interested in Rust #910

@i509VCB

Description

@i509VCB

I've discussing with some vendors who are interested in Rust support (no names to protect the innocent). Some of the questions they have are around what they could provide to make this support easier for us or things that the vendors can do themselves.

I propose we have a discussion on a sort of "wishlist" that vendors can reference to make supporting Rust on their parts easier. Some of the topics here include:

  • SVDs/register definitions
    • One vendor has asked how should they improve the SVDs to make PACs easier to create (and require a lot less patching).
    • Would be good to encourage vendors to test their SVDs with svd2rust and chiptool.
    • Topics around consistency across families and correctness.
      • Ideally 0 patching needed to match the datasheet
  • Ability to flash with probe-rs, or at minimum something open source like openocd or pyocd
  • Chip metadata
    • The metapac crates are a great example of the things you can do with some well made machine processable chip metadata (pin muxing, peripherals, clock info).
    • I think it would valuable to propose to vendors to invest in publicly accessible chip metadata and show them the business case for making such metadata available (even its uses outside of Rust).

Other topics relating to vendors interested in Rust and what they could do would also be valuable, even if not listed.

I am going to propose to add this to an upcoming agenda for a WG meeting.

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

    Issue actions