rust-embedded / rust-embedded/cortex-m
Incorporate DWT Tracing helpers from stm32f4xx-hal?
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1k
- Forks
- 202
- Avg merge
- 6d 2h
- Merged PRs (30d)
- 2
Description
The stm32f4xx-hal has a neat module for using the DWT for tracing/profiling (https://github.com/stm32-rs/stm32f4xx-hal/blob/master/src/dwt.rs). Given that the DWT is a Cortex-M feature, I was wondering if it makes sense to move it here and expose it either via the cortex-m crate, or a new crate? It could a neat thing to build into a helpful tool for all Cortex-M developers.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading stm32f4xx-hal/src/dwt.rs to understand the existing DWT tracing helpers and then consider how they would fit in the cortex-m crate or a new crate. Done would require an agreed API and crate location, followed by incorporating the helpers for Cortex-M developers.
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
- Needs clarification
- Newbie friendliness
- 25/100