chore: winflash
this hacky script lets me ignore the fact that im coding on a windows machine better
This commit is contained in:
parent
f944cce39d
commit
55a1ff9445
1 changed files with 12 additions and 0 deletions
12
scripts/winflash.sh
Executable file
12
scripts/winflash.sh
Executable file
|
@ -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 $@
|
||||||
|
"
|
Loading…
Add table
Reference in a new issue