diff --git a/Cargo.toml b/Cargo.toml index d3c6724..9ea878c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" ]} diff --git a/README.md b/README.md index 08f7120..3ac7602 100644 --- a/README.md +++ b/README.md @@ -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" ``` diff --git a/ci.sh b/ci.sh index 8ba7e33..21dcd42 100755 --- a/ci.sh +++ b/ci.sh @@ -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