aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2018-05-25 11:58:23 -0400
committerKevin O'Connor <kevin@koconnor.net>2018-05-25 11:58:23 -0400
commit29946383809bf79e521c3e33b276499842092915 (patch)
treea2460024dc787ffe9ef41ca2c8c8756f8d59d49d /src
parentef7d4dd3cbf7855b80c8dbf28b2e13f2d38a2f10 (diff)
downloadkutter-29946383809bf79e521c3e33b276499842092915.tar.gz
kutter-29946383809bf79e521c3e33b276499842092915.tar.xz
kutter-29946383809bf79e521c3e33b276499842092915.zip
lpc176x: Add a dummy "make flash" command to advise users on how to flash
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src')
-rw-r--r--src/lpc176x/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lpc176x/Makefile b/src/lpc176x/Makefile
index 7edd26eb..a4e3a742 100644
--- a/src/lpc176x/Makefile
+++ b/src/lpc176x/Makefile
@@ -41,3 +41,11 @@ target-y += $(OUT)klipper.bin
$(OUT)klipper.bin: $(OUT)klipper.elf
@echo " Creating bin file $@"
$(Q)$(OBJCOPY) -O binary $< $@
+
+flash: $(OUT)klipper.bin
+ @echo ""
+ @echo " The LPC176x build does not currently support 'make flash'"
+ @echo ""
+ @echo " To flash a Smoothieboard, copy the $(OUT)klipper.bin to a file"
+ @echo " named firmware.bin on an SD card and then restart the"
+ @echo " Smoothieboard with that SD card."