Fix device mode for the U4 parts.
[pub/lufa.git] / Demos / Device / ClassDriver / VirtualSerial / makefile
index d40208c..79249ed 100644 (file)
@@ -60,7 +60,7 @@
 
 
 # MCU name
-MCU = at90usb1287
+MCU = atmega32u4
 
 
 # Target board (see library "Board Types" documentation, NONE for projects not requiring
@@ -521,7 +521,7 @@ flip: $(TARGET).hex
 
 dfu: $(TARGET).hex
        dfu-programmer $(MCU) erase
-       dfu-programmer $(MCU) flash --suppress-bootloader-mem --debug 1 $(TARGET).hex
+       dfu-programmer $(MCU) flash $(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) eeprom-flash --debug 1 --suppress-bootloader-mem $(TARGET).eep
+       dfu-programmer $(MCU) eeprom-flash $(TARGET).eep
        dfu-programmer $(MCU) reset