Merge pull request #8 from 90degs2infty/feature_rtic-version
Switch to RTIC v2.0.0
This commit is contained in:
+2
-2
@@ -10,11 +10,11 @@ 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
|
||||
# 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]
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user