diff --git a/scripts/winflash.sh b/scripts/winflash.sh new file mode 100755 index 0000000..75f3435 --- /dev/null +++ b/scripts/winflash.sh @@ -0,0 +1,12 @@ +#!/bin/bash +set -e +rsync --cvs-exclude --recursive --links --copy-links --filter=':- .gitignore' \ + --verbose --human-readable --partial --progress \ + "$PWD" "/home/cscherr/Documents/SVN/nt/BA/trunk/Studium/Christoph_Scherr/system/Implementation/" +TARGET="thumbv6m-none-eabi" + +powershell.exe -Command " +cd C:\SVN\nt\BA\trunk\Studium\Christoph_Scherr\system\Implementation\crcbench; +cargo build --target $TARGET; +cargo run --target $TARGET $@ +"