Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

Releases: rust-embedded/cortex-m-rt

Release v0.6.7

25 Nov 09:52
Compare
Choose a tag to compare

Fixed

  • entry / exception / interrupt: #[cfg] attributes used on static mut variables are now properly handled.

v0.6.6

25 Nov 09:53
abed79f
Compare
Choose a tag to compare

Changed

  • Misuse of attributes now produce compiler errors with proper spans instead of panicking messages.

  • The HardFault symbol has been renamed to HardFaultTrampoline; likewise the UserHardFault symbol has been renamed to HardFault. If you were using breakpoints on UserHardFault to detect hard fault you should now put those breakpoints on the HardFault symbol.

Fixed

  • Attributes on local static mut variables (declared at the beginning of entry / interrupt / exception) are now respected.

  • The "GDB can now unwind HardFault callstacks" fix from the previous release broke HardFault's' &ExceptionFrame argument (the pointer was off by 8 bytes). This release fixes that problem without compromising GDB's ability to unwind HardFaults.

Release v0.6.5

25 Nov 09:54
Compare
Choose a tag to compare

Changed

  • We now keep .stack_sizes by default, for use with external tooling.
  • (macros) New #[interrupt] attribute added, similar to #[exception] for use with device-specific interrupt handlers.

Fixed

  • GDB can now unwind HardFault callstacks

Release v0.6.4

25 Nov 09:54
62972c8
Compare
Choose a tag to compare

Changed

  • (macros) Improved the error message when any of the attribute is used on the wrong kind of item.

Fixed

  • (macros) The expansion of the exception attribute now uses the extern "C" ABI which is what the hardware expects.

  • (macros) entry and exception now respect the declared unsafety. That is #[entry] unsafe main() -> ! won't require unsafe blocks to use unsafe API.

Release v0.6.3

25 Nov 09:55
Compare
Choose a tag to compare

Fixed

  • Fixed the rand problem for real.

Release v0.6.2

25 Nov 09:55
Compare
Choose a tag to compare

Fixed

  • Worked around a Cargo limitation that broke builds that depend on rand.
  • Updated the documentation link in the README to point to working docs.

Release v0.6.1

25 Nov 09:56
Compare
Choose a tag to compare

Changed

  • Produce a better error message if two (or more) copies of cortex-m-rt are going to be linked into a binary.

Release v0.6.0

25 Nov 09:56
Compare
Choose a tag to compare

Changed

  • [breaking-change] the entry!, pre_init! and exception! macros have been replaced with attributes: #[entry], #[pre_init] and #[exception],
    respectively. This also changes the toolchain requirement to 1.30-beta or newer.