Switch to RTIC v2.0.0
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ defmt = { version = "0.3", features = ["encoding-rzcobs"] }
|
|||||||
defmt-brtt = { version = "0.1", default-features = false, features = ["rtt"] }
|
defmt-brtt = { version = "0.1", default-features = false, features = ["rtt"] }
|
||||||
panic-probe = { version = "0.3", features = ["print-defmt"] }
|
panic-probe = { version = "0.3", features = ["print-defmt"] }
|
||||||
# TODO(4) Select the correct rtic backend
|
# 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
|
# TODO(5) Add hal as dependency
|
||||||
some-hal = "1.2.3"
|
some-hal = "1.2.3"
|
||||||
# TODO add a monotonic if you use scheduling
|
# TODO add a monotonic if you use scheduling
|
||||||
|
|||||||
@@ -78,8 +78,8 @@ In `Cargo.toml`, activate the correct `rtic` backend for your target by replacin
|
|||||||
|
|
||||||
```diff
|
```diff
|
||||||
# Cargo.toml
|
# Cargo.toml
|
||||||
-rtic = { version = "2.0.0-alpha.1", features = [ "$RTIC_BACKEND" ] }
|
-rtic = { version = "2.0.0", features = [ "$RTIC_BACKEND" ] }
|
||||||
+rtic = { version = "2.0.0-alpha.1", features = [ "thumbv7-backend" ] }
|
+rtic = { version = "2.0.0", features = [ "thumbv7-backend" ] }
|
||||||
```
|
```
|
||||||
|
|
||||||
#### 5. Add a HAL as a dependency
|
#### 5. Add a HAL as a dependency
|
||||||
|
|||||||
Reference in New Issue
Block a user