1 DMBS - Dean's Makefile Build System
2 ===================================
8 The DFU module provides build targets to program a USB connected target running
9 a DFU class bootloader, via the official Atmel FLIP utility running via the
10 command line, or the open source `DFU-Programmer` tool.
12 ## Importing This Module into a Makefile:
14 To use this module in your application makefile, add the following code to your
17 include $(DMBS_PATH)/dfu.mk
21 This module requires the `batchisp` utility to be available in your system's
22 `PATH` variable. The `batchisp` utility is distributed as part of Atmel's FLIP
23 software which can be downloaded from the [official site](http://www.atmel.com).
25 This module requires the `dfu-programmer` utility to be available in your
26 system's `PATH` variable. The `dfu-programmer` utility is distributed from the
27 [official project site](https://dfu-programmer.github.io/).
31 The following targets are supported by this module:
37 <td>Program the application into the device's flash memory, using Atmel FLIP.</td>
41 <td>Program the application's EEPROM data into the device's EEPROM memory, using Atmel FLIP.</td>
45 <td>Program the application into the device's flash memory, using `dfu-programmer`.</td>
49 <td>Program the application's EEPROM data into the device's EEPROM memory, using `dfu-programmer`.</td>
54 ## Mandatory Variables:
56 The following variables must be defined (with a `NAME = VALUE` syntax, one
57 variable per line) in the user makefile to be able to use this module:
63 <td>Name of the Atmel processor model (e.g. `at90usb1287`).</td>
67 <td>Name of the application output file prefix (e.g. `TestApplication`).</td>
72 ## Optional Variables:
74 The following variables may be defined (with a `NAME = VALUE` syntax, one
75 variable per line) in the user makefile. If not specified, a default value will
82 <td>This module has no optional variables.</td>
87 ## Provided Variables:
89 The following variables may be referenced in a user makefile (via `$(NAME)`
90 syntax) if desired, as they are provided by this module.
96 <td>This module provides no variables.</td>
103 The following macros may be referenced in a user makefile (via
104 `$(call NAME, ARG1, ARG2, ...)` syntax) if desired, as they are provided by
111 <td>This module provides no macros.</td>
118 The changes to this module since its initial release are listed below, as of the
119 DMBS version where the change was made.