- * To use a LUFA build system module, simply add an include to your project makefile. All user projects\r
- * should at a minimum include \ref Page_BuildModule_CORE for base functionality:\r
- * \code\r
- * include $(LUFA_PATH)/Build/lufa_core.mk\r
- * \endcode\r
- *\r
- * Once included in your project makefile, the associated build module targets will be added to your\r
- * project's build makefile targets automatically. To call a build target, run <tt>make {TARGET_NAME}</tt>\r
- * from the command line, substituting in the appropriate target name.\r
- *\r
- * \see \ref Sec_AppMakefileParams for a copy of the sample LUFA project makefile.\r
- *\r
- * Each build module may have one or more mandatory parameters (GNU Make variables) which <i>must</i>\r
- * be supplied in the project makefile for the module to work, and one or more optional parameters which\r
- * may be defined and which will assume a sensible default if not.\r
- *\r
- * \section SSec_BuildSystemModules Available Modules\r
- *\r
- * The following modules are included in this LUFA release:\r
- *\r
- * \li \subpage Page_BuildModule_ATPROGRAM - Device Programming\r
- * \li \subpage Page_BuildModule_AVRDUDE - Device Programming\r
- * \li \subpage Page_BuildModule_BUILD - Compiling/Assembling/Linking\r
- * \li \subpage Page_BuildModule_CORE - Core Build System Functions\r
- * \li \subpage Page_BuildModule_CPPCHECK - Static Code Analysis\r
- * \li \subpage Page_BuildModule_DFU - Device Programming\r
- * \li \subpage Page_BuildModule_DOXYGEN - Automated Source Code Documentation\r
- * \li \subpage Page_BuildModule_HID - Device Programming\r
- * \li \subpage Page_BuildModule_SOURCES - LUFA Module Source Code Variables\r
- *\r
- * If you have problems building using the LUFA build system, see \subpage Page_BuildTroubleshooting for resolution steps.\r
- */\r
-\r
- /** \page Page_BuildModule_BUILD The BUILD build module\r
- *\r
- * The BUILD LUFA build system module, providing targets for the compilation,\r
- * assembling and linking of an application from source code into binary files\r
- * suitable for programming into a target device, using the GCC compiler.\r
- *\r
- * To use this module in your application makefile, add the following code:\r
- * \code\r
- * include $(LUFA_PATH)/Build/lufa_build.mk\r
- * \endcode\r
- *\r
- * \section SSec_BuildModule_BUILD_Requirements Requirements\r
- * This module requires the the architecture appropriate binaries of the GCC compiler are available in your\r
- * system's <b>PATH</b> variable. The GCC compiler and associated toolchain is distributed in Atmel AVR Studio\r
- * 5.x and Atmel Studio 6.x installation directories, as well as in many third party distribution packages.\r
- *\r
- * \section SSec_BuildModule_BUILD_Targets Targets\r
- *\r
- * <table>\r
- * <tr>\r
- * <td><tt>size</tt></td>\r
- * <td>Display size of the compiled application FLASH and SRAM segments.</td>\r
- * </tr>\r
- * <tr>\r
- * <td><tt>symbol-sizes</tt></td>\r
- * <td>Display a size-sorted list of symbols from the compiled application, in decimal bytes.</td>\r
- * </tr>\r
- * <tr>\r
- * <td><tt>lib</tt></td>\r
- * <td>Build and archive all source files into a library A binary file.</td>\r
- * </tr>\r
- * <tr>\r
- * <td><tt>all</tt></td>\r
- * <td>Build and link the application into ELF debug and HEX binary files.</td>\r
- * </tr>\r
- * <tr>\r
- * <td><tt>elf</tt></td>\r
- * <td>Build and link the application into an ELF debug file.</td>\r
- * </tr>\r
- * <tr>\r
- * <td><tt>bin</tt></td>\r
- * <td>Build and link the application and produce a BIN binary file.</td>\r
- * </tr>\r
- * <tr>\r
- * <td><tt>hex</tt></td>\r
- * <td>Build and link the application and produce HEX and EEP binary files.</td>\r
- * </tr>\r
- * <tr>\r
- * <td><tt>lss</tt></td>\r
- * <td>Build and link the application and produce a LSS source code/assembly code mixed listing file.</td>\r
- * </tr>\r
- * <tr>\r
- * <td><tt>clean</tt></td>\r
- * <td>Remove all intermediary files and binary output files.</td>\r
- * </tr>\r
- * <tr>\r
- * <td><tt>mostlyclean</tt></td>\r
- * <td>Remove all intermediary files but preserve any binary output files.</td>\r
- * </tr>\r
- * <tr>\r
- * <td><tt><i><filename></i>.s</tt></td>\r
- * <td>Create an assembly listing of a given input C/C++ source file.</td>\r
- * </tr>\r
- * </table>\r
- *\r
- * \section SSec_BuildModule_BUILD_MandatoryParams Mandatory Parameters\r
- *\r
- * <table>\r
- * <tr>\r
- * <td><tt>TARGET</tt></td>\r
- * <td>Name of the application output file prefix (e.g. <tt>TestApplication</tt>).</td>\r
- * </tr>\r
- * <tr>\r
- * <td><tt>ARCH</tt></td>\r
- * <td>Architecture of the target processor (see \ref Page_DeviceSupport).</td>\r
- * </tr>\r
- * <tr>\r
- * <td><tt>MCU</tt></td>\r
- * <td>Name of the Atmel processor model (e.g. <tt>at90usb1287</tt>).</td>\r
- * </tr>\r
- * <tr>\r
- * <td><tt>SRC</tt></td>\r
- * <td>List of relative or absolute paths to the application C (.c), C++ (.cpp) and Assembly (.S) source files.</td>\r
- * </tr>\r
- * <tr>\r
- * <td><tt>F_USB</tt></td>\r
- * <td>Speed in Hz of the input clock frequency to the target's USB controller.</td>\r
- * </tr>\r
- * <tr>\r
- * <td><tt>LUFA_PATH</tt></td>\r
- * <td>Path to the LUFA library core, either relative or absolute (e.g. <tt>../LUFA-000000/LUFA/</tt>).</td>\r
- * </tr>\r
- * </table>\r
- *\r
- * \section SSec_BuildModule_BUILD_OptionalParams Optional Parameters\r
- *\r
- * <table>\r
- * <tr>\r
- * <td><tt>BOARD</tt></td>\r
- * <td>LUFA board hardware drivers to use (see \ref Page_DeviceSupport).</td>\r
- * </tr>\r
- * <tr>\r
- * <td><tt>OPTIMIZATION</tt></td>\r
- * <td>Optimization level to use when compiling source files (see GCC manual).</td>\r
- * </tr>\r
- * <tr>\r
- * <td><tt>C_STANDARD</tt></td>\r
- * <td>Version of the C standard to apply when compiling C++ source files (see GCC manual).</td>\r
- * </tr>\r
- * <tr>\r
- * <td><tt>CPP_STANDARD</tt></td>\r
- * <td>Version of the C++ standard to apply when compiling C++ source files (see GCC manual).</td>\r
- * </tr>\r
- * <tr>\r
- * <td><tt>DEBUG_FORMAT</tt></td>\r
- * <td>Format of the debug information to embed in the generated object files (see GCC manual).</td>\r
- * </tr>\r
- * <tr>\r
- * <td><tt>DEBUG_LEVEL</tt></td>\r
- * <td>Level of the debugging information to embed in the generated object files (see GCC manual).</td>\r
- * </tr>\r
- * <tr>\r
- * <td><tt>F_CPU</tt></td>\r
- * <td>Speed of the processor CPU clock, in Hz.</td>\r
- * </tr>\r
- * <tr>\r
- * <td><tt>C_FLAGS</tt></td>\r
- * <td>Flags to pass to the C compiler only, after the automatically generated flags.</td>\r
- * </tr>\r
- * <tr>\r
- * <td><tt>CPP_FLAGS</tt></td>\r
- * <td>Flags to pass to the C++ compiler only, after the automatically generated flags.</td>\r
- * </tr>\r
- * <tr>\r
- * <td><tt>ASM_FLAGS</tt></td>\r
- * <td>Flags to pass to the assembler only, after the automatically generated flags.</td>\r
- * </tr>\r
- * <tr>\r
- * <td><tt>CC_FLAGS</tt></td>\r
- * <td>Common flags to pass to the C/C++ compiler and assembler, after the automatically generated flags.</td>\r
- * </tr>\r
- * <tr>\r
- * <td><tt>LD_FLAGS</tt></td>\r
- * <td>Flags to pass to the linker, after the automatically generated flags.</td>\r
- * </tr>\r
- * <tr>\r
- * <td><tt>LINKER_RELAXATIONS</tt></td>\r
- * <td>Enables or disables linker relaxations when linking the application binary. This can reduce the total size\r
- * of the application by replacing full \c CALL instructions with smaller \c RCALL instructions where possible.\r
- * \note On some unpatched versions of binutils, this can cause link failures in some circumstances. If you\r
- * receive a link error <tt>relocation truncated to fit: R_AVR_13_PCREL</tt>, disable this setting.</td>\r
- * </tr>\r
- * <tr>\r
- * <td><tt>OBJDIR</tt></td>\r
- * <td>Directory to place the generated object and dependency files. If set to "." the same folder as the source file will be used.\r
- * \note When this option is enabled, all source filenames <b>must</b> be unique.</td>\r
- * </tr>\r
- * <tr>\r
- * <td><tt>OBJECT_FILES</tt></td>\r
- * <td>List of additional object files that should be linked into the resulting binary.</td>\r
- * </tr>\r
- * </table>\r
- *\r
- * \section SSec_BuildModule_BUILD_ProvidedVariables Module Provided Variables\r
- *\r
- * <table>\r
- * <tr>\r
- * <td><i>None</i></td>\r
- * </tr>\r
- * </table>\r
- *\r
- * \section SSec_BuildModule_BUILD_ProvidedMacros Module Provided Macros\r
- *\r
- * <table>\r
- * <tr>\r
- * <td><i>None</i></td>\r
- * </tr>\r
- * </table>\r
- */\r
-\r
-/** \page Page_BuildModule_CORE The CORE build module\r
- *\r
- * The core LUFA build system module, providing common build system help and information targets.\r
- *\r
- * To use this module in your application makefile, add the following code:\r
- * \code\r
- * include $(LUFA_PATH)/Build/lufa_core.mk\r
- * \endcode\r
- *\r
- * \section SSec_BuildModule_CORE_Requirements Requirements\r
- * This module has no requirements outside a standard *nix shell like environment; the <tt>sh</tt>\r
- * shell, GNU <tt>make</tt> and *nix CoreUtils (<tt>echo</tt>, <tt>printf</tt>, etc.).\r
- *\r
- * \section SSec_BuildModule_CORE_Targets Targets\r
- *\r
- * <table>\r
- * <tr>\r
- * <td><tt>help</tt></td>\r
- * <td>Display build system help and configuration information.</td>\r
- * </tr>\r
- * <tr>\r
- * <td><tt>list_targets</tt></td>\r
- * <td>List all available build targets from the build system.</td>\r
- * </tr>\r
- * <tr>\r
- * <td><tt>list_modules</tt></td>\r
- * <td>List all available build modules from the build system.</td>\r
- * </tr>\r
- * <tr>\r
- * <td><tt>list_mandatory</tt></td>\r
- * <td>List all mandatory parameters required by the included modules.</td>\r
- * </tr>\r
- * <tr>\r
- * <td><tt>list_optional</tt></td>\r
- * <td>List all optional parameters required by the included modules.</td>\r
- * </tr>\r
- * <tr>\r
- * <td><tt>list_provided</tt></td>\r
- * <td>List all variables provided by the included modules.</td>\r
- * </tr>\r
- * <tr>\r
- * <td><tt>list_macros</tt></td>\r
- * <td>List all macros provided by the included modules.</td>\r
- * </tr>\r
- * </table>\r