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
$(CC) -E -mmcu=$(MCU) -I. $(CFLAGS) $< -o $@ \r
\r
\r
-## Target: clean project.\r
+# Target: clean project.\r
clean: begin clean_list clean_binary end\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
$(REMOVE) $(SRC:.c=.i)\r
$(REMOVEDIR) .dep\r
\r
+\r
doxygen:\r
@echo Generating Project Documentation...\r
@doxygen Doxygen.conf\r
@echo Documentation Generation Complete.\r
\r
+clean_doxygen:\r
+ rm -rf Documentation\r
+\r
# Create object files directory\r
$(shell mkdir $(OBJDIR) 2>/dev/null)\r
\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\r
+gdb-config doxygen dfu flip flip-ee dfu-ee\r