Releases: rust-embedded/cortex-m-rt
Release v0.6.7
Fixed
- entry / exception / interrupt:
#[cfg]
attributes used onstatic mut
variables are now properly handled.
v0.6.6
Changed
-
Misuse of attributes now produce compiler errors with proper spans instead of panicking messages.
-
The
HardFault
symbol has been renamed toHardFaultTrampoline
; likewise theUserHardFault
symbol has been renamed toHardFault
. If you were using breakpoints onUserHardFault
to detect hard fault you should now put those breakpoints on theHardFault
symbol.
Fixed
-
Attributes on local
static mut
variables (declared at the beginning ofentry
/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 unwindHardFault
s.
Release v0.6.5
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
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 theextern "C"
ABI which is what the hardware expects. -
(macros)
entry
andexception
now respect the declared unsafety. That is#[entry] unsafe main() -> !
won't requireunsafe
blocks to useunsafe
API.
Release v0.6.3
Fixed
- Fixed the
rand
problem for real.
Release v0.6.2
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
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
Changed
- [breaking-change] the
entry!
,pre_init!
andexception!
macros have been replaced with attributes:#[entry]
,#[pre_init]
and#[exception]
,
respectively. This also changes the toolchain requirement to 1.30-beta or newer.