summaryrefslogtreecommitdiff
path: root/tools/upload.sh
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-02-14 11:47:36 +0100
committerHampusM <hampus@hampusmat.com>2022-02-14 11:47:36 +0100
commitcb7a167c7dee2fa1a19bd09ede3bae8b140e79da (patch)
tree3bc9443f0d988273a78f4654030ab65b3c580509 /tools/upload.sh
parent7892ef9d248c189be68ce7faf63230ec0a318b67 (diff)
build: use PlatformIO
Diffstat (limited to 'tools/upload.sh')
-rw-r--r--tools/upload.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/tools/upload.sh b/tools/upload.sh
deleted file mode 100644
index eddf4de..0000000
--- a/tools/upload.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/bash
-
-DEVICE_PATH=$1
-PYTHON_CMD=$2
-AVRDUDE=$3
-AVRDUDE_COM_OPTS=$4
-AVRDUDE_ARD_OPTS=$5
-AVRDUDE_UPLOAD_HEX=$6
-
-new_port=$($PYTHON_CMD ./tools/reset.py $DEVICE_PATH 2> /dev/tty)
-
-$AVRDUDE $AVRDUDE_COM_OPTS $AVRDUDE_ARD_OPTS $new_port $AVRDUDE_UPLOAD_HEX