pltw digital electronics final project '19
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

9 lines
442 B

#!/bin/sh
# jank af build script for arduino w/out arduino-ide
arduino-builder -fqbn archlinux-arduino:avr:uno -hardware /usr/share/arduino/hardware \
-libraries /home/hazel/src/self-lace/lib -tools /usr/bin \
-build-path /home/hazel/src/self-lace/compile $1
avrdude -V -F -C /etc/avrdude.conf -p atmega328p -P /dev/$2 -c arduino -b 115200 \
-U flash:w:/home/hazel/src/self-lace/compile/${1##*/}.hex