aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2018-12-16 21:05:56 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2018-12-16 21:05:56 +0000
commit3511e915b5261ca11928ced3c05fa5ce1cabb138 (patch)
tree46081c204b0424802ed88ce61f6e750105aa91e2 /src/lib.rs
parentc2fbb2848851e32b78e79ff9e919538b7d5ab8a0 (diff)
parent22140fbc49b16e422652542371d3b389b2a5fbeb (diff)
Merge #116
116: v0.4.0 r=japaric a=japaric Co-authored-by: Jorge Aparicio <jorge@japaric.io>
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 213037b..ba60078 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -44,6 +44,11 @@ pub mod export;
#[cfg(feature = "timer-queue")]
mod tq;
+#[cfg(all(feature = "timer-queue", armv6m))]
+compile_error!(
+ "The `timer-queue` feature is currently not supported on ARMv6-M (`thumbv6m-none-eabi`)"
+);
+
/// Core peripherals
///
/// This is `cortex_m::Peripherals` minus the peripherals that the RTFM runtime uses