From 50ff1bfae41e8643e609d8d85203fe20b1071253 Mon Sep 17 00:00:00 2001 From: Jorge Iglesias Garcia <44316552+jorgeig-space@users.noreply.github.com> Date: Wed, 11 Aug 2021 00:50:37 +0800 Subject: [PATCH 1/5] Update build.yml Add a "test" branch --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4d7ed950e6..031c92edd1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,6 +6,7 @@ on: - master - staging - trying + - test env: CARGO_TERM_COLOR: always From c5585271e6434cb509b560b90c6224c6e83c4867 Mon Sep 17 00:00:00 2001 From: Jorgeig Date: Wed, 11 Aug 2021 11:27:27 +0800 Subject: [PATCH 2/5] Add branches to CI --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4d7ed950e6..fd3c2de187 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,6 +6,8 @@ on: - master - staging - trying + - test + - v0.5.7-as-released env: CARGO_TERM_COLOR: always From 2457af1612068ba1ba8002fc4f8c254bd4a55022 Mon Sep 17 00:00:00 2001 From: Jorge Iglesias Garcia <44316552+jorgeig-space@users.noreply.github.com> Date: Fri, 27 Aug 2021 11:24:30 +0800 Subject: [PATCH 3/5] Update README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 78b6fa86ab..de7ab541dc 100644 --- a/README.md +++ b/README.md @@ -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/) 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 4/5] 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"] } From eec2e9c154e421f7e12070d40a925e9e2c689986 Mon Sep 17 00:00:00 2001 From: Jorge Iglesias Garcia <44316552+jorgeig-space@users.noreply.github.com> Date: Fri, 27 Aug 2021 12:00:33 +0800 Subject: [PATCH 5/5] Revert CI changes --- .github/workflows/build.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fd3c2de187..4d7ed950e6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,8 +6,6 @@ on: - master - staging - trying - - test - - v0.5.7-as-released env: CARGO_TERM_COLOR: always