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/lufa_avrdude.mk
*
Requirements
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 (http://winavr.sourceforge.net) or can be installed on *nix systems via the project's source code (https://savannah.nongnu.org/projects/avrdude) or through the package manager.
Targets
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