Skip to content

Commit

Permalink
Added helper helper commands to run for development
Browse files Browse the repository at this point in the history
  • Loading branch information
CameronRP committed Nov 18, 2024
1 parent fc9b7d8 commit 90f14e1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit 90f14e1

Please sign in to comment.