X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/5e787a4bb04f8a27f9300077361403adf2e92b3f..7e7124e40ba2155c5ee4348701be30d3790edca3:/Demos/KeyboardHostViaInt/makefile diff --git a/Demos/KeyboardHostViaInt/makefile b/Demos/KeyboardHostViaInt/makefile index a8b3f23e6..813ed690c 100644 --- a/Demos/KeyboardHostViaInt/makefile +++ b/Demos/KeyboardHostViaInt/makefile @@ -537,10 +537,10 @@ flip-ee: $(TARGET).hex $(TARGET).eep batchisp -hardware usb -device $(MCU) -operation start reset 0 dfu-ee: $(TARGET).hex $(TARGET).eep - dfu-programmer $(MCU) erase - dfu-programmer $(MCU) eeprom --debug 1 $(TARGET).eep + dfu-programmer $(MCU) flash-eeprom --debug 1 --suppress-bootloader-mem $(TARGET).eep dfu-programmer $(MCU) reset + # Generate avr-gdb config/init file which does the following: # define the reset signal, load the target file, connect to target, and set # a breakpoint at main(). @@ -674,15 +674,16 @@ $(OBJDIR)/%.o : %.S $(CC) -E -mmcu=$(MCU) -I. $(CFLAGS) $< -o $@ -## Target: clean project. +# Target: clean project. clean: begin clean_list clean_binary end clean_binary: $(REMOVE) $(TARGET).hex - + clean_list: @echo $(MSG_CLEANING) $(REMOVE) $(TARGET).eep + $(REMOVE) $(TARGET)eep.hex $(REMOVE) $(TARGET).cof $(REMOVE) $(TARGET).elf $(REMOVE) $(TARGET).map @@ -717,4 +718,4 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) finish end sizebefore sizeafter gccversion \ build elf hex eep lss sym coff extcoff \ clean clean_list clean_binary program debug \ -gdb-config doxygen dfu flip +gdb-config doxygen dfu flip flip-ee dfu-ee