diff options
author | Dean Camera <[email protected]> | 2009-03-04 08:03:13 +0000 |
---|---|---|
committer | Dean Camera <[email protected]> | 2009-03-04 08:03:13 +0000 |
commit | 7e7124e40ba2155c5ee4348701be30d3790edca3 (patch) | |
tree | 7c8d7f6fb75555874b10577e2937e00a3deec284 /Demos | |
parent | 5e787a4bb04f8a27f9300077361403adf2e92b3f (diff) | |
download | qmk_firmware-7e7124e40ba2155c5ee4348701be30d3790edca3.tar.gz qmk_firmware-7e7124e40ba2155c5ee4348701be30d3790edca3.zip |
Updated makefiles to reflect new dfu-ee programming target invocations (supplied by Opendous, Inc.).
Renamed the ATTR_ALWAYSINLINE function attribute macro to ATTR_ALWAYS_INLINE to match the style of the other function attribute macro names.
Added ATTR_ALWAYS_INLINE attribute to several inlined library functions, to ensure they are inlined in all circumstances.
Cleanups to Endpoint.h and Pipe.h. Added better documentation for the endpoint and pipe interrupts.
Diffstat (limited to 'Demos')
28 files changed, 150 insertions, 117 deletions
diff --git a/Demos/AudioInput/makefile b/Demos/AudioInput/makefile index 51f6cc5b85..697442b5e5 100644 --- a/Demos/AudioInput/makefile +++ b/Demos/AudioInput/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
diff --git a/Demos/AudioOutput/makefile b/Demos/AudioOutput/makefile index 6c2ee32308..a84a4b58b5 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
diff --git a/Demos/BluetoothHost/BluetoothHost.c b/Demos/BluetoothHost/BluetoothHost.c index 0f9eb4a9e6..50bd1a8fe1 100644 --- a/Demos/BluetoothHost/BluetoothHost.c +++ b/Demos/BluetoothHost/BluetoothHost.c @@ -62,9 +62,9 @@ TASK_LIST Bluetooth_Device_t Bluetooth_DeviceConfiguration =
{
- Class: (DEVICE_CLASS_SERVICE_CAPTURING | DEVICE_CLASS_MAJOR_COMPUTER | DEVICE_CLASS_MINOR_COMPUTER_PALM),
+ Class: (DEVICE_CLASS_SERVICE_CAPTURING | DEVICE_CLASS_MAJOR_COMPUTER | DEVICE_CLASS_MINOR_COMPUTER_PALM),
PINCode: "0000",
- Name: "LUFA Bluetooth Demo"
+ Name: "LUFA Bluetooth Demo"
};
diff --git a/Demos/BluetoothHost/makefile b/Demos/BluetoothHost/makefile index 189c84e1c8..0adac4bcdb 100644 --- a/Demos/BluetoothHost/makefile +++ b/Demos/BluetoothHost/makefile @@ -540,10 +540,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().
@@ -677,15 +677,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
@@ -698,11 +699,15 @@ clean_list: $(REMOVE) $(SRC:.c=.i)
$(REMOVEDIR) .dep
+
doxygen:
@echo Generating Project Documentation...
@doxygen Doxygen.conf
@echo Documentation Generation Complete.
+clean_doxygen:
+ rm -rf Documentation
+
# Create object files directory
$(shell mkdir $(OBJDIR) 2>/dev/null)
@@ -716,4 +721,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
+gdb-config doxygen dfu flip flip-ee dfu-ee
diff --git a/Demos/CDC/makefile b/Demos/CDC/makefile index 9b0e5bdd66..8b19d1dee9 100644 --- a/Demos/CDC/makefile +++ b/Demos/CDC/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
diff --git a/Demos/CDCHost/makefile b/Demos/CDCHost/makefile index d1e4cb990b..98700824c7 100644 --- a/Demos/CDCHost/makefile +++ b/Demos/CDCHost/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
diff --git a/Demos/DualCDC/makefile b/Demos/DualCDC/makefile index 01ab609972..9313b8008e 100644 --- a/Demos/DualCDC/makefile +++ b/Demos/DualCDC/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
diff --git a/Demos/Joystick/makefile b/Demos/Joystick/makefile index a29a2d3802..6638c108c4 100644 --- a/Demos/Joystick/makefile +++ b/Demos/Joystick/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().
@@ -615,6 +615,8 @@ extcoff: $(TARGET).elf @echo $(MSG_SYMBOL_TABLE) $@
$(NM) -n $< > $@
+
+
# Create library from object files.
.SECONDARY : $(TARGET).a
.PRECIOUS : $(OBJ)
@@ -674,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
@@ -712,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
diff --git a/Demos/Keyboard/makefile b/Demos/Keyboard/makefile index 681f729e20..db138609af 100644 --- a/Demos/Keyboard/makefile +++ b/Demos/Keyboard/makefile @@ -536,10 +536,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().
@@ -678,10 +678,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
@@ -716,4 +717,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
diff --git a/Demos/KeyboardFullInt/makefile b/Demos/KeyboardFullInt/makefile index b1f7f890f3..a7ebbf9fd3 100644 --- a/Demos/KeyboardFullInt/makefile +++ b/Demos/KeyboardFullInt/makefile @@ -533,10 +533,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().
@@ -675,10 +675,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
@@ -713,4 +714,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
diff --git a/Demos/KeyboardHost/makefile b/Demos/KeyboardHost/makefile index 7ff737e519..6ef376b334 100644 --- a/Demos/KeyboardHost/makefile +++ b/Demos/KeyboardHost/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
diff --git a/Demos/KeyboardHostViaInt/makefile b/Demos/KeyboardHostViaInt/makefile index a8b3f23e60..813ed690cd 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
diff --git a/Demos/KeyboardHostWithParser/makefile b/Demos/KeyboardHostWithParser/makefile index ea768b4e4c..41d8d9f662 100644 --- a/Demos/KeyboardHostWithParser/makefile +++ b/Demos/KeyboardHostWithParser/makefile @@ -539,10 +539,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,15 +676,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
@@ -719,4 +720,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
diff --git a/Demos/KeyboardMouse/makefile b/Demos/KeyboardMouse/makefile index 7c26d2cf29..b16146c282 100644 --- a/Demos/KeyboardMouse/makefile +++ b/Demos/KeyboardMouse/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
diff --git a/Demos/KeyboardViaInt/makefile b/Demos/KeyboardViaInt/makefile index ff225b35c4..5b84843b63 100644 --- a/Demos/KeyboardViaInt/makefile +++ b/Demos/KeyboardViaInt/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
diff --git a/Demos/MIDI/makefile b/Demos/MIDI/makefile index c5cc048d84..7d9f24a053 100644 --- a/Demos/MIDI/makefile +++ b/Demos/MIDI/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
diff --git a/Demos/MassStorage/makefile b/Demos/MassStorage/makefile index 2f17228afc..284d2aa284 100644 --- a/Demos/MassStorage/makefile +++ b/Demos/MassStorage/makefile @@ -536,10 +536,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().
@@ -678,10 +678,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
@@ -716,4 +717,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
diff --git a/Demos/MassStorageHost/makefile b/Demos/MassStorageHost/makefile index 2608b76bb7..322d760032 100644 --- a/Demos/MassStorageHost/makefile +++ b/Demos/MassStorageHost/makefile @@ -539,10 +539,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,15 +676,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
@@ -719,4 +720,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
diff --git a/Demos/Mouse/makefile b/Demos/Mouse/makefile index 0f20dca636..4886e89266 100644 --- a/Demos/Mouse/makefile +++ b/Demos/Mouse/makefile @@ -535,10 +535,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().
@@ -677,10 +677,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
@@ -715,4 +716,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
diff --git a/Demos/MouseFullInt/makefile b/Demos/MouseFullInt/makefile index fe85516989..0a7e684d58 100644 --- a/Demos/MouseFullInt/makefile +++ b/Demos/MouseFullInt/makefile @@ -535,10 +535,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().
@@ -677,10 +677,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
@@ -715,4 +716,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
diff --git a/Demos/MouseHost/makefile b/Demos/MouseHost/makefile index 6e8688f101..f2bb61ad28 100644 --- a/Demos/MouseHost/makefile +++ b/Demos/MouseHost/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().
@@ -679,10 +679,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
@@ -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
diff --git a/Demos/MouseHostViaInt/makefile b/Demos/MouseHostViaInt/makefile index f2b86e12f5..45b53c6b3c 100644 --- a/Demos/MouseHostViaInt/makefile +++ b/Demos/MouseHostViaInt/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().
@@ -679,10 +679,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
@@ -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
diff --git a/Demos/MouseHostWithParser/makefile b/Demos/MouseHostWithParser/makefile index 3eec44b369..c815185f22 100644 --- a/Demos/MouseHostWithParser/makefile +++ b/Demos/MouseHostWithParser/makefile @@ -539,10 +539,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().
@@ -681,10 +681,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
@@ -719,4 +720,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
diff --git a/Demos/MouseViaInt/makefile b/Demos/MouseViaInt/makefile index 571d1f6067..892fe44171 100644 --- a/Demos/MouseViaInt/makefile +++ b/Demos/MouseViaInt/makefile @@ -535,10 +535,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().
@@ -677,10 +677,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
@@ -715,4 +716,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
diff --git a/Demos/RNDISEthernet/makefile b/Demos/RNDISEthernet/makefile index ba1588af61..18f1fe4a82 100644 --- a/Demos/RNDISEthernet/makefile +++ b/Demos/RNDISEthernet/makefile @@ -548,10 +548,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().
@@ -690,10 +690,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
@@ -728,4 +729,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
diff --git a/Demos/StillImageHost/makefile b/Demos/StillImageHost/makefile index 63e328ac40..8387c81610 100644 --- a/Demos/StillImageHost/makefile +++ b/Demos/StillImageHost/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
diff --git a/Demos/TestApp/makefile b/Demos/TestApp/makefile index befc0e6fce..e3a3ba935b 100644 --- a/Demos/TestApp/makefile +++ b/Demos/TestApp/makefile @@ -542,10 +542,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().
@@ -684,10 +684,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
@@ -722,4 +723,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
diff --git a/Demos/USBtoSerial/makefile b/Demos/USBtoSerial/makefile index 6703102bb0..0c4aa87e8d 100644 --- a/Demos/USBtoSerial/makefile +++ b/Demos/USBtoSerial/makefile @@ -536,10 +536,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().
@@ -678,10 +678,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
@@ -716,4 +717,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
|