aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-08-14 11:44:06 -0400
committerKevin O'Connor <kevin@koconnor.net>2017-09-20 12:55:28 -0400
commit5a85c1667a80cc2dda9861980c64d99f8da0163e (patch)
treed1e8a9e8b4ba59e5fd346259247f114620a0652d /src
parent16d2ec3a905204dd804831611aff37a4b508e0fa (diff)
downloadkutter-5a85c1667a80cc2dda9861980c64d99f8da0163e.tar.gz
kutter-5a85c1667a80cc2dda9861980c64d99f8da0163e.tar.xz
kutter-5a85c1667a80cc2dda9861980c64d99f8da0163e.zip
pru: Update installation and flash scripts
Update the scripts used to install and "flash" the pru micro-controller code. Also, add a "flash" script for the linux micro-controller code. This makes it easier to install Klipper on a Beaglebone board that uses a Replicape. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src')
-rw-r--r--src/linux/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/linux/Makefile b/src/linux/Makefile
index 5ab3fc27..6df57f44 100644
--- a/src/linux/Makefile
+++ b/src/linux/Makefile
@@ -7,3 +7,7 @@ src-y += linux/pca9685.c linux/spidev.c linux/analog.c
src-y += generic/crc16_ccitt.c generic/alloc.c
CFLAGS_klipper.elf += -lutil
+
+flash: $(OUT)klipper.elf
+ @echo " Flashing"
+ $(Q)sudo ./scripts/flash-linux.sh