From bf4c7e617efc8745ea93417e59508ee8f90ffc7a Mon Sep 17 00:00:00 2001 From: Adam Greig Date: Tue, 8 Nov 2022 20:23:48 +0000 Subject: [PATCH] Prepare for c-m-rt 0.7.2 --- cortex-m-rt/CHANGELOG.md | 12 +++++++++++- cortex-m-rt/Cargo.toml | 2 +- cortex-m-rt/src/lib.rs | 2 +- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/cortex-m-rt/CHANGELOG.md b/cortex-m-rt/CHANGELOG.md index 68a15790..0ee05103 100644 --- a/cortex-m-rt/CHANGELOG.md +++ b/cortex-m-rt/CHANGELOG.md @@ -7,13 +7,22 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## [v0.7.2] + +- MSRV is now Rust 1.59. - Moved precompiled assembly blobs to `global_asm!`, requiring Rust 1.59. +- Add new `set_vtor` and `set-sp` features to conditionally set the VTOR and SP + registers at device reset ([#423]). +- Allow (unstable) `naked` attribute on interrupt handlers and `pre_init`. ## Fixes - Fix `cortex_m_rt::exception` macro no longer being usable fully-qualified ([#414]) +- Fix veneer limit position in linker script ([#434]). [#414]: https://github.com/rust-embedded/cortex-m/issues/414 +[#423]: https://github.com/rust-embedded/cortex-m/issues/423 +[#434]: https://github.com/rust-embedded/cortex-m/issues/434 ## Notes @@ -593,7 +602,8 @@ section size addr Initial release -[Unreleased]: https://github.com/rust-embedded/cortex-m-rt/compare/v0.7.1...HEAD +[Unreleased]: https://github.com/rust-embedded/cortex-m/compare/c-m-rt-v0.7.2...HEAD +[v0.7.2]: https://github.com/rust-embedded/cortex-m/compare/c-m-rt-v0.7.1...c-m-rt-v0.7.2 [v0.7.1]: https://github.com/rust-embedded/cortex-m-rt/compare/v0.7.0...v0.7.1 [v0.7.0]: https://github.com/rust-embedded/cortex-m-rt/compare/v0.6.11...v0.7.0 [v0.6.15]: https://github.com/rust-embedded/cortex-m-rt/compare/v0.6.14...v0.6.15 diff --git a/cortex-m-rt/Cargo.toml b/cortex-m-rt/Cargo.toml index c292cfee..e6ea8c83 100644 --- a/cortex-m-rt/Cargo.toml +++ b/cortex-m-rt/Cargo.toml @@ -12,7 +12,7 @@ license = "MIT OR Apache-2.0" name = "cortex-m-rt" readme = "README.md" repository = "https://github.com/rust-embedded/cortex-m" -version = "0.7.1" +version = "0.7.2" autoexamples = true links = "cortex-m-rt" # Prevent multiple versions of cortex-m-rt being linked edition = "2021" diff --git a/cortex-m-rt/src/lib.rs b/cortex-m-rt/src/lib.rs index 5f8af73a..6e6bf7ec 100644 --- a/cortex-m-rt/src/lib.rs +++ b/cortex-m-rt/src/lib.rs @@ -491,7 +491,7 @@ macro_rules! cfg_global_asm { // This reset vector is the initial entry point after a system reset. // Calls an optional user-provided __pre_init and then initialises RAM. // If the target has an FPU, it is enabled. -// Finally jumsp to the user main function. +// Finally jumps to the user main function. #[cfg(cortex_m)] cfg_global_asm! { ".cfi_sections .debug_frame