From 55a1ff944561467bf713d9c7f2e37942d56f1cd2 Mon Sep 17 00:00:00 2001 From: cscherr Date: Thu, 7 Aug 2025 13:16:37 +0200 Subject: [PATCH] chore: winflash this hacky script lets me ignore the fact that im coding on a windows machine better --- scripts/winflash.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 scripts/winflash.sh 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 $@ +"