make flashbin
output binary file for LUFA mass storage bootloader
This commit is contained in:
parent
fe97a8eba0
commit
f700d01c6f
Binary file not shown.
@ -506,7 +506,10 @@ extcoff: $(TARGET).elf
|
|||||||
@echo $(MSG_EXTENDED_COFF) $(TARGET).cof
|
@echo $(MSG_EXTENDED_COFF) $(TARGET).cof
|
||||||
$(COFFCONVERT) -O coff-ext-avr $< $(TARGET).cof
|
$(COFFCONVERT) -O coff-ext-avr $< $(TARGET).cof
|
||||||
|
|
||||||
|
# Convert hex to bin.
|
||||||
|
flashbin: $(TARGET).hex
|
||||||
|
$(OBJCOPY) -Iihex -Obinary $(TARGET).hex $(TARGET).bin
|
||||||
|
$(COPY) $(TARGET).bin FLASH.bin;
|
||||||
|
|
||||||
# Create final output files (.hex, .eep) from ELF output file.
|
# Create final output files (.hex, .eep) from ELF output file.
|
||||||
%.hex: %.elf
|
%.hex: %.elf
|
||||||
@ -603,6 +606,7 @@ clean_list :
|
|||||||
$(REMOVE) $(TARGET).map
|
$(REMOVE) $(TARGET).map
|
||||||
$(REMOVE) $(TARGET).sym
|
$(REMOVE) $(TARGET).sym
|
||||||
$(REMOVE) $(TARGET).lss
|
$(REMOVE) $(TARGET).lss
|
||||||
|
$(REMOVE) $(TARGET).bin
|
||||||
$(REMOVE) $(OBJ)
|
$(REMOVE) $(OBJ)
|
||||||
$(REMOVE) $(LST)
|
$(REMOVE) $(LST)
|
||||||
$(REMOVE) $(OBJ:.o=.s)
|
$(REMOVE) $(OBJ:.o=.s)
|
||||||
|
Loading…
Reference in New Issue
Block a user