From 4afebc8b70672e7a860606ba6e2496314265f1d9 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 8 Nov 2015 14:20:50 +1100 Subject: [PATCH] Update dfu-programmer command line arguments, old argument names have been changed in newer releases. --- LUFA/Build/lufa_dfu.mk | 2 +- LUFA/DoxygenPages/ChangeLog.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/LUFA/Build/lufa_dfu.mk b/LUFA/Build/lufa_dfu.mk index d7edad6ada..b19df057ec 100644 --- a/LUFA/Build/lufa_dfu.mk +++ b/LUFA/Build/lufa_dfu.mk @@ -88,7 +88,7 @@ dfu: $(TARGET).hex $(MAKEFILE_LIST) # Programs in the target EEPROM memory using DFU-PROGRAMMER dfu-ee: $(TARGET).eep $(MAKEFILE_LIST) @echo $(MSG_DFU_CMD) Programming EEPROM with dfu-programmer using \"$<\" - dfu-programmer $(MCU) eeprom-flash $< + dfu-programmer $(MCU) flash --eeprom $< dfu-programmer $(MCU) reset # Phony build targets for this module diff --git a/LUFA/DoxygenPages/ChangeLog.txt b/LUFA/DoxygenPages/ChangeLog.txt index 443787aee5..636d469b69 100644 --- a/LUFA/DoxygenPages/ChangeLog.txt +++ b/LUFA/DoxygenPages/ChangeLog.txt @@ -25,6 +25,7 @@ * - The CDC, DFU, Mass Storage and Printer class bootloaders are not compatible with devices with the BOOTRST fuse set and will * exit automatically unless an external reset was the last reset cause (thanks to Alex Kazik) * - Added missing force-inline attribute to the endianness utility functions (thanks to Stefan Hellermann) + * - Updated the DFU build system module to use updated EEPROM programming command arguments for dfu-programmer 0.6.2 or newer * * Fixed: * - Fixed broken XMEGA serial stream driver due to missing USART base pointer parameter (thanks to William Patterson)