LUFA Library  151115
The DFU build module

The DFU programming utility LUFA build system module, providing targets to reprogram an Atmel processor FLASH and EEPROM memories with a project's compiled binary output files. This module requires a DFU class bootloader to be running in the target, compatible with the DFU bootloader protocol as published by Atmel.

To use this module in your application makefile, add the following code:

include $(LUFA_PATH)/Build/lufa_dfu.mk

Requirements

This module requires either the batchisp utility from Atmel's FLIP utility, or the open source dfu-programmer utility (http://dfu-programmer.sourceforge.net/) to be available in your system's PATH variable. On *nix systems the dfu-programmer utility can be installed via the project's source code or through the package manager.

Targets

dfu Program the device FLASH memory with the application's executable data using dfu-programmer.
dfu-ee Program the device EEPROM memory with the application's EEPROM data using dfu-programmer.
flip Program the device FLASH memory with the application's executable data using batchisp.
flip-ee Program the device EEPROM memory with the application's EEPROM data using batchisp.

Mandatory Parameters

MCU Name of the Atmel processor model (e.g. at90usb1287).
TARGET Name of the application output file prefix (e.g. TestApplication).

Optional Parameters

None

Module Provided Variables

None

Module Provided Macros

None