From c72981f1e72584af7fc0514feef79b8112622234 Mon Sep 17 00:00:00 2001 From: tmk Date: Fri, 18 May 2018 08:34:39 +0900 Subject: [PATCH] tmk_core: Now expects dfu-programmer 0.7 or later --- tmk_core/rules.mk | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tmk_core/rules.mk b/tmk_core/rules.mk index 0d0b6afb..ca933826 100644 --- a/tmk_core/rules.mk +++ b/tmk_core/rules.mk @@ -427,11 +427,7 @@ dfu: $(TARGET).hex done @echo -ifneq (, $(findstring 0.7, $(shell dfu-programmer 2>/dev/null && dfu-programmer --version 2>&1))) dfu-programmer $(MCU) erase --force -else - dfu-programmer $(MCU) erase -endif dfu-programmer $(MCU) flash $(TARGET).hex dfu-programmer $(MCU) reset @@ -447,11 +443,7 @@ flip-ee: $(TARGET).hex $(TARGET).eep $(REMOVE) $(TARGET)eep.hex dfu-ee: $(TARGET).hex $(TARGET).eep -ifneq (, $(findstring 0.7, $(shell dfu-programmer 2>/dev/null && dfu-programmer --version 2>&1))) dfu-programmer $(MCU) flash --eeprom $(TARGET).eep -else - dfu-programmer $(MCU) flash-eeprom $(TARGET).eep -endif dfu-programmer $(MCU) reset -- 2.46.2