lpc176x: Add a dummy "make flash" command to advise users on how to flash

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2018-05-25 11:58:23 -04:00
parent ef7d4dd3cb
commit 2994638380
1 changed files with 8 additions and 0 deletions

View File

@ -41,3 +41,11 @@ target-y += $(OUT)klipper.bin
$(OUT)klipper.bin: $(OUT)klipper.elf $(OUT)klipper.bin: $(OUT)klipper.elf
@echo " Creating bin file $@" @echo " Creating bin file $@"
$(Q)$(OBJCOPY) -O binary $< $@ $(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."