diff options
author | 2021-01-26 23:00:57 +0000 | |
---|---|---|
committer | 2021-01-26 23:00:57 +0000 | |
commit | 80ce8ce1dc34db8acb65248b11efe0414f545df1 (patch) | |
tree | abeae4e2211b67d30d2db0c119ab5a093b929fcc | |
parent | 2dae1e411c40c3f545806c77a7164a74a42727a1 (diff) | |
download | cortex-m-80ce8ce1dc34db8acb65248b11efe0414f545df1.tar.gz cortex-m-80ce8ce1dc34db8acb65248b11efe0414f545df1.tar.zst cortex-m-80ce8ce1dc34db8acb65248b11efe0414f545df1.zip |
Fix missing peripheral::itm export, prepare v0.6.7
-rw-r--r-- | CHANGELOG.md | 9 | ||||
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | src/peripheral/mod.rs | 3 |
3 files changed, 12 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 027dc2e..be9401b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## [v0.6.7] - 2021-01-26 + +### Fixed + +- Fixed missing `peripheral::itm` reexport. + ## [v0.6.6] - 2021-01-26 ### Fixed @@ -613,7 +619,8 @@ fn main() { - Functions to get the vector table - Wrappers over miscellaneous instructions like `bkpt` -[Unreleased]: https://github.com/rust-embedded/cortex-m/compare/v0.6.6...HEAD +[Unreleased]: https://github.com/rust-embedded/cortex-m/compare/v0.6.7...HEAD +[v0.6.6]: https://github.com/rust-embedded/cortex-m/compare/v0.6.6...v0.6.7 [v0.6.6]: https://github.com/rust-embedded/cortex-m/compare/v0.6.5...v0.6.6 [v0.6.5]: https://github.com/rust-embedded/cortex-m/compare/v0.6.4...v0.6.5 [v0.6.4]: https://github.com/rust-embedded/cortex-m/compare/v0.6.3...v0.6.4 @@ -11,7 +11,7 @@ license = "MIT OR Apache-2.0" name = "cortex-m" readme = "README.md" repository = "https://github.com/rust-embedded/cortex-m" -version = "0.6.6" +version = "0.6.7" edition = "2018" [dependencies] diff --git a/src/peripheral/mod.rs b/src/peripheral/mod.rs index 152eb49..297b32f 100644 --- a/src/peripheral/mod.rs +++ b/src/peripheral/mod.rs @@ -84,6 +84,9 @@ pub mod mpu; pub mod nvic; pub mod scb; +#[cfg(all(not(armv6m), not(armv8m_base)))] +pub use cortex_m_0_7::peripheral::itm; + pub use cortex_m_0_7::peripheral::{cpuid, dcb, dwt, syst}; #[cfg(not(armv6m))] pub use cortex_m_0_7::peripheral::{fpb, tpiu}; |