diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-03-04 08:03:13 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-03-04 08:03:13 +0000 |
commit | 7e7124e40ba2155c5ee4348701be30d3790edca3 (patch) | |
tree | 7c8d7f6fb75555874b10577e2937e00a3deec284 /Projects | |
parent | 5e787a4bb04f8a27f9300077361403adf2e92b3f (diff) | |
download | lufa-7e7124e40ba2155c5ee4348701be30d3790edca3.tar.gz lufa-7e7124e40ba2155c5ee4348701be30d3790edca3.tar.bz2 lufa-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 'Projects')
-rw-r--r-- | Projects/AVRISP_Programmer/makefile | 9 | ||||
-rw-r--r-- | Projects/Magstripe/makefile | 9 |
2 files changed, 10 insertions, 8 deletions
diff --git a/Projects/AVRISP_Programmer/makefile b/Projects/AVRISP_Programmer/makefile index f8d75b658..1ef7370c8 100644 --- a/Projects/AVRISP_Programmer/makefile +++ b/Projects/AVRISP_Programmer/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/Projects/Magstripe/makefile b/Projects/Magstripe/makefile index 109976090..0abf05c21 100644 --- a/Projects/Magstripe/makefile +++ b/Projects/Magstripe/makefile @@ -544,10 +544,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(). @@ -686,10 +686,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 @@ -724,4 +725,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 |