File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ license = "MIT OR Apache-2.0"
1111name = " cortex-m"
1212readme = " README.md"
1313repository = " https://github.com/japaric/cortex-m"
14- version = " 0.6.1 "
14+ version = " 0.6.2 "
1515edition = " 2018"
1616links = " cortex-m" # prevent multiple versions of this crate to be linked together
1717
Original file line number Diff line number Diff 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" ) ;
You can’t perform that action at this time.
0 commit comments