Skip to content

Commit 2dae1e4

Browse files
Merge #321
321: Fix `Stim` reexport on thumbv8m.base r=adamgreig a=jonas-schievink Co-authored-by: Jonas Schievink <[email protected]>
2 parents 34852c1 + 9ba722d commit 2dae1e4

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

CHANGELOG.md

+9-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.6] - 2021-01-26
11+
12+
### Fixed
13+
14+
- Fixed missing ITM reexport on `thumbv8m.base` targets.
15+
1016
## [v0.6.5] - 2021-01-24
1117

1218
### Changed
@@ -607,7 +613,9 @@ fn main() {
607613
- Functions to get the vector table
608614
- Wrappers over miscellaneous instructions like `bkpt`
609615

610-
[Unreleased]: https://github.com/rust-embedded/cortex-m/compare/v0.6.4...HEAD
616+
[Unreleased]: https://github.com/rust-embedded/cortex-m/compare/v0.6.6...HEAD
617+
[v0.6.6]: https://github.com/rust-embedded/cortex-m/compare/v0.6.5...v0.6.6
618+
[v0.6.5]: https://github.com/rust-embedded/cortex-m/compare/v0.6.4...v0.6.5
611619
[v0.6.4]: https://github.com/rust-embedded/cortex-m/compare/v0.6.3...v0.6.4
612620
[v0.6.3]: https://github.com/rust-embedded/cortex-m/compare/v0.6.2...v0.6.3
613621
[v0.6.2]: https://github.com/rust-embedded/cortex-m/compare/v0.6.1...v0.6.2

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.5"
14+
version = "0.6.6"
1515
edition = "2018"
1616

1717
[dependencies]

src/itm.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ use core::{fmt, mem, ptr, slice};
66

77
use aligned::{Aligned, A4};
88

9-
#[cfg(thumbv8m_base)]
9+
#[cfg(armv8m_base)]
1010
use crate::peripheral::itm::Stim;
11-
#[cfg(not(thumbv8m_base))]
11+
#[cfg(not(armv8m_base))]
1212
use cortex_m_0_7::peripheral::itm::Stim;
1313

1414
// NOTE assumes that `bytes` is 32-bit aligned

0 commit comments

Comments
 (0)