Updated makefiles to reflect new dfu-ee programming target invocations (supplied...
[pub/USBasp.git] / Demos / KeyboardViaInt / makefile
index ff225b3..5b84843 100644 (file)
@@ -534,10 +534,10 @@ flip-ee: $(TARGET).hex $(TARGET).eep
        batchisp -hardware usb -device $(MCU) -operation start reset 0\r
 \r
 dfu-ee: $(TARGET).hex $(TARGET).eep\r
-       dfu-programmer $(MCU) erase\r
-       dfu-programmer $(MCU) eeprom --debug 1 $(TARGET).eep\r
+       dfu-programmer $(MCU) flash-eeprom --debug 1 --suppress-bootloader-mem $(TARGET).eep\r
        dfu-programmer $(MCU) reset\r
 \r
+\r
 # Generate avr-gdb config/init file which does the following:\r
 #     define the reset signal, load the target file, connect to target, and set \r
 #     a breakpoint at main().\r
@@ -676,10 +676,11 @@ clean: begin clean_list clean_binary end
 \r
 clean_binary:\r
        $(REMOVE) $(TARGET).hex\r
-\r
+       \r
 clean_list:\r
        @echo $(MSG_CLEANING)\r
        $(REMOVE) $(TARGET).eep\r
+       $(REMOVE) $(TARGET)eep.hex\r
        $(REMOVE) $(TARGET).cof\r
        $(REMOVE) $(TARGET).elf\r
        $(REMOVE) $(TARGET).map\r
@@ -714,4 +715,4 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
 finish end sizebefore sizeafter gccversion  \\r
 build elf hex eep lss sym coff extcoff      \\r
 clean clean_list clean_binary program debug \\r
-gdb-config doxygen dfu flip\r
+gdb-config doxygen dfu flip flip-ee dfu-ee\r