aboutsummaryrefslogtreecommitdiff
path: root/LUFA/CodeTemplates
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2010-09-24 06:45:11 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2010-09-24 06:45:11 +0000
commit532624e98373db073b497e4f669248c9a4acd51a (patch)
tree0f3d77d6edb3549fafa5a6e89aea371be0697251 /LUFA/CodeTemplates
parent082f0a868529f7fd5359e6606328b6febbeba836 (diff)
Added the --suppress-bootloader-mem option to the makefile dfu target, to ensure that writes to the bootloader section of the AVR's flash memory are ignored (thanks to Axel Rohde).
Fixed incorrect command name for EEPROM memory programming in the makefile dfu-ee target. Makefile whitespace fixes. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1495 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'LUFA/CodeTemplates')
-rw-r--r--LUFA/CodeTemplates/makefile_template6
1 files changed, 3 insertions, 3 deletions
diff --git a/LUFA/CodeTemplates/makefile_template b/LUFA/CodeTemplates/makefile_template
index a1176a42..c10bcf9e 100644
--- a/LUFA/CodeTemplates/makefile_template
+++ b/LUFA/CodeTemplates/makefile_template
@@ -66,7 +66,7 @@ MCU = ### INSERT NAME OF MICROCONTROLLER MODEL HERE ###
# Target board (see library "Board Types" documentation, NONE for projects not requiring
# LUFA board drivers). If USER is selected, put custom board drivers in a directory called
# "Board" inside the application directory.
-BOARD = ### INSERT NAME OF BOARD HERE, OR NONE IF NO BOARD DRIVERS USED ###
+BOARD = ### INSERT NAME OF BOARD HERE, OR NONE IF NO BOARD DRIVERS USED ###
# Processor frequency.
@@ -516,7 +516,7 @@ flip: $(TARGET).hex
dfu: $(TARGET).hex
dfu-programmer $(MCU) erase
- dfu-programmer $(MCU) flash --debug 1 $(TARGET).hex
+ dfu-programmer $(MCU) flash --suppress-bootloader-mem --debug 1 $(TARGET).hex
dfu-programmer $(MCU) reset
flip-ee: $(TARGET).hex $(TARGET).eep
@@ -527,7 +527,7 @@ flip-ee: $(TARGET).hex $(TARGET).eep
$(REMOVE) $(TARGET)eep.hex
dfu-ee: $(TARGET).hex $(TARGET).eep
- dfu-programmer $(MCU) flash-eeprom --debug 1 --suppress-bootloader-mem $(TARGET).eep
+ dfu-programmer $(MCU) eeprom-flash --debug 1 --suppress-bootloader-mem $(TARGET).eep
dfu-programmer $(MCU) reset