rust-embedded / rust-embedded/svd2rust

Add support for atomic xor/clear/set register operations for Raspberry Pi RP2040 microcontroller

Open
#535 13 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
857
Forks
164
PR merge metrics
No merged PRs in 30d

Description

As per https://datasheets.raspberrypi.org/rp2040/rp2040-datasheet.pdf "2.1.2. Atomic Register Access"

Screen Shot 2021-08-01 at 10 27 20 PM

This looks vaguely similar to something that was done for the msp430. Unsure how common this is for cortex M registers across the board. Would this be some type of very specific target?

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 with section 2.1.2, “Atomic Register Access,” of the RP2040 datasheet, then compare the existing msp430 implementation mentioned in the issue. Determine how target-specific generation should represent atomic xor, clear, and set operations; done means RP2040 register maps support those operations without changing unrelated targets.

Written by the indexing model from the issue text.

Assessment

Tech stack
raspberry-pi, rust
Domain
embedded-iot, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.