From 58c2b6c829ece84bf66b2c9dbbf42c7249201d2e Mon Sep 17 00:00:00 2001 From: Jorge Iglesias Garcia <44316552+jorgeig-space@users.noreply.github.com> Date: Fri, 27 Aug 2021 11:55:20 +0800 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index de7ab541dc..b9bfb393be 100644 --- a/README.md +++ b/README.md @@ -52,9 +52,9 @@ Formerly known as Real-Time For the Masses. - Applications must be written using the 2018 edition. -### `cortex-m` 0.6 vs 0.7 in RTIC 0.5.x +### Crate `cortex-m` 0.6 vs 0.7 in RTIC 0.5.x -`cortex-m` 0.7 started using trait `InterruptNumber` for interrupts instead of `Nr` from `bare-metal`. In order to preserve backwards compatibility, RTIC 0.5.x will keep using `cortex-m` 0.6 by default. `cortex-m` 0.7 can be enabled using the feature `cortex-m-7` and disabling default features, e.g. on your `Cargo.toml`: +The crate `cortex-m` 0.7 started using trait `InterruptNumber` for interrupts instead of `Nr` from `bare-metal`. In order to preserve backwards compatibility, RTIC 0.5.x will keep using `cortex-m` 0.6 by default. `cortex-m` 0.7 can be enabled using the feature `cortex-m-7` and disabling default features: ``` cortex-m-rtic = { version = "0.5.8", default-features = false, features = ["cortex-m-7"] }