1
0

make flashbin

output binary file for LUFA mass storage bootloader
This commit is contained in:
di0ib 2016-09-17 08:36:48 -10:00
parent fe97a8eba0
commit f700d01c6f
2 changed files with 5 additions and 1 deletions

Binary file not shown.

View File

@ -506,7 +506,10 @@ extcoff: $(TARGET).elf
@echo $(MSG_EXTENDED_COFF) $(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.
%.hex: %.elf
@ -603,6 +606,7 @@ clean_list :
$(REMOVE) $(TARGET).map
$(REMOVE) $(TARGET).sym
$(REMOVE) $(TARGET).lss
$(REMOVE) $(TARGET).bin
$(REMOVE) $(OBJ)
$(REMOVE) $(LST)
$(REMOVE) $(OBJ:.o=.s)