aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32f1/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm32f1/Makefile')
-rw-r--r--src/stm32f1/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stm32f1/Makefile b/src/stm32f1/Makefile
index 12a60c2e..8d813d4d 100644
--- a/src/stm32f1/Makefile
+++ b/src/stm32f1/Makefile
@@ -47,5 +47,5 @@ $(OUT)klipper.bin: $(OUT)klipper.elf
$(Q)$(OBJCOPY) -O binary $< $@
flash: $(OUT)klipper.bin
- @echo " Flashing $^ to $(FLASH_DEVICE) via stm32flash"
- $(Q)stm32flash -w $(OUT)klipper.bin -v -g 0 $(FLASH_DEVICE)
+ @echo " Flashing $< to $(FLASH_DEVICE) via stm32flash"
+ $(Q)stm32flash -w $< -v -g 0 $(FLASH_DEVICE)