LUFA Library  140928
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
The AVRDUDE build module

The AVRDUDE 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.

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

include $(LUFA_PATH)/Build/


This module requires the avrdude utility to be available in your system's PATH variable. The avrdude utility is distributed in the old WinAVR project releases for Windows ( or can be installed on *nix systems via the project's source code ( or through the package manager.


avrdude Program the device FLASH memory with the application's executable data.
avrdude-ee Program the device EEPROM memory with the application's EEPROM data.

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

AVRDUDE_PROGRAMMER Name of the programmer or debugger tool to communicate with (e.g. jtagicemkii).
AVRDUDE_PORT Name of the communication port to use when when programming with the connected tool (e.g. COM2, /dev/ttyUSB0 or usb).
AVRDUDE_FLAGS Additional flags to pass to avrdude when programming, applied after the automatically generated flags.

Module Provided Variables


Module Provided Macros