This shouldn't be commented out either
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ 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-alpha.1", 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-alpha.2", features = [ "cortex-m-systick" ]}
|
||||||
|
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ For the nRF52840 you'll want to use the [`nrf52840-hal`].
|
|||||||
```diff
|
```diff
|
||||||
# Cargo.toml
|
# Cargo.toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
-# some-hal = "1.2.3"
|
-some-hal = "1.2.3"
|
||||||
+nrf52840-hal = "0.16.0"
|
+nrf52840-hal = "0.16.0"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ echo "Performing steps"
|
|||||||
sd -s -- '--chip $CHIP' '--chip nRF52840_xxAA' .cargo/config.toml
|
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 '# target = "thumbv7em-none-eabihf"' 'target = "thumbv7em-none-eabihf"' .cargo/config.toml
|
||||||
sd -s '$RTIC_BACKEND' 'thumbv7-backend' Cargo.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 '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 'some_hal::pac' 'nrf52840_hal::pac' src/bin/minimal.rs
|
||||||
sd -s 'FreeInterrupt1, ...' 'SWI0_EGU0' src/bin/minimal.rs
|
sd -s 'FreeInterrupt1, ...' 'SWI0_EGU0' src/bin/minimal.rs
|
||||||
|
|||||||
Reference in New Issue
Block a user