Viktor Vilhelm Sonesten
Viktor Vilhelm Sonesten
I'll go over it tomorrow.
> Let me know if there was a good reason At the time I thought it was relics from an older implementation which I refactored just to remove the `unsafe`...
I want to try this out on hardware before I sign off on it. Hopefully I'll have it done by next week.
I've been testing this PR with a in `cortex-m-rtic-trace` branch, based on an `rtic-scope-dw0` branch of cortex-m that contains this PR, for use with `cargo-rtic-scope`. Without the patch I see...
Related to #382.
Preferably https://github.com/rust-embedded/cortex-m/pull/366 (trivial), too.
#383 should be finalized, too.
An edge-case to consider are RAZ/WI (Read-as-zero, writes ignored) register fields which do not necessarily have an associated flag bit to check for support. Per the standard one should try...
CC @TDHolmes because of your recent work on `DWT::configure`.
See above PR. Implementing an `ITM::configure_unchecked` would in this case lead to a lot of code duplication due to the lack of feature support flags.