Switch to RTIC v2.0.0

This commit is contained in:
90degs2infty
2023-07-03 12:57:38 +02:00
parent f44c150e67
commit c5a2364eed
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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
+2 -2
View File
@@ -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