aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorGravatar bors[bot] <26634292+bors[bot]@users.noreply.github.com> 2022-08-11 22:43:27 +0000
committerGravatar GitHub <noreply@github.com> 2022-08-11 22:43:27 +0000
commitdc539a952a2411a28d63054b1af03eaaa8a58029 (patch)
treee26456eb8c4313661385ed86e142b7e337d2811a /src/lib.rs
parente0bfe3ae21903e9dbd80e903e726f7341662e12b (diff)
parent9e8c8e794d378ce51198fbb9ba27094b430e6d52 (diff)
downloadcortex-m-dc539a952a2411a28d63054b1af03eaaa8a58029.tar.gz
cortex-m-dc539a952a2411a28d63054b1af03eaaa8a58029.tar.zst
cortex-m-dc539a952a2411a28d63054b1af03eaaa8a58029.zip
Merge #448
448: Add implementation for critical-section 1.0, for cortex-m v0.7.x r=adamgreig a=Dirbaio This is a subset of #447 without any breaking changes, just adding the `critical-section` implementation. The goal is to release it in 0.7.6 so `critical-section` becomes usable without having to wait for cortex-m 0.8. TODO before merging: - [x] Wait for `critical-section 1.0` release https://github.com/rust-embedded/critical-section/pull/19 Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 4790f98..1796b78 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -90,6 +90,7 @@ mod macros;
pub mod asm;
#[cfg(armv8m)]
pub mod cmse;
+mod critical_section;
pub mod delay;
pub mod interrupt;
#[cfg(all(not(armv6m), not(armv8m_base)))]