aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/AudioOutput/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Demos/AudioOutput/makefile')
-rw-r--r--Demos/AudioOutput/makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Demos/AudioOutput/makefile b/Demos/AudioOutput/makefile
index 6c2ee3230..a84a4b58b 100644
--- a/Demos/AudioOutput/makefile
+++ b/Demos/AudioOutput/makefile
@@ -534,10 +534,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().
@@ -676,10 +676,11 @@ 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
@@ -714,4 +715,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