chore: winflash

this hacky script lets me ignore the fact that im coding on a windows
machine better
This commit is contained in:
cscherr 2025-08-07 13:16:37 +02:00
parent f944cce39d
commit 55a1ff9445
Signed by: cscherrNT
GPG key ID: 8E2B45BC51A27EA7

12
scripts/winflash.sh Executable file
View 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 $@
"