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
\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
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