1
0
Fork 0

add rule shortcut via @samwho's suggesion

This commit is contained in:
Jack Humbert 2017-08-27 12:53:35 -04:00
parent 677b89768b
commit ba2ad57ca8

View file

@ -167,10 +167,8 @@ bin: $(BUILD_DIR)/$(TARGET).hex
$(OBJCOPY) -Iihex -Obinary $(BUILD_DIR)/$(TARGET).hex $(BUILD_DIR)/$(TARGET).bin $(OBJCOPY) -Iihex -Obinary $(BUILD_DIR)/$(TARGET).hex $(BUILD_DIR)/$(TARGET).bin
$(COPY) $(BUILD_DIR)/$(TARGET).bin $(TARGET).bin; $(COPY) $(BUILD_DIR)/$(TARGET).bin $(TARGET).bin;
# Convert hex to bin. # copy bin to FLASH.bin
flashbin: $(BUILD_DIR)/$(TARGET).hex flashbin: bin
$(OBJCOPY) -Iihex -Obinary $(BUILD_DIR)/$(TARGET).hex $(BUILD_DIR)/$(TARGET).bin
$(COPY) $(BUILD_DIR)/$(TARGET).bin $(TARGET).bin;
$(COPY) $(BUILD_DIR)/$(TARGET).bin FLASH.bin; $(COPY) $(BUILD_DIR)/$(TARGET).bin FLASH.bin;
# Generate avr-gdb config/init file which does the following: # Generate avr-gdb config/init file which does the following: