Clean up the steps

This commit is contained in:
datdenkikniet
2023-05-01 14:44:51 +02:00
parent 30bbca68e8
commit 28f7130291
+3 -3
View File
@@ -1,6 +1,6 @@
#!/bin/sh
set -ex
set -e
project="test-app"
@@ -35,10 +35,10 @@ cd "$project"
echo "Performing steps"
sd -s -- '--chip $CHIP' '--chip nRF52840_xxAA' .cargo/config.toml
sd -s '# target = "thumbv7em-none-eabihf" # Cortex-M4F and Cortex-M7F (with FPU)' '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 '# some-hal = "1.2.3"' 'nrf52840-hal = "0.16.0"' Cargo.toml
sd -s '// use some_hal as _; // memory layout' '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 'FreeInterrupt1, ...' 'SWI0_EGU0' src/bin/minimal.rs