diff options
| author | Jorge Iglesias Garcia <44316552+jorgeig-space@users.noreply.github.com> | 2021-08-27 11:24:30 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-27 11:24:30 +0800 |
| commit | 2457af1612068ba1ba8002fc4f8c254bd4a55022 (patch) | |
| tree | d9315427d8713c52b5ab3b1c6c3689ff909d43ec /README.md | |
| parent | 77427f962dec01b3aa49a5e4a2a77293794d8f2e (diff) | |
Update README.md
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -52,6 +52,16 @@ 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 + +`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`: + +``` +cortex-m-rtic = { version = "0.5.8", default-features = false, features = ["cortex-m-7"] } +``` + +RTIC 0.6 already uses `cortex-m` 0.7 by default. + ## [User documentation](https://rtic.rs) - [(Development version)](https://rtic.rs/dev) ## [API reference](https://rtic.rs/stable/api/) |
