File tree 2 files changed +33
-2
lines changed
2 files changed +33
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,37 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
7
7
8
8
## [ Unreleased]
9
9
10
+ ## [ v0.4.0] - 2018-04-09
11
+
12
+ ### Added
13
+
14
+ - LLD support. The linker script provided by this crate has been tweaked to support both LLD and GNU
15
+ LD. To use LLD as a linker change ` .cargo/config ` to look like this:
16
+
17
+ ``` diff
18
+ [target.thumbv7m-none-eabi]
19
+ rustflags = [
20
+ "-C", "link-arg=-Tlink.x",
21
+ - "-C", "linker=arm-none-eabi-ld",
22
+ - "-Z", "linker-flavor=ld",
23
+ + "-C", "linker=lld",
24
+ + "-Z", "linker-flavor=ld.lld",
25
+ ]
26
+ ```
27
+
28
+ ### Removed
29
+
30
+ - [ breaking-change] Stack overflow protection has been removed. Unfortunately, supporting this
31
+ feature produces totally wrong ` arm-none-eabi-size ` reports when LLD is used to link the
32
+ program. If you need the stack overflow protection feature you can continue to use version
33
+ v0.3.13+.
34
+
35
+ - [ breaking-change] The "abort-on-panic" Cargo feature, which provided a ` panic_fmt ` implementation,
36
+ has been removed. If you were using this feature you can instead use a [ panic implementation
37
+ crate] [ panic-impl ] .
38
+
39
+ [ panic-impl ] : https://crates.io/keywords/panic-impl
40
+
10
41
## [ v0.3.15] - 2018-04-08
11
42
12
43
### Fixed
Original file line number Diff line number Diff line change 38
38
//! $ # add this crate as a dependency
39
39
//! $ cargo add cortex-m-rt --vers 0.4.0
40
40
//!
41
- //! $ # select a panicking behavior
41
+ //! $ # select a panicking behavior (look for the panic-impl keyword on crates.io)
42
42
//! $ cargo add panic-abort
43
43
//!
44
44
//! $ # memory layout of the device
151
151
//! #[linkage = "weak"]
152
152
//! #[naked]
153
153
//! #[no_mangle]
154
- //! extern "C" fn WWDG () {
154
+ //! extern "C" fn PVD () {
155
155
//! unsafe {
156
156
//! asm!("b DEFAULT_HANDLER" :::: "volatile");
157
157
//! core::intrinsics::unreachable();
You can’t perform that action at this time.
0 commit comments