Skip to content

Commit bc8c562

Browse files
bors[bot]adamgreig
andauthored
Merge #286
286: Prepare for v0.7.0 r=thalesfragoso a=adamgreig I think I got everything in the changelog updates but please point out anything I missed. Anything else missing before we're ready for 0.7.0? Note that my plan is to now release cortex-m-semihosting 0.3.6 (with support for cortex-m >0.5&&<0.8) and 0.4.2 (cortex-m ^0.7, with our recent breaking changes) _after_ cortex-m 0.7 is out. Co-authored-by: Adam Greig <[email protected]>
2 parents 5b5b8b1 + 5016fd8 commit bc8c562

File tree

3 files changed

+35
-6
lines changed

3 files changed

+35
-6
lines changed

CHANGELOG.md

+34-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,9 @@ 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
25+
- Support for the Security Attribution Unit on ARMv8-M
2126

2227
### Changed
2328

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

3162
## [v0.6.3] - 2020-07-20
3263

@@ -610,7 +641,9 @@ fn main() {
610641
- Functions to get the vector table
611642
- Wrappers over miscellaneous instructions like `bkpt`
612643

613-
[Unreleased]: https://github.com/rust-embedded/cortex-m/compare/v0.6.3...HEAD
644+
[Unreleased]: https://github.com/rust-embedded/cortex-m/compare/v0.7.0...HEAD
645+
[v0.7.0]: https://github.com/rust-embedded/cortex-m/compare/v0.6.4...v0.7.0
646+
[v0.6.4]: https://github.com/rust-embedded/cortex-m/compare/v0.6.3...v0.6.4
614647
[v0.6.3]: https://github.com/rust-embedded/cortex-m/compare/v0.6.2...v0.6.3
615648
[v0.6.2]: https://github.com/rust-embedded/cortex-m/compare/v0.6.1...v0.6.2
616649
[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

src/interrupt.rs

-4
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@ pub unsafe trait InterruptNumber: Copy {
2525

2626
/// Implement InterruptNumber for the old bare_metal::Nr trait.
2727
/// This implementation is for backwards compatibility only and will be removed in cortex-m 0.8.
28-
#[deprecated(
29-
since = "0.7.0",
30-
note = "Please update your PAC to one using the latest svd2rust"
31-
)]
3228
unsafe impl<T: Nr + Copy> InterruptNumber for T {
3329
#[inline]
3430
fn number(self) -> u16 {

0 commit comments

Comments
 (0)