Releases: rust-embedded/cortex-m
Releases · rust-embedded/cortex-m
v0.7.7
What's Changed
- cortex-m v0.7.7: add documentation for critical-section-single-core by @adamgreig in #458
Full Changelog: v0.7.6...v0.7.7
v0.7.6
v0.7.5
Deprecated
- the
ptr()
function on all peripherals register blocks in favor of
the associated constantPTR
(#386).
Changed
- The
inline-asm
feature no longer requires a nightly Rust compiler, but
does require Rust 1.59 or above.
Fixed
v0.7.4
v0.7.4 - 2021-12-31
Added
- Added support for additional DWT counters (#349)
- CPI counter
- Exception overhead counter
- LSU counter
- Folded-instruction counter
- Added
DWT.set_cycle_count
(#347). - Added support for the Cortex-M7 TCM and cache access control registers.
There is a featurecm7
to enable access to these (#352). - Add derives for serde, Hash, and PartialOrd to VectActive behind feature
gates for host-platform use (#363). - Support host platforms besides x86_64 (#369).
- Added
delay::Delay::with_source
, a constructor that lets you specify
the SysTick clock source (#374).
Fixed
- Fix incorrect AIRCR PRIGROUP mask (#338, #339).
- Fix nightly users of inline-asm breaking now that the asm macro is removed
from the prelude (#372).
Deprecated
v0.7.3
v0.7.2
v0.6.7
v0.7.1
Added
- New assembly methods
asm::semihosting_syscall
,asm::bootstrap
, and
asm::bootload
.
Deprecated
msp::write
has been deprecated in favor ofasm::bootstrap
. It was not
possible to usemsp::write
without causing Undefined Behavior, so all
existing users are encouraged to migrate.
Fixed
- Fixed a bug in
asm::delay
which could lead to incorrect codegen and
infinite loops. - Improved timing guarantees of
asm::delay
on multiple-issue CPU cores. - Additional compiler fences added to inline assembly where necessary.
- Fixed DWARF debug information in pre-built assembly binaries.
v0.6.6
Fixed
- Fixed missing ITM reexport on
thumbv8m.base
targets.