flash_usb: Pass -t $CONFIG_MCU to flash_usb on all targets

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2019-10-26 18:48:00 -04:00
parent 538d6ac3a2
commit 1a69f38e6e
5 changed files with 17 additions and 17 deletions

View File

@@ -32,4 +32,4 @@ $(OUT)klipper.bin: $(OUT)klipper.elf
# Flash rules
flash: $(OUT)klipper.bin
@echo " Flashing $< to $(FLASH_DEVICE)"
$(Q)$(PYTHON) ./scripts/flash_usb.py -t lpc176x -d "$(FLASH_DEVICE)" $(if $(NOSUDO),--no-sudo) $(OUT)klipper.bin
$(Q)$(PYTHON) ./scripts/flash_usb.py -t $(CONFIG_MCU) -d "$(FLASH_DEVICE)" $(if $(NOSUDO),--no-sudo) $(OUT)klipper.bin