Merge pull request #8 from 90degs2infty/feature_rtic-version

Switch to RTIC v2.0.0
This commit is contained in:
Emil Fresk
2023-07-05 20:32:37 +02:00
committed by GitHub
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -10,11 +10,11 @@ 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
# 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 # cargo build/run
[profile.dev] [profile.dev]
+2 -2
View File
@@ -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