rust-embedded / rust-embedded/svd

Handling non-standard `access`

Open
#291 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
84
Forks
64
PR merge metrics
No merged PRs in 30d

Description

In the TI MSPM0 SVDs, some registers use the non-standard read-writeonce access. For obvious reasons this is going to result in a parse error.

Would there be any objections to an addition to just map this access type to read-write (whether to guard it behind a flag is a different question)?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the parser code that validates SVD register access values and inspect how standard access types are handled. Confirm the TI MSPM0 SVD examples, then make the requested mapping behave consistently and verify that those files parse successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.