3 * This file contains special DoxyGen information for the generation of the main page and other special
4 * documentation pages. It is not a project source file.
7 /** \page Page_BuildSystem The LUFA Build System
9 * \section Sec_BuildSystemOverview Overview of the LUFA Build System
10 * The LUFA build system is an attempt at making a set of re-usable, modular build make files which
11 * can be referenced in a LUFA powered project, to minimise the amount of code required in an
12 * application makefile. The system is written in GNU Make, and each module is independant of
15 * For details on the prerequisites needed for Linux and Windows machines to be able to use the LUFA
16 * build system, see \ref Sec_Prerequisites.
18 * To use a LUFA build system module, simply add an include to your project makefile. All user projects
19 * should at a minimum include \ref Page_BuildModule_CORE for base functionality:
21 * include $(LUFA_PATH)/Build/lufa_core.mk
24 * Once included in your project makefile, the associated build module targets will be added to your
25 * project's build makefile targets automatically. To call a build target, run <tt>make {TARGET_NAME}</tt>
26 * from the command line, substituting in the appropriate target name.
28 * \see \ref Sec_AppConfigParams for a copy of the sample LUFA project makefile.
30 * Each build module may have one or more mandatory parameters (GNU Make variables) which <i>must</i>
31 * be supplied in the project makefile for the module to work, and one or more optional parameters which
32 * may be defined and which will assume a sensible default if not.
34 * \section SSec_BuildSystemModules Available Modules
36 * The following modules are included in this LUFA release:
38 * \li \subpage Page_BuildModule_ATPROGRAM - Device Programming
39 * \li \subpage Page_BuildModule_AVRDUDE - Device Programming
40 * \li \subpage Page_BuildModule_BUILD - Compiling/Assembling/Linking
41 * \li \subpage Page_BuildModule_CORE - Core Build System Functions
42 * \li \subpage Page_BuildModule_CPPCHECK - Static Code Analysis
43 * \li \subpage Page_BuildModule_DFU - Device Programming
44 * \li \subpage Page_BuildModule_DOXYGEN - Automated Source Code Documentation
45 * \li \subpage Page_BuildModule_HID - Device Programming
46 * \li \subpage Page_BuildModule_SOURCES - LUFA Module Source Code Variables
49 /** \page Page_BuildModule_BUILD The BUILD build module
51 * The BUILD LUFA build system module, providing targets for the compilation,
52 * assembling and linking of an application from source code into binary files
53 * suitable for programming into a target device, using the GCC compiler.
55 * To use this module in your application makefile, add the following code:
57 * include $(LUFA_PATH)/Build/lufa_build.mk
60 * \section SSec_BuildModule_BUILD_Requirements Requirements
61 * This module requires the the architecture appropriate binaries of the GCC compiler are available in your
62 * system's <b>PATH</b> variable. The GCC compiler and associated toolchain is distributed in Atmel AVR Studio
63 * 5.x and Atmel Studio 6.x installation directories, as well as in many third party distribution packages.
65 * \section SSec_BuildModule_BUILD_Targets Targets
69 * <td><tt>size</tt></td>
70 * <td>Display size of the compiled application FLASH and SRAM segments.</td>
73 * <td><tt>symbol-sizes</tt></td>
74 * <td>Display a size-sorted list of symbols from the compiled application, in decimal bytes.</td>
77 * <td><tt>lib</tt></td>
78 * <td>Build and archive all source files into a library A binary file.</td>
81 * <td><tt>all</tt></td>
82 * <td>Build and link the application into ELF debug and HEX binary files.</td>
85 * <td><tt>elf</tt></td>
86 * <td>Build and link the application into an ELF debug file.</td>
89 * <td><tt>hex</tt></td>
90 * <td>Build and link the application and produce HEX and EEP binary files.</td>
93 * <td><tt>lss</tt></td>
94 * <td>Build and link the application and produce a LSS source code/assembly code mixed listing file.</td>
97 * <td><tt>clean</tt></td>
98 * <td>Remove all intermediatary files and binary output files.</td>
101 * <td><tt>mostlyclean</tt></td>
102 * <td>Remove all intermediatary files but preserve any binary output files.</td>
105 * <td><tt><i><filename></i>.s</tt></td>
106 * <td>Create an assembly listing of a given input C/C++ source file.</td>
110 * \section SSec_BuildModule_BUILD_MandatoryParams Mandatory Parameters
114 * <td><tt>TARGET</tt></td>
115 * <td>Name of the application output file prefix (e.g. <tt>TestApplication</tt>).</td>
118 * <td><tt>ARCH</tt></td>
119 * <td>Architecture of the target processor (see \ref Page_DeviceSupport).</td>
122 * <td><tt>MCU</tt></td>
123 * <td>Name of the Atmel processor model (e.g. <tt>at90usb1287</tt>).</td>
126 * <td><tt>SRC</tt></td>
127 * <td>List of relative or absolute paths to the application C (.c), C++ (.cpp) and Assembly (.S) source files.</td>
130 * <td><tt>F_USB</tt></td>
131 * <td>Speed in Hz of the input clock frequency to the target's USB controller.</td>
134 * <td><tt>LUFA_PATH</tt></td>
135 * <td>Path to the LUFA library core, either relative or absolute (e.g. <tt>../LUFA-000000/LUFA/</tt>).</td>
139 * \section SSec_BuildModule_BUILD_OptionalParams Optional Parameters
143 * <td><tt>BOARD</tt></td>
144 * <td>LUFA board hardware drivers to use (see \ref Page_DeviceSupport).</td>
147 * <td><tt>OPTIMIZATION</tt></td>
148 * <td>Optimization level to use when compiling source files (see GCC manual).</td>
151 * <td><tt>C_STANDARD</tt></td>
152 * <td>Version of the C standard to apply when compiling C++ source files (see GCC manual).</td>
155 * <td><tt>CPP_STANDARD</tt></td>
156 * <td>Version of the C++ standard to apply when compiling C++ source files (see GCC manual).</td>
159 * <td><tt>DEBUG_FORMAT</tt></td>
160 * <td>Format of the debug information to embed in the generated object files (see GCC manual).</td>
163 * <td><tt>DEBUG_LEVEL</tt></td>
164 * <td>Level of the debugging information to embed in the generated object files (see GCC manual).</td>
167 * <td><tt>F_CPU</tt></td>
168 * <td>Speed of the processor CPU clock, in Hz.</td>
171 * <td><tt>C_FLAGS</tt></td>
172 * <td>Flags to pass to the C compiler only, after the automatically generated flags.</td>
175 * <td><tt>CPP_FLAGS</tt></td>
176 * <td>Flags to pass to the C++ compiler only, after the automatically generated flags.</td>
179 * <td><tt>ASM_FLAGS</tt></td>
180 * <td>Flags to pass to the assembler only, after the automatically generated flags.</td>
183 * <td><tt>CC_FLAGS</tt></td>
184 * <td>Common flags to pass to the C/C++ compiler and assembler, after the automatically generated flags.</td>
187 * <td><tt>LD_FLAGS</tt></td>
188 * <td>Flags to pass to the linker, after the automatically generated flags.</td>
191 * <td><tt>OBJDIR</tt></td>
192 * <td>Directory to place the generated object and dependency files. If set to "." the same folder as the source file will be used.
193 * \note When this option is enabled, all source filenames <b>must</b> be unique.</td>
196 * <td><tt>OBJECT_FILES</tt></td>
197 * <td>List of additional object files that should be linked into the resulting binary.</td>
201 * \section SSec_BuildModule_BUILD_ProvidedVariables Module Provided Variables
205 * <td><i>None</i></td>
209 * \section SSec_BuildModule_BUILD_ProvidedMacros Module Provided Macros
213 * <td><i>None</i></td>
218 /** \page Page_BuildModule_CORE The CORE build module
220 * The core LUFA build system module, providing common build system help and information targets.
222 * To use this module in your application makefile, add the following code:
224 * include $(LUFA_PATH)/Build/lufa_core.mk
227 * \section SSec_BuildModule_CORE_Requirements Requirements
228 * This module has no requirements outside a standard *nix shell like environment; the <tt>sh</tt>
229 * shell, GNU <tt>make</tt> and *nix CoreUtils (<tt>echo</tt>, <tt>printf</tt>, etc.).
231 * \section SSec_BuildModule_CORE_Targets Targets
235 * <td><tt>help</tt></td>
236 * <td>Display build system help and configuration information.</td>
239 * <td><tt>list_targets</tt></td>
240 * <td>List all available build targets from the build system.</td>
243 * <td><tt>list_modules</tt></td>
244 * <td>List all available build modules from the build system.</td>
247 * <td><tt>list_mandatory</tt></td>
248 * <td>List all mandatory parameters required by the included modules.</td>
251 * <td><tt>list_optional</tt></td>
252 * <td>List all optional parameters required by the included modules.</td>
255 * <td><tt>list_provided</tt></td>
256 * <td>List all variables provided by the included modules.</td>
259 * <td><tt>list_macros</tt></td>
260 * <td>List all macros provided by the included modules.</td>
264 * \section SSec_BuildModule_CORE_MandatoryParams Mandatory Parameters
268 * <td><i>None</i></td>
272 * \section SSec_BuildModule_CORE_OptionalParams Optional Parameters
276 * <td><i>None</i></td>
280 * \section SSec_BuildModule_CORE_ProvidedVariables Module Provided Variables
284 * <td><i>None</i></td>
288 * \section SSec_BuildModule_CORE_ProvidedMacros Module Provided Macros
292 * <td><i>None</i></td>
297 /** \page Page_BuildModule_ATPROGRAM The ATPROGRAM build module
299 * The ATPROGRAM programming utility LUFA build system module, providing targets to reprogram an
300 * Atmel processor FLASH and EEPROM memories with a project's compiled binary output files.
302 * To use this module in your application makefile, add the following code:
304 * include $(LUFA_PATH)/Build/lufa_atprogram.mk
307 * \section SSec_BuildModule_ATPROGRAM_Requirements Requirements
308 * This module requires the <tt>atprogram.exe</tt> utility to be available in your system's <b>PATH</b>
309 * variable. The <tt>atprogram.exe</tt> utility is distributed in Atmel AVR Studio 5.x and Atmel Studio 6.x
310 * inside the application install folder's "\avrdbg" subdirectory.
312 * \section SSec_BuildModule_ATPROGRAM_Targets Targets
316 * <td><tt>atprogram</tt></td>
317 * <td>Program the device FLASH memory with the application's executable data.</td>
320 * <td><tt>atprogram-ee</tt></td>
321 * <td>Program the device EEPROM memory with the application's EEPROM data.</td>
325 * \section SSec_BuildModule_ATPROGRAM_MandatoryParams Mandatory Parameters
329 * <td><tt>MCU</tt></td>
330 * <td>Name of the Atmel processor model (e.g. <tt>at90usb1287</tt>).</td>
333 * <td><tt>TARGET</tt></td>
334 * <td>Name of the application output file prefix (e.g. <tt>TestApplication</tt>).</td>
338 * \section SSec_BuildModule_ATPROGRAM_OptionalParams Optional Parameters
342 * <td><tt>ATPROGRAM_PROGRAMMER</tt></td>
343 * <td>Name of the Atmel programmer or debugger tool to communicate with (e.g. <tt>jtagice3</tt>).</td>
346 * <td><tt>ATPROGRAM_INTERFACE</tt></td>
347 * <td>Name of the programming interface to use when programming the target (e.g. <tt>spi</tt>).</td>
350 * <td><tt>ATPROGRAM_PORT</tt></td>
351 * <td>Name of the communication port to use when when programming with a serially connected tool (e.g. <tt>COM2</tt>).</td>
355 * \section SSec_BuildModule_ATPROGRAM_ProvidedVariables Module Provided Variables
359 * <td><i>None</i></td>
363 * \section SSec_BuildModule_ATPROGRAM_ProvidedMacros Module Provided Macros
367 * <td><i>None</i></td>
372 /** \page Page_BuildModule_AVRDUDE The AVRDUDE build module
374 * The AVRDUDE programming utility LUFA build system module, providing targets to reprogram an
375 * Atmel processor FLASH and EEPROM memories with a project's compiled binary output files.
377 * To use this module in your application makefile, add the following code:
379 * include $(LUFA_PATH)/Build/lufa_avrdude.mk
382 * \section SSec_BuildModule_AVRDUDE_Requirements Requirements
383 * This module requires the <tt>avrdude</tt> utility to be available in your system's <b>PATH</b>
384 * variable. The <tt>avrdude</tt> utility is distributed in the old WinAVR project releases for
385 * Windows (<a>http://winavr.sourceforge.net</a>) or can be installed on *nix systems via the project's
386 * source code (<a>https://savannah.nongnu.org/projects/avrdude</a>) or through the package manager.
388 * \section SSec_BuildModule_AVRDUDE_Targets Targets
392 * <td><tt>avrdude</tt></td>
393 * <td>Program the device FLASH memory with the application's executable data.</td>
396 * <td><tt>avrdude-ee</tt></td>
397 * <td>Program the device EEPROM memory with the application's EEPROM data.</td>
401 * \section SSec_BuildModule_AVRDUDE_MandatoryParams Mandatory Parameters
405 * <td><tt>MCU</tt></td>
406 * <td>Name of the Atmel processor model (e.g. <tt>at90usb1287</tt>).</td>
409 * <td><tt>TARGET</tt></td>
410 * <td>Name of the application output file prefix (e.g. <tt>TestApplication</tt>).</td>
414 * \section SSec_BuildModule_AVRDUDE_OptionalParams Optional Parameters
418 * <td><tt>AVRDUDE_PROGRAMMER</tt></td>
419 * <td>Name of the programmer or debugger tool to communicate with (e.g. <tt>jtagicemkii</tt>).</td>
422 * <td><tt>AVRDUDE_PORT</tt></td>
423 * <td>Name of the communication port to use when when programming with the connected tool (e.g. <tt>COM2</tt>, <tt>/dev/ttyUSB0</tt> or <tt>usb</tt>).</td>
426 * <td><tt>AVRDUDE_FLAGS</tt></td>
427 * <td>Additional flags to pass to avrdude when programming, applied after the automatically generated flags.</td>
431 * \section SSec_BuildModule_AVRDUDE_ProvidedVariables Module Provided Variables
435 * <td><i>None</i></td>
439 * \section SSec_BuildModule_AVRDUDE_ProvidedMacros Module Provided Macros
443 * <td><i>None</i></td>
448 /** \page Page_BuildModule_CPPCHECK The CPPCHECK build module
450 * The CPPCHECK programming utility LUFA build system module, providing targets to statically
451 * analyze C and C++ source code for errors and performance/style issues.
453 * To use this module in your application makefile, add the following code:
455 * include $(LUFA_PATH)/Build/lufa_cppcheck.mk
458 * \section SSec_BuildModule_CPPCHECK_Requirements Requirements
459 * This module requires the <tt>cppcheck</tt> utility to be available in your system's <b>PATH</b>
460 * variable. The <tt>cppcheck</tt> utility is distributed through the project's home page
461 * (<a>http://cppcheck.sourceforge.net</a>) for Windows, and can be installed on *nix systems via
462 * the project's source code or through the package manager.
464 * \section SSec_BuildModule_CPPCHECK_Targets Targets
468 * <td><tt>cppcheck</tt></td>
469 * <td>Statically analyze the project source code for issues.</td>
472 * <td><tt>cppcheck-config</tt></td>
473 * <td>Check the <tt>cppcheck</tt> configuration - scan source code and warn about missing header files and other issues.</td>
477 * \section SSec_BuildModule_CPPCHECK_MandatoryParams Mandatory Parameters
481 * <td><tt>SRC</tt></td>
482 * <td>List of source files to statically analyze.</td>
486 * \section SSec_BuildModule_CPPCHECK_OptionalParams Optional Parameters
490 * <td><tt>CPPCHECK_INCLUDES</tt></td>
491 * <td>Path of extra directories to check when attemting to resolve C/C++ header file includes.</td>
494 * <td><tt>CPPCHECK_EXCLUDES</tt></td>
495 * <td>Paths or path fragments to exclude when analyzing.</td>
498 * <td><tt>CPPCHECK_MSG_TEMPLATE</tt></td>
499 * <td>Output message template to use when printing errors, warnings and information (see <tt>cppcheck</tt> documentation).</td>
502 * <td><tt>CPPCHECK_ENABLE</tt></td>
503 * <td>Analysis rule categories to enable (see <tt>cppcheck</tt> documentation).</td>
506 * <td><tt>CPPCHECK_SUPPRESS</tt></td>
507 * <td>Specific analysis rules to suppress (see <tt>cppcheck</tt> documentation).</td>
510 * <td><tt>CPPCHECK_FAIL_ON_WARNING</tt></td>
511 * <td>Set to <b>Y</b> to fail the analysis job with an error exit code if warnings are found, <b>N</b> to continue without failing.</td>
514 * <td><tt>CPPCHECK_QUIET</tt></td>
515 * <td>Set to <b>Y</b> to suppress all output except warnings and errors, <b>N</b> to show verbose output information.</td>
518 * <td><tt>CPPCHECK_FLAGS</tt></td>
519 * <td>Extra flags to pass to <tt>cppcheck</tt>, after the automatically generated flags.</td>
523 * \section SSec_BuildModule_CPPCHECK_ProvidedVariables Module Provided Variables
527 * <td><i>None</i></td>
531 * \section SSec_BuildModule_CPPCHECK_ProvidedMacros Module Provided Macros
535 * <td><i>None</i></td>
540 /** \page Page_BuildModule_DFU The DFU build module
542 * The DFU programming utility LUFA build system module, providing targets to reprogram an
543 * Atmel processor FLASH and EEPROM memories with a project's compiled binary output files.
544 * This module requires a DFU class bootloader to be running in the target, compatible with
545 * the DFU bootloader protocol as published by Atmel.
547 * To use this module in your application makefile, add the following code:
549 * include $(LUFA_PATH)/Build/lufa_dfu.mk
552 * \section SSec_BuildModule_DFU_Requirements Requirements
553 * This module requires either the <tt>batchisp</tt> utility from Atmel's FLIP utility, or the open
554 * source <tt>dfu-programmer</tt> utility (<a>http://dfu-programmer.sourceforge.net/</a>) to be
555 * available in your system's <b>PATH</b> variable. On *nix systems the <tt>dfu-programmer</tt> utility
556 * can be installed via the project's source code or through the package manager.
558 * \section SSec_BuildModule_DFU_Targets Targets
562 * <td><tt>dfu</tt></td>
563 * <td>Program the device FLASH memory with the application's executable data using <tt>dfu-programmer</tt>.</td>
566 * <td><tt>dfu-ee</tt></td>
567 * <td>Program the device EEPROM memory with the application's EEPROM data using <tt>dfu-programmer</tt>.</td>
570 * <td><tt>flip</tt></td>
571 * <td>Program the device FLASH memory with the application's executable data using <tt>batchisp</tt>.</td>
574 * <td><tt>flip-ee</tt></td>
575 * <td>Program the device EEPROM memory with the application's EEPROM data using <tt>batchisp</tt>.</td>
579 * \section SSec_BuildModule_DFU_MandatoryParams Mandatory Parameters
583 * <td><tt>MCU</tt></td>
584 * <td>Name of the Atmel processor model (e.g. <tt>at90usb1287</tt>).</td>
587 * <td><tt>TARGET</tt></td>
588 * <td>Name of the application output file prefix (e.g. <tt>TestApplication</tt>).</td>
592 * \section SSec_BuildModule_DFU_OptionalParams Optional Parameters
596 * <td><i>None</i></td>
600 * \section SSec_BuildModule_DFU_ProvidedVariables Module Provided Variables
604 * <td><i>None</i></td>
608 * \section SSec_BuildModule_DFU_ProvidedMacros Module Provided Macros
612 * <td><i>None</i></td>
617 /** \page Page_BuildModule_DOXYGEN The DOXYGEN build module
619 * The DOXYGEN code documentation utility LUFA build system module, providing targets to generate
620 * project HTML and other format documentation from a set of source files that include special
623 * To use this module in your application makefile, add the following code:
625 * include $(LUFA_PATH)/Build/lufa_doxygen.mk
628 * \section SSec_BuildModule_DOXYGEN_Requirements Requirements
629 * This module requires the <tt>doxygen</tt> utility from the Doxygen website
630 * (<a>http://www.doxygen.org/</a>) to be available in your system's <b>PATH</b> variable. On *nix
631 * systems the <tt>doxygen</tt> utility can be installed via the project's source code or through
632 * the package manager.
634 * \section SSec_BuildModule_DOXYGEN_Targets Targets
638 * <td><tt>doxygen</tt></td>
639 * <td>Generate project documentation.</td>
642 * <td><tt>doxygen_create</tt></td>
643 * <td>Create a new Doxygen configuration file using the latest template.</td>
646 * <td><tt>doxygen_upgrade</tt></td>
647 * <td>Upgrade an existing Doxygen configuration file to the latest template</td>
651 * \section SSec_BuildModule_DOXYGEN_MandatoryParams Mandatory Parameters
655 * <td><tt>LUFA_PATH</tt></td>
656 * <td>Path to the LUFA library core, either relative or absolute (e.g. <tt>../LUFA-000000/LUFA/</tt>).</td>
660 * \section SSec_BuildModule_DOXYGEN_OptionalParams Optional Parameters
664 * <td><tt>DOXYGEN_CONF</tt></td>
665 * <td>Name and path of the base Doxygen configuration file for the project.</td>
668 * <td><tt>DOXYGEN_FAIL_ON_WARNING</tt></td>
669 * <td>Set to <b>Y</b> to fail the generation with an error exit code if warnings are found other than unsupported configuration parameters, <b>N</b> to continue without failing.</td>
672 * <td><tt>DOXYGEN_OVERRIDE_PARAMS</tt></td>
673 * <td>Extra Doxygen configuration parameters to apply, overriding the corresponding config entry in the project's configuration file (e.g. <tt>QUIET=YES</tt>).</td>
677 * \section SSec_BuildModule_DOXYGEN_ProvidedVariables Module Provided Variables
681 * <td><i>None</i></td>
685 * \section SSec_BuildModule_DOXYGEN_ProvidedMacros Module Provided Macros
689 * <td><i>None</i></td>
694 /** \page Page_BuildModule_HID The HID build module
696 * The HID programming utility LUFA build system module, providing targets to reprogram an
697 * Atmel processor's FLASH memory with a project's compiled binary output file. This module
698 * requires a HID class bootloader to be running in the target, using a protocol compatible
699 * with the PJRC "HalfKay" protocol (<a>http://www.pjrc.com/teensy/halfkay_protocol.html</a>).
701 * To use this module in your application makefile, add the following code:
703 * include $(LUFA_PATH)/Build/lufa_hid.mk
706 * \section SSec_BuildModule_HID_Requirements Requirements
707 * This module requires either the <tt>hid_bootloader_cli</tt> utility from the included LUFA HID
708 * class bootloader API subdirectory, or the <tt>teensy_loader_cli</tt> utility from PJRC
709 * (<a>http://www.pjrc.com/teensy/loader_cli.html</a>) to be available in your system's <b>PATH</b>
712 * \section SSec_BuildModule_HID_Targets Targets
716 * <td><tt>hid</tt></td>
717 * <td>Program the device FLASH memory with the application's executable data using <tt>hid_bootloader_cli</tt>.</td>
720 * <td><tt>hid-ee</tt></td>
721 * <td>Program the device EEPROM memory with the application's EEPROM data using <tt>hid_bootloader_cli</tt> and
722 * a temporary AVR application programmed into the target's FLASH.
723 * \note This will erase the currently loaded application in the target.</td>
726 * <td><tt>teensy</tt></td>
727 * <td>Program the device FLASH memory with the application's executable data using <tt>teensy_loader_cli</tt>.</td>
730 * <td><tt>teensy-ee</tt></td>
731 * <td>Program the device EEPROM memory with the application's EEPROM data using <tt>teensy_loader_cli</tt> and
732 * a temporary AVR application programmed into the target's FLASH.
733 * \note This will erase the currently loaded application in the target.</td>
737 * \section SSec_BuildModule_HID_MandatoryParams Mandatory Parameters
741 * <td><tt>MCU</tt></td>
742 * <td>Name of the Atmel processor model (e.g. <tt>at90usb1287</tt>).</td>
745 * <td><tt>TARGET</tt></td>
746 * <td>Name of the application output file prefix (e.g. <tt>TestApplication</tt>).</td>
750 * \section SSec_BuildModule_HID_OptionalParams Optional Parameters
754 * <td><i>None</i></td>
758 * \section SSec_BuildModule_HID_ProvidedVariables Module Provided Variables
762 * <td><i>None</i></td>
766 * \section SSec_BuildModule_HID_ProvidedMacros Module Provided Macros
770 * <td><i>None</i></td>
775 /** \page Page_BuildModule_SOURCES The SOURCES build module
777 * The SOURCES LUFA build system module, providing variables listing the various LUFA source files
778 * required to be build by a project for a given LUFA module. This module gives a way to reference
779 * LUFA source files symbollically, so that changes to the library structure do not break the library
782 * To use this module in your application makefile, add the following code:
784 * include $(LUFA_PATH)/Build/lufa_sources.mk
787 * \section SSec_BuildModule_SOURCES_Requirements Requirements
790 * \section SSec_BuildModule_SOURCES_Targets Targets
794 * <td><i>None</i></td>
798 * \section SSec_BuildModule_SOURCES_MandatoryParams Mandatory Parameters
802 * <td><tt>LUFA_PATH</tt></td>
803 * <td>Path to the LUFA library core, either relative or absolute (e.g. <tt>../LUFA-000000/LUFA/</tt>).</td>
806 * <td><tt>ARCH</tt></td>
807 * <td>Architecture of the target processor (see \ref Page_DeviceSupport).</td>
811 * \section SSec_BuildModule_SOURCES_OptionalParams Optional Parameters
815 * <td><i>None</i></td>
819 * \section SSec_BuildModule_SOURCES_ProvidedVariables Module Provided Variables
823 * <td><tt>LUFA_SRC_USB</tt></td>
824 * <td>List of LUFA USB driver source files.</td>
827 * <td><tt>LUFA_SRC_USBCLASS</tt></td>
828 * <td>List of LUFA USB Class driver source files.</td>
831 * <td><tt>LUFA_SRC_TEMPERATURE</tt></td>
832 * <td>List of LUFA temperature sensor driver source files.</td>
835 * <td><tt>LUFA_SRC_SERIAL</tt></td>
836 * <td>List of LUFA Serial U(S)ART driver source files.</td>
839 * <td><tt>LUFA_SRC_TWI</tt></td>
840 * <td>List of LUFA TWI driver source files.</td>
843 * <td><tt>LUFA_SRC_PLATFORM</tt></td>
844 * <td>List of LUFA architecture specific platform management source files.</td>
848 * \section SSec_BuildModule_SOURCES_ProvidedMacros Module Provided Macros
852 * <td><i>None</i></td>