Skip to content

Commit 80ce8ce

Browse files
committed
Fix missing peripheral::itm export, prepare v0.6.7
1 parent 2dae1e4 commit 80ce8ce

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

CHANGELOG.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
## [v0.6.7] - 2021-01-26
11+
12+
### Fixed
13+
14+
- Fixed missing `peripheral::itm` reexport.
15+
1016
## [v0.6.6] - 2021-01-26
1117

1218
### Fixed
@@ -613,7 +619,8 @@ fn main() {
613619
- Functions to get the vector table
614620
- Wrappers over miscellaneous instructions like `bkpt`
615621

616-
[Unreleased]: https://github.com/rust-embedded/cortex-m/compare/v0.6.6...HEAD
622+
[Unreleased]: https://github.com/rust-embedded/cortex-m/compare/v0.6.7...HEAD
623+
[v0.6.6]: https://github.com/rust-embedded/cortex-m/compare/v0.6.6...v0.6.7
617624
[v0.6.6]: https://github.com/rust-embedded/cortex-m/compare/v0.6.5...v0.6.6
618625
[v0.6.5]: https://github.com/rust-embedded/cortex-m/compare/v0.6.4...v0.6.5
619626
[v0.6.4]: https://github.com/rust-embedded/cortex-m/compare/v0.6.3...v0.6.4

Cargo.toml

+1-1
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/rust-embedded/cortex-m"
14-
version = "0.6.6"
14+
version = "0.6.7"
1515
edition = "2018"
1616

1717
[dependencies]

src/peripheral/mod.rs

+3
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ pub mod mpu;
8484
pub mod nvic;
8585
pub mod scb;
8686

87+
#[cfg(all(not(armv6m), not(armv8m_base)))]
88+
pub use cortex_m_0_7::peripheral::itm;
89+
8790
pub use cortex_m_0_7::peripheral::{cpuid, dcb, dwt, syst};
8891
#[cfg(not(armv6m))]
8992
pub use cortex_m_0_7::peripheral::{fpb, tpiu};

0 commit comments

Comments
 (0)