From c94bd2d98d29cbf6d92f2f915e72d1555e282248 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Sat, 23 Dec 2017 21:34:24 +0100 Subject: add a Cargo feature, cm7-r0p1, to fix a Cortex-M7 BASEPRI erratum --- src/lib.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') 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) -- cgit v1.2.3