From c5a2364eed69579d94d20e20b0e605d1e17f1e4f Mon Sep 17 00:00:00 2001 From: 90degs2infty <90degs2infty@posteo.org> Date: Mon, 3 Jul 2023 12:57:38 +0200 Subject: [PATCH 1/2] Switch to RTIC v2.0.0 --- Cargo.toml | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 9ea878c..9685c71 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ defmt = { version = "0.3", features = ["encoding-rzcobs"] } defmt-brtt = { version = "0.1", default-features = false, features = ["rtt"] } panic-probe = { version = "0.3", features = ["print-defmt"] } # TODO(4) Select the correct rtic backend -rtic = { version = "2.0.0-alpha.1", features = [ "$RTIC_BACKEND" ] } +rtic = { version = "2.0.0", features = [ "$RTIC_BACKEND" ] } # TODO(5) Add hal as dependency some-hal = "1.2.3" # TODO add a monotonic if you use scheduling diff --git a/README.md b/README.md index 3ac7602..1d6de9d 100644 --- a/README.md +++ b/README.md @@ -78,8 +78,8 @@ In `Cargo.toml`, activate the correct `rtic` backend for your target by replacin ```diff # Cargo.toml --rtic = { version = "2.0.0-alpha.1", features = [ "$RTIC_BACKEND" ] } -+rtic = { version = "2.0.0-alpha.1", features = [ "thumbv7-backend" ] } +-rtic = { version = "2.0.0", features = [ "$RTIC_BACKEND" ] } ++rtic = { version = "2.0.0", features = [ "thumbv7-backend" ] } ``` #### 5. Add a HAL as a dependency From 19d0e7f210dd38b1f5aea2f44a11cc7ee05e4c61 Mon Sep 17 00:00:00 2001 From: 90degs2infty <90degs2infty@posteo.org> Date: Mon, 3 Jul 2023 13:04:11 +0200 Subject: [PATCH 2/2] Switch to rtic-monotonics v1.0.0 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 9685c71..4738659 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ rtic = { version = "2.0.0", features = [ "$RTIC_BACKEND" ] } # TODO(5) Add hal as dependency some-hal = "1.2.3" # TODO add a monotonic if you use scheduling -# rtic-monotonics = { version = "1.0.0-alpha.2", features = [ "cortex-m-systick" ]} +# rtic-monotonics = { version = "1.0.0", features = [ "cortex-m-systick" ]} # cargo build/run [profile.dev]