aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar bors[bot] <26634292+bors[bot]@users.noreply.github.com> 2022-11-08 20:53:15 +0000
committerGravatar GitHub <noreply@github.com> 2022-11-08 20:53:15 +0000
commit90c1cb6f10dcf7d8a8b4c994aea0eeefe3578c7d (patch)
tree1713ecf581f5e430e90b76a9dd104a156c66730e
parentb0d2d03554cb6ccb0004d5659755026959502b7e (diff)
parentbf4c7e617efc8745ea93417e59508ee8f90ffc7a (diff)
downloadcortex-m-90c1cb6f10dcf7d8a8b4c994aea0eeefe3578c7d.tar.gz
cortex-m-90c1cb6f10dcf7d8a8b4c994aea0eeefe3578c7d.tar.zst
cortex-m-90c1cb6f10dcf7d8a8b4c994aea0eeefe3578c7d.zip
Merge #454c-m-rt-v0.7.2
454: Prepare for cortex-m-rt 0.7.2 r=therealprof a=adamgreig It's been about a year since the last release so may as well get the couple of bug fixes and new assembly out, I think. This also adds the new set-vtor and set-sp features. Co-authored-by: Adam Greig <adam@adamgreig.com>
-rw-r--r--cortex-m-rt/CHANGELOG.md12
-rw-r--r--cortex-m-rt/Cargo.toml2
-rw-r--r--cortex-m-rt/src/lib.rs2
3 files changed, 13 insertions, 3 deletions
diff --git a/cortex-m-rt/CHANGELOG.md b/cortex-m-rt/CHANGELOG.md
index 68a1579..0ee0510 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 c292cfe..e6ea8c8 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 5f8af73..6e6bf7e 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