Skip to content

Commit

Permalink
Merge #454
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
bors[bot] and adamgreig authored Nov 8, 2022
2 parents b0d2d03 + bf4c7e6 commit 90c1cb6
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
12 changes: 11 additions & 1 deletion cortex-m-rt/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cortex-m-rt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion cortex-m-rt/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 90c1cb6

Please sign in to comment.