diff options
| author | Jack Humbert <jack.humb@gmail.com> | 2017-08-27 12:53:35 -0400 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2017-08-27 12:53:35 -0400 |
| commit | ba2ad57ca8977ba00228109e962f0eb4abf848a6 (patch) | |
| tree | 55c7377b6b0a994c1f8e21ecb8f5340f6dd68eb6 | |
| parent | 677b89768b5ffba7261a16686ecf34f23d964580 (diff) | |
| download | qmk_firmware-ba2ad57ca8977ba00228109e962f0eb4abf848a6.tar.gz qmk_firmware-ba2ad57ca8977ba00228109e962f0eb4abf848a6.zip | |
add rule shortcut via @samwho's suggesion
| -rw-r--r-- | tmk_core/avr.mk | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tmk_core/avr.mk b/tmk_core/avr.mk index b8045a1d4..989180f3c 100644 --- a/tmk_core/avr.mk +++ b/tmk_core/avr.mk | |||
| @@ -167,10 +167,8 @@ bin: $(BUILD_DIR)/$(TARGET).hex | |||
| 167 | $(OBJCOPY) -Iihex -Obinary $(BUILD_DIR)/$(TARGET).hex $(BUILD_DIR)/$(TARGET).bin | 167 | $(OBJCOPY) -Iihex -Obinary $(BUILD_DIR)/$(TARGET).hex $(BUILD_DIR)/$(TARGET).bin |
| 168 | $(COPY) $(BUILD_DIR)/$(TARGET).bin $(TARGET).bin; | 168 | $(COPY) $(BUILD_DIR)/$(TARGET).bin $(TARGET).bin; |
| 169 | 169 | ||
| 170 | # Convert hex to bin. | 170 | # copy bin to FLASH.bin |
| 171 | flashbin: $(BUILD_DIR)/$(TARGET).hex | 171 | flashbin: bin |
| 172 | $(OBJCOPY) -Iihex -Obinary $(BUILD_DIR)/$(TARGET).hex $(BUILD_DIR)/$(TARGET).bin | ||
| 173 | $(COPY) $(BUILD_DIR)/$(TARGET).bin $(TARGET).bin; | ||
| 174 | $(COPY) $(BUILD_DIR)/$(TARGET).bin FLASH.bin; | 172 | $(COPY) $(BUILD_DIR)/$(TARGET).bin FLASH.bin; |
| 175 | 173 | ||
| 176 | # Generate avr-gdb config/init file which does the following: | 174 | # Generate avr-gdb config/init file which does the following: |
