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>
This commit is contained in:
Kevin O'Connor 2017-08-14 11:44:06 -04:00
parent 16d2ec3a90
commit 5a85c1667a
5 changed files with 126 additions and 29 deletions

View file

@ -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