Added the --suppress-bootloader-mem option to the makefile dfu target, to ensure...
[pub/USBasp.git] / LUFA / CodeTemplates / makefile_template
index a1176a4..c10bcf9 100644 (file)
@@ -66,7 +66,7 @@ MCU = ### INSERT NAME OF MICROCONTROLLER MODEL HERE ###
 # Target board (see library "Board Types" documentation, NONE for projects not requiring\r
 # LUFA board drivers). If USER is selected, put custom board drivers in a directory called \r
 # "Board" inside the application directory.\r
-BOARD  = ### INSERT NAME OF BOARD HERE, OR NONE IF NO BOARD DRIVERS USED ###\r
+BOARD = ### INSERT NAME OF BOARD HERE, OR NONE IF NO BOARD DRIVERS USED ###\r
 \r
 \r
 # Processor frequency.\r
@@ -516,7 +516,7 @@ flip: $(TARGET).hex
 \r
 dfu: $(TARGET).hex\r
        dfu-programmer $(MCU) erase\r
-       dfu-programmer $(MCU) flash --debug 1 $(TARGET).hex\r
+       dfu-programmer $(MCU) flash --suppress-bootloader-mem --debug 1 $(TARGET).hex\r
        dfu-programmer $(MCU) reset\r
 \r
 flip-ee: $(TARGET).hex $(TARGET).eep\r
@@ -527,7 +527,7 @@ flip-ee: $(TARGET).hex $(TARGET).eep
        $(REMOVE) $(TARGET)eep.hex\r
 \r
 dfu-ee: $(TARGET).hex $(TARGET).eep\r
-       dfu-programmer $(MCU) flash-eeprom --debug 1 --suppress-bootloader-mem $(TARGET).eep\r
+       dfu-programmer $(MCU) eeprom-flash --debug 1 --suppress-bootloader-mem $(TARGET).eep\r
        dfu-programmer $(MCU) reset\r
 \r
 \r