mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-23 14:44:20 -06:00
docs: Provide additional information on "make flash" failures
Add some additional information on "make flash" problems. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
4a5801bb2e
commit
319221ee23
4 changed files with 28 additions and 3 deletions
|
@ -24,6 +24,6 @@ $(OUT)klipper.elf.hex: $(OUT)klipper.elf
|
|||
$(Q)$(OBJCOPY) -j .text -j .data -O ihex $< $@
|
||||
|
||||
flash: $(OUT)klipper.elf.hex
|
||||
@echo " Flashing $(FLASH_DEVICE) via avrdude"
|
||||
@echo " Flashing $^ to $(FLASH_DEVICE) via avrdude"
|
||||
$(Q)if [ -z $(FLASH_DEVICE) ]; then echo "Please specify FLASH_DEVICE"; exit 1; fi
|
||||
$(Q)avrdude -p$(CONFIG_MCU) -cwiring -P"$(FLASH_DEVICE)" -D -U"flash:w:$(OUT)klipper.elf.hex:i"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue