aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorGravatar Jorge Aparicio <jorge@japaric.io> 2017-12-23 21:34:24 +0100
committerGravatar Jorge Aparicio <jorge@japaric.io> 2017-12-23 21:49:15 +0100
commitc94bd2d98d29cbf6d92f2f915e72d1555e282248 (patch)
treeb402f671a6eb52c4f09bb19d953f3c392b1b8407 /src/lib.rs
parent8a396c51f2caaeca7ee0f81ef2f3c4f2f73d8df1 (diff)
downloadrtic-c94bd2d98d29cbf6d92f2f915e72d1555e282248.tar.gz
rtic-c94bd2d98d29cbf6d92f2f915e72d1555e282248.tar.zst
rtic-c94bd2d98d29cbf6d92f2f915e72d1555e282248.zip
add a Cargo feature, cm7-r0p1, to fix a Cortex-M7 BASEPRI erratum
Diffstat (limited to '')
-rw-r--r--src/lib.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index be670490..986a7c9a 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -50,6 +50,11 @@
//!
//! [here]: https://docs.rs/cortex-m-rtfm-macros/0.2.0/cortex_m_rtfm_macros/fn.app.html
//!
+//! # Important: Cortex-M7 devices
+//!
+//! If targeting a Cortex-M7 device with revision r0p1 then you MUST enable the `cm7-r0p1` Cargo
+//! feature of this crate or the `Resource.claim` and `Resource.claim_mut` methods WILL misbehave.
+//!
//! # Examples
//!
//! In increasing grade of complexity. See the [examples](./examples/index.html)