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

Commit 4998bf6

Browse files
bors[bot]adamgreig
andauthored
Merge #330
330: Prepare for v0.7.0 r=thejpster a=adamgreig This is mostly a changelog update, including the updates from 0.6 and adding a few missing PRs too. I haven't yet reviewed our open issues but I'm sure there are some low-hanging fruit we should get in for this release, does anyone have any suggestions? I'm happy to update this PR a few times if we can get a few more changes landed first. Co-authored-by: Adam Greig <[email protected]>
2 parents a2e3ad5 + 83c38f0 commit 4998bf6

File tree

4 files changed

+63
-10
lines changed

4 files changed

+63
-10
lines changed

CHANGELOG.md

Lines changed: 56 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,35 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1111

1212
- Add support for CMSE secure gateway veneers ([#297]).
1313
- Allow using the crate with custom target JSON specs ([#304]).
14+
- Export Exception enum for other crates to use ([#224])
1415

16+
[#224]: https://github.com/rust-embedded/cortex-m-rt/pull/224
1517
[#297]: https://github.com/rust-embedded/cortex-m-rt/pull/297
1618
[#304]: https://github.com/rust-embedded/cortex-m-rt/pull/304
1719

1820
### Fixes
1921

20-
- Various fixes to the linker script ([#265], [#286]).
22+
- Various fixes to the linker script ([#265], [#286], [#287], [#323]).
2123
- Use the correct ABI for the `main` symbol ([#278]).
2224
- Add barriers after FPU enabling ([#279]).
23-
- (ARMv6-M) Set LR value to a known value on reset (as the ARM spec requires)
24-
- Added CFI and size info to external assembly subroutines (`HardFaultTrampoline` and `FpuTrampoline`)
25+
- (ARMv6-M) Set LR value to a known value on reset (#[293])
26+
- Added CFI and size info to external assembly subroutines (`HardFaultTrampoline` and `FpuTrampoline`) ([#294])
2527
- Allow building the crate for macOS targets ([#306], [#310]).
2628
- Perform RAM initialization in assembly, to avoid potential UB in Rust ([#301]).
29+
- Perform volatile reads of ICSR in DefaultHandler (#[315])
2730

2831
[#265]: https://github.com/rust-embedded/cortex-m-rt/pull/265
2932
[#278]: https://github.com/rust-embedded/cortex-m-rt/pull/278
3033
[#279]: https://github.com/rust-embedded/cortex-m-rt/pull/279
3134
[#286]: https://github.com/rust-embedded/cortex-m-rt/pull/286
35+
[#287]: https://github.com/rust-embedded/cortex-m-rt/pull/287
36+
[#293]: https://github.com/rust-embedded/cortex-m-rt/pull/293
37+
[#294]: https://github.com/rust-embedded/cortex-m-rt/pull/294
3238
[#301]: https://github.com/rust-embedded/cortex-m-rt/pull/301
3339
[#306]: https://github.com/rust-embedded/cortex-m-rt/pull/306
3440
[#310]: https://github.com/rust-embedded/cortex-m-rt/pull/310
41+
[#315]: https://github.com/rust-embedded/cortex-m-rt/pull/315
42+
[#323]: https://github.com/rust-embedded/cortex-m-rt/pull/323
3543

3644
### Breaking Changes
3745

@@ -48,14 +56,54 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
4856
[#289]: https://github.com/rust-embedded/cortex-m-rt/pull/289
4957
[#308]: https://github.com/rust-embedded/cortex-m-rt/pull/308
5058

51-
## [v0.6.13] - 2020-09-07
59+
### Other
60+
61+
- Change macros crate to use same version number as cortex-m-rt crate ([#245])
62+
- Discourage use of `pre_init` in documentation ([#248])
63+
- Backport: Use `links` in Cargo.toml to prevent multiple linking of
64+
cortex-m-rt (#276)
65+
66+
[#245]: https://github.com/rust-embedded/cortex-m-rt/pull/245
67+
[#248]: https://github.com/rust-embedded/cortex-m-rt/pull/248
68+
[#276]: https://github.com/rust-embedded/cortex-m-rt/pull/276
69+
70+
## Backport release: [v0.6.15] - 2021-07-12
71+
72+
### Fixed
73+
74+
- Backport: Mark .bss as NOLOAD ([#265])
75+
- Backport: Fix possible overflow of .data region ([#286])
76+
- Backport: Perform volatile reads of ICSR in DefaultHandler (#[315])
77+
78+
### Other
79+
- Backport: Use `links` in Cargo.toml to prevent multiple linking of
80+
cortex-m-rt (#276)
81+
- Backport: Use same verison for macros crate as for cortex-m-rt itself
82+
([#245])
83+
84+
[#245]: https://github.com/rust-embedded/cortex-m-rt/pull/245
85+
[#265]: https://github.com/rust-embedded/cortex-m-rt/pull/265
86+
[#276]: https://github.com/rust-embedded/cortex-m-rt/pull/276
87+
[#286]: https://github.com/rust-embedded/cortex-m-rt/pull/286
88+
[#315]: https://github.com/rust-embedded/cortex-m-rt/pull/315
89+
90+
## [v0.6.14] - 2021-05-19
91+
92+
### Fixed
93+
94+
- Backport: Allow building the crate for macOS targets ([#306], [#310]).
95+
96+
[#306]: https://github.com/rust-embedded/cortex-m-rt/issues/306
97+
[#310]: https://github.com/rust-embedded/cortex-m-rt/issues/310
98+
99+
## Backport release: [v0.6.13] - 2020-09-07
52100

53101
### Fixed
54102

55103
- (ARMv6-M) Set LR value to a known value on reset (as the ARM spec requires)
56104
- Added CFI and size info to external assembly subroutines (`HardFaultTrampoline`)
57105

58-
## [v0.6.12] - 2020-01-26
106+
## Backport release: [v0.6.12] - 2020-01-26
59107

60108
### Fixed
61109

@@ -522,7 +570,9 @@ section size addr
522570

523571
Initial release
524572

525-
[Unreleased]: https://github.com/rust-embedded/cortex-m-rt/compare/v0.6.13...HEAD
573+
[Unreleased]: https://github.com/rust-embedded/cortex-m-rt/compare/v0.6.11...HEAD
574+
[v0.6.15]: https://github.com/rust-embedded/cortex-m-rt/compare/v0.6.14...v0.6.15
575+
[v0.6.14]: https://github.com/rust-embedded/cortex-m-rt/compare/v0.6.13...v0.6.14
526576
[v0.6.13]: https://github.com/rust-embedded/cortex-m-rt/compare/v0.6.12...v0.6.13
527577
[v0.6.12]: https://github.com/rust-embedded/cortex-m-rt/compare/v0.6.11...v0.6.12
528578
[v0.6.11]: https://github.com/rust-embedded/cortex-m-rt/compare/v0.6.10...v0.6.11

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ license = "MIT OR Apache-2.0"
1212
name = "cortex-m-rt"
1313
readme = "README.md"
1414
repository = "https://github.com/rust-embedded/cortex-m-rt"
15-
version = "0.6.13"
15+
version = "0.7.0"
1616
autoexamples = true
1717
links = "cortex-m-rt" # Prevent multiple versions of cortex-m-rt being linked
1818

1919
[dependencies]
20-
cortex-m-rt-macros = { path = "macros", version = "=0.6.11" }
20+
cortex-m-rt-macros = { path = "macros", version = "=0.7.0" }
2121
# Note: Do not depend on `cortex-m` here. This crate is used for testing `cortex-m`, so we need to
2222
# avoid pulling in multiple versions of `cortex-m`.
2323

ci/script.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@ main() {
4141
""
4242
)
4343
if [ "$TARGET" != x86_64-unknown-linux-gnu ]; then
44-
RUSTDOCFLAGS="-Cpanic=abort" cargo test --doc
44+
# Only test on stable and nightly, not MSRV.
45+
if [ "$TRAVIS_RUST_VERSION" = stable ] || [ "$TRAVIS_RUST_VERSION" = nightly ]; then
46+
RUSTDOCFLAGS="-Cpanic=abort" cargo test --doc
47+
fi
4548

4649
for linker in "${linkers[@]}"; do
4750
for ex in "${examples[@]}"; do

macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ keywords = ["arm", "cortex-m", "runtime", "startup"]
77
license = "MIT OR Apache-2.0"
88
name = "cortex-m-rt-macros"
99
repository = "https://github.com/rust-embedded/cortex-m-rt"
10-
version = "0.6.11"
10+
version = "0.7.0"
1111
edition = "2018"
1212

1313
[lib]

0 commit comments

Comments
 (0)