From 90f14e112656dacf1ada3ed53a83a8b158fc71c1 Mon Sep 17 00:00:00 2001 From: cam Date: Mon, 18 Nov 2024 13:34:11 +1300 Subject: [PATCH] Added helper helper commands to run for development --- install.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/install.sh b/install.sh index 8522ace..ef4bc9d 100755 --- a/install.sh +++ b/install.sh @@ -13,3 +13,10 @@ pio run scp .pio/build/ATtiny1616/firmware.hex $device: ssh $device "sudo pymcuprog -d attiny1616 -t uart -u /dev/serial0 erase" ssh $device "sudo pymcuprog -d attiny1616 -t uart -u /dev/serial0 write -f firmware.hex" + +echo "Installed on device." +echo "Run this in the tc2-hat-controller so it can be used with this software." +echo 'export ATTINY_MAJOR='$MAJOR_VERSION +echo 'export ATTINY_MINOR='$MINOR_VERSION +echo 'export ATTINY_PATCH='$PATCH_VERSION +echo 'export ATTINY_HASH=0'