aboutsummaryrefslogtreecommitdiffstats
path: root/src/atsamd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/atsamd/Makefile')
-rw-r--r--src/atsamd/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/atsamd/Makefile b/src/atsamd/Makefile
index 658c5ad6..2ff91df1 100644
--- a/src/atsamd/Makefile
+++ b/src/atsamd/Makefile
@@ -54,4 +54,4 @@ BOSSAC_OFFSET-$(CONFIG_MACH_SAMD51) := 0x4000
flash: $(OUT)klipper.bin lib/bossac/bin/bossac
@echo " Flashing $< to $(FLASH_DEVICE)"
- $(Q)$(PYTHON) ./scripts/flash_usb.py -t atsamd -d "$(FLASH_DEVICE)" -s "$(BOSSAC_OFFSET-y)" $(OUT)klipper.bin
+ $(Q)$(PYTHON) ./scripts/flash_usb.py -t $(CONFIG_MCU) -d "$(FLASH_DEVICE)" -s "$(BOSSAC_OFFSET-y)" $(OUT)klipper.bin