rust-embedded / rust-embedded/cortex-m

ITM: `configure` lacks API for stimulus registers

Open
#393 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rust
Stars
1k
Forks
202
Avg merge
6d 2h
Merged PRs (30d)
2

Description

I propose something akin to:

itm.configure(ITMConfiguration {
    // ...
    stim: Stimulus::EnableAll
}
itm.configure(ITMConfiguration {
    // ...
    stim: Stimulus::EnableSome([0..5, 8..31]),
}

Better review iprint and iprintln and see if they make any assumptions about the registers.

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 reviewing the existing configure API and the iprint and iprintln entry points, as requested in the issue, to identify assumptions about stimulus registers. Define what EnableAll and EnableSome should mean for ITMConfiguration, then verify that the printing APIs remain compatible with the new configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
embedded-iot
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.