Skip to content

Commit b889e49

Browse files
Merge #187
187: 0.6.2 r=therealprof a=jonas-schievink Closes #185 Co-authored-by: Jonas Schievink <[email protected]>
2 parents ce538b2 + 6ac19a5 commit b889e49

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
## [v0.6.2] - 2020-01-12
11+
12+
### Added
13+
14+
- Allow writing to the `CONTROL` register via `register::control::write`
15+
- Add `DWT::unlock()` for a safe way to unlock the DWT
16+
1017
### Deprecation
1118

1219
- Deprecated incorrectly included registers (`BASPRI`, `BASEPRI_MAX`, `FAULTMASK`) on `thumbv8.base`
@@ -566,6 +573,7 @@ fn main() {
566573
- Wrappers over miscellaneous instructions like `bkpt`
567574

568575
[Unreleased]: https://github.com/rust-embedded/cortex-m/compare/v0.6.1...HEAD
576+
[v0.6.2]: https://github.com/rust-embedded/cortex-m/compare/v0.6.1...v0.6.2
569577
[v0.6.1]: https://github.com/rust-embedded/cortex-m/compare/v0.6.0...v0.6.1
570578
[v0.6.0]: https://github.com/rust-embedded/cortex-m/compare/v0.5.8...v0.6.0
571579
[v0.5.8]: https://github.com/rust-embedded/cortex-m/compare/v0.5.7...v0.5.8

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ license = "MIT OR Apache-2.0"
1111
name = "cortex-m"
1212
readme = "README.md"
1313
repository = "https://github.com/japaric/cortex-m"
14-
version = "0.6.1"
14+
version = "0.6.2"
1515
edition = "2018"
1616
links = "cortex-m" # prevent multiple versions of this crate to be linked together
1717

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ fn main() {
2525
} else if target.starts_with("thumbv7em-") {
2626
println!("cargo:rustc-cfg=cortex_m");
2727
println!("cargo:rustc-cfg=armv7m");
28-
//println!("cargo:rustc-cfg=armv7em");
28+
println!("cargo:rustc-cfg=armv7em"); // (not currently used)
2929
} else if target.starts_with("thumbv8m.base") {
3030
println!("cargo:rustc-cfg=cortex_m");
3131
println!("cargo:rustc-cfg=armv8m");

0 commit comments

Comments
 (0)