Skip to content

Commit 169e334

Browse files
committed
Prepare for v0.7.0
1 parent 5b5b8b1 commit 169e334

File tree

2 files changed

+34
-2
lines changed

2 files changed

+34
-2
lines changed

CHANGELOG.md

+33-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
## [v0.7.0] - 2020-11-09
11+
1012
### Added
1113

1214
- New `InterruptNumber` trait is now required on interrupt arguments to the
@@ -18,6 +20,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1820
- A delay driver based on SysTick.
1921
- You can now use LTO to inline assembly calls, even on stable Rust.
2022
See the `asm/lib.rs` documentation for more details.
23+
- Initial ARMv8-M MPU support
24+
- ICTR and ACTLR registers added
2125

2226
### Changed
2327

@@ -27,6 +31,32 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
2731
technique which generates Rust static libs for stable calling, and uses the
2832
new `asm!` macro with `inline-asm`. See the `asm/lib.rs` documentation for
2933
more details.
34+
- Cache enabling now uses an assembly sequence to ensure correctness.
35+
- `ptr()` methods are now `const`.
36+
37+
### Breaking Changes
38+
- `SCB::invalidate_dcache` and related methods are now unsafe, see #188
39+
- `Peripherals` struct is now non-exhaustive, so fields may be added in future
40+
non-breaking changes
41+
- Removed `aligned` dependency
42+
- Removed const-fn feature
43+
- Removed previously deprecated APIs
44+
- `NVIC::clear_pending`
45+
- `NVIC::disable`
46+
- `NVIC::enable`
47+
- `NVIC::set_pending`
48+
- `SCB::system_reset`
49+
- Removed `basepri`, `basepri_max`, and `faultmask` registers from thumbv8m.base
50+
51+
## [v0.6.4] - 2020-10-26
52+
53+
### Changed
54+
55+
- MSRV bumped to 1.36.0 due to `aligned` dependency.
56+
57+
### Fixed
58+
59+
- Drop AT&T syntax from inline asm, which was causing miscompilations with newer versions of the compiler.
3060

3161
## [v0.6.3] - 2020-07-20
3262

@@ -610,7 +640,9 @@ fn main() {
610640
- Functions to get the vector table
611641
- Wrappers over miscellaneous instructions like `bkpt`
612642

613-
[Unreleased]: https://github.com/rust-embedded/cortex-m/compare/v0.6.3...HEAD
643+
[Unreleased]: https://github.com/rust-embedded/cortex-m/compare/v0.7.0...HEAD
644+
[v0.7.0]: https://github.com/rust-embedded/cortex-m/compare/v0.6.4...v0.7.0
645+
[v0.6.4]: https://github.com/rust-embedded/cortex-m/compare/v0.6.3...v0.6.4
614646
[v0.6.3]: https://github.com/rust-embedded/cortex-m/compare/v0.6.2...v0.6.3
615647
[v0.6.2]: https://github.com/rust-embedded/cortex-m/compare/v0.6.1...v0.6.2
616648
[v0.6.1]: https://github.com/rust-embedded/cortex-m/compare/v0.6.0...v0.6.1

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ license = "MIT OR Apache-2.0"
1111
name = "cortex-m"
1212
readme = "README.md"
1313
repository = "https://github.com/rust-embedded/cortex-m"
14-
version = "0.6.2"
14+
version = "0.7.0"
1515
edition = "2018"
1616
links = "cortex-m" # prevent multiple versions of this crate to be linked together
1717

0 commit comments

Comments
 (0)