aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Jorge Aparicio <jorge@japaric.io> 2018-12-16 19:34:16 +0100
committerGravatar Jorge Aparicio <jorge@japaric.io> 2018-12-16 19:38:22 +0100
commit06c1e2f9b47b5bc9de049e1e1edfed27d8dd2c58 (patch)
treeb04a1fdcd1f075706d99ff3006075107da4e1b79 /src
parentd35f5bc0b0453c2e98b8398d36bd2ba553edce45 (diff)
downloadrtic-06c1e2f9b47b5bc9de049e1e1edfed27d8dd2c58.tar.gz
rtic-06c1e2f9b47b5bc9de049e1e1edfed27d8dd2c58.tar.zst
rtic-06c1e2f9b47b5bc9de049e1e1edfed27d8dd2c58.zip
note that the timer queue is not supported on ARMv6-M
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 213037b7..ba60078d 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