From bc762a6bf298dece84714523b69c2c4108c1add8 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Tue, 26 Jan 2021 00:23:14 +0100 Subject: [PATCH 1/3] Fix `Stim` reexport on thumbv8m.base --- src/itm.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/itm.rs b/src/itm.rs index 58309ef7..93067ca0 100644 --- a/src/itm.rs +++ b/src/itm.rs @@ -6,9 +6,9 @@ use core::{fmt, mem, ptr, slice}; use aligned::{Aligned, A4}; -#[cfg(thumbv8m_base)] +#[cfg(armv8m_base)] use crate::peripheral::itm::Stim; -#[cfg(not(thumbv8m_base))] +#[cfg(not(armv8m_base))] use cortex_m_0_7::peripheral::itm::Stim; // NOTE assumes that `bytes` is 32-bit aligned From b1f69b8a7ddcfadb1ed3241943c968ab389a1c82 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Tue, 26 Jan 2021 00:24:04 +0100 Subject: [PATCH 2/3] Bump to 0.6.6 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 6054677d..78055970 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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.5" +version = "0.6.6" edition = "2018" [dependencies] From 9ba722da3062106da3856ea850cbce98fe9b2746 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Tue, 26 Jan 2021 00:28:01 +0100 Subject: [PATCH 3/3] Update changelog --- CHANGELOG.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c27094f2..027dc2e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## [v0.6.6] - 2021-01-26 + +### Fixed + +- Fixed missing ITM reexport on `thumbv8m.base` targets. + ## [v0.6.5] - 2021-01-24 ### Changed @@ -607,7 +613,9 @@ 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.4...HEAD +[Unreleased]: https://github.com/rust-embedded/cortex-m/compare/v0.6.6...HEAD +[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 [v0.6.3]: https://github.com/rust-embedded/cortex-m/compare/v0.6.2...v0.6.3 [v0.6.2]: https://github.com/rust-embedded/cortex-m/compare/v0.6.1...v0.6.2