aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/LEDNotifier
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-09-24 06:45:11 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-09-24 06:45:11 +0000
commitbd85422d2beb8b14e617839b7d05e7306df83edc (patch)
tree0f3d77d6edb3549fafa5a6e89aea371be0697251 /Projects/LEDNotifier
parentb48095c0fbd9774413702b0226ef72926034e6c6 (diff)
downloadlufa-bd85422d2beb8b14e617839b7d05e7306df83edc.tar.gz
lufa-bd85422d2beb8b14e617839b7d05e7306df83edc.tar.bz2
lufa-bd85422d2beb8b14e617839b7d05e7306df83edc.zip
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.
Diffstat (limited to 'Projects/LEDNotifier')
-rw-r--r--Projects/LEDNotifier/makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Projects/LEDNotifier/makefile b/Projects/LEDNotifier/makefile
index 4b168b4bc..39e8a11ac 100644
--- a/Projects/LEDNotifier/makefile
+++ b/Projects/LEDNotifier/makefile
@@ -66,7 +66,7 @@ MCU = at90usb1287
# 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 = BUI
+BOARD = BUI
# Processor frequency.
@@ -521,7 +521,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
@@ -532,7 +532,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