This shouldn't be commented out either

This commit is contained in:
datdenkikniet
2023-05-01 14:56:51 +02:00
parent fbead895bc
commit 31c3b27ae8
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ 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" ] }
# TODO(5) Add hal as dependency
# some-hal = "1.2.3"
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" ]}
+1 -1
View File
@@ -93,7 +93,7 @@ For the nRF52840 you'll want to use the [`nrf52840-hal`].
```diff
# Cargo.toml
[dependencies]
-# some-hal = "1.2.3"
-some-hal = "1.2.3"
+nrf52840-hal = "0.16.0"
```
+1 -1
View File
@@ -37,7 +37,7 @@ echo "Performing steps"
sd -s -- '--chip $CHIP' '--chip nRF52840_xxAA' .cargo/config.toml
sd -s '# target = "thumbv7em-none-eabihf"' 'target = "thumbv7em-none-eabihf"' .cargo/config.toml
sd -s '$RTIC_BACKEND' 'thumbv7-backend' Cargo.toml
sd -s '# some-hal = "1.2.3"' 'nrf52840-hal = "0.16.0"' Cargo.toml
sd -s 'some-hal = "1.2.3"' 'nrf52840-hal = "0.16.0"' Cargo.toml
sd -s 'use some_hal as _;' 'use nrf52840_hal as _;' src/lib.rs
sd -s 'some_hal::pac' 'nrf52840_hal::pac' src/bin/minimal.rs
sd -s 'FreeInterrupt1, ...' 'SWI0_EGU0' src/bin/minimal.rs