cortex-m
cortex-m copied to clipboard
Low level access to Cortex-M processors
# Summary The `#[uninit]` attribute will place `static [mut]` variables into an `.uninit` section, located in RAM, that won't be initialized before `main`. # Motivation Today, uninitialized (see `MaybeUninit`) `static`...
Don't pass `CricialSection` to closure passed to `interrupt::free`. Depends on https://github.com/embassy-rs/critical-section/pull/13.
This PR adds the ITNS (Interrupt Target Non-secure) field to the NIVC peripheral. This field is required to write a boot loader for TrustZone-M devices, since it allows the user...
Unfortunately the recent 0.7.5 release was cut from the staging branch. https://github.com/rust-embedded/cortex-m/blob/e0bfe3ae21903e9dbd80e903e726f7341662e12b/Cargo.toml#L14-L22 Thus, it did not include recent dependency updates that are present on other branches, like the bump of...
Support for embedded_hal 1.0.0-alpha.8 in addition to 0.2.4. Delay implementation was aligned for alpha HAL release.
@adamgreig, `itm` ~~v0.4.0~~ ~~v0.5.0~~ v0.7.0 is ready to be published, but it depends on ae1d2a62d895dc458784c465e021a010cb75a8b1. Can an alpha of the next release be published?
As discussed in #382, this PR checks that the requested features are ensured before continuing in `ITM::configure`. Because some register fields in `ITM_TCR` are RAZ/WI and RAZ or RAO (and...
Also update `interrupt::free` to pass `CriticalSection
While I understand the intention in making `SYST.has_wrapped()` take `&mut self` because of the side effect, I believe the trouble this causes are bigger than any pain it aims to...