diff options
author | Ryan <fauxpark@gmail.com> | 2020-04-17 17:50:58 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-17 09:50:58 +0200 |
commit | bc13dcd349430074d4276da33ec282bdd7833c78 (patch) | |
tree | 026c2a870b563e2cb51432b706233323d4c7d027 /tmk_core | |
parent | 55002338b1310bcc7e581ac1e59957e6579ee271 (diff) | |
download | qmk_firmware-bc13dcd349430074d4276da33ec282bdd7833c78.tar.gz qmk_firmware-bc13dcd349430074d4276da33ec282bdd7833c78.zip |
Remove Atmel FLIP from install scripts and documentation (#8822)
Diffstat (limited to 'tmk_core')
-rw-r--r-- | tmk_core/avr.mk | 14 | ||||
-rw-r--r-- | tmk_core/rules.mk | 2 |
2 files changed, 1 insertions, 15 deletions
diff --git a/tmk_core/avr.mk b/tmk_core/avr.mk index a8d01a9e8..f5c125771 100644 --- a/tmk_core/avr.mk +++ b/tmk_core/avr.mk | |||
@@ -105,13 +105,6 @@ endef | |||
105 | teensy: $(BUILD_DIR)/$(TARGET).hex check-size cpfirmware | 105 | teensy: $(BUILD_DIR)/$(TARGET).hex check-size cpfirmware |
106 | $(call EXEC_TEENSY) | 106 | $(call EXEC_TEENSY) |
107 | 107 | ||
108 | BATCHISP ?= batchisp | ||
109 | |||
110 | flip: $(BUILD_DIR)/$(TARGET).hex check-size | ||
111 | $(BATCHISP) -hardware usb -device $(MCU) -operation erase f | ||
112 | $(BATCHISP) -hardware usb -device $(MCU) -operation loadbuffer $(BUILD_DIR)/$(TARGET).hex program | ||
113 | $(BATCHISP) -hardware usb -device $(MCU) -operation start reset 0 | ||
114 | |||
115 | DFU_PROGRAMMER ?= dfu-programmer | 108 | DFU_PROGRAMMER ?= dfu-programmer |
116 | GREP ?= grep | 109 | GREP ?= grep |
117 | 110 | ||
@@ -146,13 +139,6 @@ dfu-start: | |||
146 | $(DFU_PROGRAMMER) $(MCU) reset | 139 | $(DFU_PROGRAMMER) $(MCU) reset |
147 | $(DFU_PROGRAMMER) $(MCU) start | 140 | $(DFU_PROGRAMMER) $(MCU) start |
148 | 141 | ||
149 | flip-ee: $(BUILD_DIR)/$(TARGET).hex $(BUILD_DIR)/$(TARGET).eep | ||
150 | $(COPY) $(BUILD_DIR)/$(TARGET).eep $(BUILD_DIR)/$(TARGET)eep.hex | ||
151 | $(BATCHISP) -hardware usb -device $(MCU) -operation memory EEPROM erase | ||
152 | $(BATCHISP) -hardware usb -device $(MCU) -operation memory EEPROM loadbuffer $(BUILD_DIR)/$(TARGET)eep.hex program | ||
153 | $(BATCHISP) -hardware usb -device $(MCU) -operation start reset 0 | ||
154 | $(REMOVE) $(BUILD_DIR)/$(TARGET)eep.hex | ||
155 | |||
156 | dfu-ee: $(BUILD_DIR)/$(TARGET).hex $(BUILD_DIR)/$(TARGET).eep | 142 | dfu-ee: $(BUILD_DIR)/$(TARGET).hex $(BUILD_DIR)/$(TARGET).eep |
157 | if $(DFU_PROGRAMMER) --version 2>&1 | $(GREP) -q 0.7 ; then\ | 143 | if $(DFU_PROGRAMMER) --version 2>&1 | $(GREP) -q 0.7 ; then\ |
158 | $(DFU_PROGRAMMER) $(MCU) flash --eeprom $(BUILD_DIR)/$(TARGET).eep;\ | 144 | $(DFU_PROGRAMMER) $(MCU) flash --eeprom $(BUILD_DIR)/$(TARGET).eep;\ |
diff --git a/tmk_core/rules.mk b/tmk_core/rules.mk index a66718cd2..f45fd3792 100644 --- a/tmk_core/rules.mk +++ b/tmk_core/rules.mk | |||
@@ -439,7 +439,7 @@ $(eval $(foreach OUTPUT,$(OUTPUTS),$(shell mkdir -p $(OUTPUT) 2>/dev/null))) | |||
439 | .PHONY : all finish sizebefore sizeafter qmkversion \ | 439 | .PHONY : all finish sizebefore sizeafter qmkversion \ |
440 | gccversion build elf hex eep lss sym coff extcoff \ | 440 | gccversion build elf hex eep lss sym coff extcoff \ |
441 | clean clean_list debug gdb-config show_path \ | 441 | clean clean_list debug gdb-config show_path \ |
442 | program teensy dfu flip dfu-ee flip-ee dfu-start \ | 442 | program teensy dfu dfu-ee dfu-start \ |
443 | flash dfu-split-left dfu-split-right \ | 443 | flash dfu-split-left dfu-split-right \ |
444 | avrdude-split-left avrdude-split-right \ | 444 | avrdude-split-left avrdude-split-right \ |
445 | avrdude-loop usbasp | 445 | avrdude-loop usbasp |