Clean up DOXYGEN and SOURCES build system modules - use non-recursively evaluated...
[pub/USBasp.git] / LUFA / DoxygenPages / BuildSystem.txt
1 /** \file
2 *
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.
5 */
6
7 /** \page Page_BuildSystem The LUFA Build System
8 *
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
13 * one-another.
14 *
15 * To use a LUFA build system module, simply add an include to your project makefile:
16 * \code
17 * include $(LUFA_PATH)/Build/lufa.core.in
18 * \endcode
19 *
20 * And the associated build module targets will be added to your project's build makefile automatically.
21 * To call a build target, run <tt>make {TARGET_NAME}</tt> from the command line, substituting in
22 * the appropriate target name.
23 *
24 * \see \ref Sec_AppConfigParams for a copy of the sample LUFA project makefile.
25 *
26 * Each build module may have one or more mandatory parameters (GNU Make variables) which <i>must</i>
27 * be supplied in the project makefile for the module to work, and one or more optional parameters which
28 * may be defined and which will assume a sensible default if not.
29 *
30 * \section SSec_BuildSystemModules Available Modules
31 *
32 * The following modules are included in this LUFA release:
33 *
34 * \li \subpage Page_BuildModule_ATPROGRAM - Device Programming
35 * \li \subpage Page_BuildModule_AVRDUDE - Device Programming
36 * \li \subpage Page_BuildModule_BUILD - Compiling/Assembling/Linking
37 * \li \subpage Page_BuildModule_CORE - Core Build System Functions
38 * \li \subpage Page_BuildModule_CPPCHECK - Static Code Analysis
39 * \li \subpage Page_BuildModule_DFU - Device Programming
40 * \li \subpage Page_BuildModule_DOXYGEN - Automated Source Code Documentation
41 * \li \subpage Page_BuildModule_HID - Device Programming
42 * \li \subpage Page_BuildModule_SOURCES - LUFA Module Source Code Variables
43 */
44
45 /** \page Page_BuildModule_BUILD The BUILD build module
46 *
47 * The BUILD LUFA build system module, providing targets for the compilation,
48 * assembling and linking of an application from source code into binary files
49 * suitable for programming into a target device.
50 *
51 * To use this module in your application makefile, add the following code:
52 * \code
53 * include $(LUFA_PATH)/Build/lufa.build.in
54 * \endcode
55 *
56 * \section SSec_BuildModule_BUILD_Requirements Requirements
57 * This module requires the the architecture appropriate binaries of the GCC compiler are available in your
58 * system's <b>PATH</b> variable. The GCC compiler and associated toolchain is distributed in Atmel AVR Studio
59 * 5.x and Atmel Studio 6.x installation directories, as well as in many third party distribution packages.
60 *
61 * \section SSec_BuildModule_BUILD_Targets Targets
62 *
63 * <table>
64 * <tr>
65 * <td><tt>size</tt></td>
66 * <td>Display size of the compiled application FLASH and SRAM segments.</td>
67 * </tr>
68 * <tr>
69 * <td><tt>symbol-sizes</tt></td>
70 * <td>Display a size-sorted list of symbols from the compiled application, in decimal bytes.</td>
71 * </tr>
72 * <tr>
73 * <td><tt>check-source</tt></td>
74 * <td>Display a list of input SRC source files which cannot be found (if any).</td>
75 * </tr>
76 * <tr>
77 * <td><tt>lib</tt></td>
78 * <td>Build and archive all source files into a library A binary file.</td>
79 * </tr>
80 * <tr>
81 * <td><tt>all</tt></td>
82 * <td>Build and link the application into ELF debug and HEX binary files.</td>
83 * </tr>
84 * <tr>
85 * <td><tt>elf</tt></td>
86 * <td>Build and link the application into an ELF debug file.</td>
87 * </tr>
88 * <tr>
89 * <td><tt>hex</tt></td>
90 * <td>Build and link the application and produce HEX and EEP binary files.</td>
91 * </tr>
92 * <tr>
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>
95 * </tr>
96 * <tr>
97 * <td><tt>clean</tt></td>
98 * <td>Remove all intermediatary files and binary output files.</td>
99 * </tr>
100 * </table>
101 *
102 * \section SSec_BuildModule_BUILD_MandatoryParams Mandatory Parameters
103 *
104 * <table>
105 * <tr>
106 * <td><tt>TARGET</tt></td>
107 * <td>Name of the application output file prefix (e.g. <tt>TestApplication</tt>).</td>
108 * </tr>
109 * <tr>
110 * <td><tt>ARCH</tt></td>
111 * <td>Architecture of the target processor (see \ref Page_DeviceSupport).</td>
112 * </tr>
113 * <tr>
114 * <td><tt>MCU</tt></td>
115 * <td>Name of the Atmel processor model (e.g. <tt>at90usb1287</tt>).</td>
116 * </tr>
117 * <tr>
118 * <td><tt>SRC</tt></td>
119 * <td>List of relative or absolute paths to the application C (.c), C++ (.cpp) and Assembly (.S) source files.</td>
120 * </tr>
121 * <tr>
122 * <td><tt>F_USB</tt></td>
123 * <td>Speed in Hz of the input clock frequency to the target's USB controller.</td>
124 * </tr>
125 * <tr>
126 * <td><tt>LUFA_PATH</tt></td>
127 * <td>Path to the LUFA library core, either relative or absolute (e.g. <tt>../LUFA-000000/LUFA/</tt>).</td>
128 * </tr>
129 * </table>
130 *
131 * \section SSec_BuildModule_BUILD_OptionalParams Optional Parameters
132 *
133 * <table>
134 * <tr>
135 * <td><tt>BOARD</tt></td>
136 * <td>LUFA board hardware drivers to use (see \ref Page_DeviceSupport).</td>
137 * </tr>
138 * <tr>
139 * <td><tt>OPTIMIZATION</tt></td>
140 * <td>Optimization level to use when compiling source files (see GCC manual).</td>
141 * </tr>
142 * <tr>
143 * <td><tt>C_STANDARD</tt></td>
144 * <td>Version of the C standard to apply when compiling C++ source files (see GCC manual).</td>
145 * </tr>
146 * <tr>
147 * <td><tt>CPP_STANDARD</tt></td>
148 * <td>Version of the C++ standard to apply when compiling C++ source files (see GCC manual).</td>
149 * </tr>
150 * <tr>
151 * <td><tt>F_CPU</tt></td>
152 * <td>Speed of the processor CPU clock, in Hz.</td>
153 * </tr>
154 * <tr>
155 * <td><tt>C_FLAGS</tt></td>
156 * <td>Flags to pass to the C compiler only, after the automatically generated flags.</td>
157 * </tr>
158 * <tr>
159 * <td><tt>CPP_FLAGS</tt></td>
160 * <td>Flags to pass to the C++ compiler only, after the automatically generated flags.</td>
161 * </tr>
162 * <tr>
163 * <td><tt>ASM_FLAGS</tt></td>
164 * <td>Flags to pass to the assembler only, after the automatically generated flags.</td>
165 * </tr>
166 * <tr>
167 * <td><tt>CC_FLAGS</tt></td>
168 * <td>Common flags to pass to the compiler, assembler and linker, after the automatically generated flags.</td>
169 * </tr>
170 * <tr>
171 * <td><tt>LD_FLAGS</tt></td>
172 * <td>Flags to pass to the linker, after the automatically generated flags.</td>
173 * </tr>
174 * <tr>
175 * <td><tt>OBJDIR</tt></td>
176 * <td>Directory to place the generated object and dependency files. If set to "." the same folder as the source file will be used.
177 * \note When this option is enabled, all source filenames must be unique.</td>
178 * </tr>
179 * </table>
180 *
181 * \section SSec_BuildModule_BUILD_ProvideVariables Module Provided Variables
182 *
183 * <table>
184 * <tr>
185 * <td><i>None</i></td>
186 * </tr>
187 * </table>
188 *
189 * \section SSec_BuildModule_BUILD_ProvidedMacros Module Provided Macros
190 *
191 * <table>
192 * <tr>
193 * <td><i>None</i></td>
194 * </tr>
195 * </table>
196 */
197
198 /** \page Page_BuildModule_CORE The CORE build module
199 *
200 * The core LUFA build system module, providing common build system help and information targets.
201 *
202 * To use this module in your application makefile, add the following code:
203 * \code
204 * include $(LUFA_PATH)/Build/lufa.core.in
205 * \endcode
206 *
207 * \section SSec_BuildModule_CORE_Requirements Requirements
208 * This module has no requirements outside a standard *nix shell like environment; the <tt>sh</tt>
209 * shell, GNU <tt>make</tt> and *nix CoreUtils (<tt>echo</tt>, <tt>printf</tt>, etc.).
210 *
211 * \section SSec_BuildModule_CORE_Targets Targets
212 *
213 * <table>
214 * <tr>
215 * <td><tt>help</tt></td>
216 * <td>Display build system help and configuration information.</td>
217 * </tr>
218 * <tr>
219 * <td><tt>list_targets</tt></td>
220 * <td>List all available build targets from the build system.</td>
221 * </tr>
222 * <tr>
223 * <td><tt>list_modules</tt></td>
224 * <td>List all available build modules from the build system.</td>
225 * </tr>
226 * <tr>
227 * <td><tt>list_mandatory</tt></td>
228 * <td>List all mandatory parameters required by the included modules.</td>
229 * </tr>
230 * <tr>
231 * <td><tt>list_optional</tt></td>
232 * <td>List all optional parameters required by the included modules.</td>
233 * </tr>
234 * <tr>
235 * <td><tt>list_provided</tt></td>
236 * <td>List all variables provided by the included modules.</td>
237 * </tr>
238 * <tr>
239 * <td><tt>list_macros</tt></td>
240 * <td>List all macros provided by the included modules.</td>
241 * </tr>
242 * </table>
243 *
244 * \section SSec_BuildModule_CORE_MandatoryParams Mandatory Parameters
245 *
246 * <table>
247 * <tr>
248 * <td><i>None</i></td>
249 * </tr>
250 * </table>
251 *
252 * \section SSec_BuildModule_CORE_OptionalParams Optional Parameters
253 *
254 * <table>
255 * <tr>
256 * <td><i>None</i></td>
257 * </tr>
258 * </table>
259 *
260 * \section SSec_BuildModule_CORE_ProvideVariables Module Provided Variables
261 *
262 * <table>
263 * <tr>
264 * <td><i>None</i></td>
265 * </tr>
266 * </table>
267 *
268 * \section SSec_BuildModule_CORE_ProvidedMacros Module Provided Macros
269 *
270 * <table>
271 * <tr>
272 * <td><i>None</i></td>
273 * </tr>
274 * </table>
275 */
276
277 /** \page Page_BuildModule_ATPROGRAM The ATPROGRAM build module
278 *
279 * The ATPROGRAM programming utility LUFA build system module, providing targets to reprogram an
280 * Atmel processor FLASH and EEPROM memories with a project's compiled binary output files.
281 *
282 * To use this module in your application makefile, add the following code:
283 * \code
284 * include $(LUFA_PATH)/Build/lufa.atprogram.in
285 * \endcode
286 *
287 * \section SSec_BuildModule_ATPROGRAM_Requirements Requirements
288 * This module requires the <tt>atprogram.exe</tt> utility to be available in your system's <b>PATH</b>
289 * variable. The <tt>atprogram.exe</tt> utility is distributed in Atmel AVR Studio 5.x and Atmel Studio 6.x
290 * inside the application install folder's "\avrdbg" subdirectory.
291 *
292 * \section SSec_BuildModule_ATPROGRAM_Targets Targets
293 *
294 * <table>
295 * <tr>
296 * <td><tt>atprogram</tt></td>
297 * <td>Program the device FLASH memory with the application's executable data.</td>
298 * </tr>
299 * <tr>
300 * <td><tt>atprogram-ee</tt></td>
301 * <td>Program the device EEPROM memory with the application's EEPROM data.</td>
302 * </tr>
303 * </table>
304 *
305 * \section SSec_BuildModule_ATPROGRAM_MandatoryParams Mandatory Parameters
306 *
307 * <table>
308 * <tr>
309 * <td><tt>MCU</tt></td>
310 * <td>Name of the Atmel processor model (e.g. <tt>at90usb1287</tt>).</td>
311 * </tr>
312 * <tr>
313 * <td><tt>TARGET</tt></td>
314 * <td>Name of the application output file prefix (e.g. <tt>TestApplication</tt>).</td>
315 * </tr>
316 * </table>
317 *
318 * \section SSec_BuildModule_ATPROGRAM_OptionalParams Optional Parameters
319 *
320 * <table>
321 * <tr>
322 * <td><tt>ATPROGRAM_PROGRAMMER</tt></td>
323 * <td>Name of the Atmel programmer or debugger tool to communicate with (e.g. <tt>jtagice3</tt>).</td>
324 * </tr>
325 * <tr>
326 * <td><tt>ATPROGRAM_INTERFACE</tt></td>
327 * <td>Name of the programming interface to use when programming the target (e.g. <tt>spi</tt>).</td>
328 * </tr>
329 * <tr>
330 * <td><tt>ATPROGRAM_PORT</tt></td>
331 * <td>Name of the communication port to use when when programming with a serially connected tool (e.g. <tt>COM2</tt>).</td>
332 * </tr>
333 * </table>
334 *
335 * \section SSec_BuildModule_ATPROGRAM_ProvideVariables Module Provided Variables
336 *
337 * <table>
338 * <tr>
339 * <td><i>None</i></td>
340 * </tr>
341 * </table>
342 *
343 * \section SSec_BuildModule_ATPROGRAM_ProvidedMacros Module Provided Macros
344 *
345 * <table>
346 * <tr>
347 * <td><i>None</i></td>
348 * </tr>
349 * </table>
350 */
351
352 /** \page Page_BuildModule_AVRDUDE The AVRDUDE build module
353 *
354 * The AVRDUDE programming utility LUFA build system module, providing targets to reprogram an
355 * Atmel processor FLASH and EEPROM memories with a project's compiled binary output files.
356 *
357 * To use this module in your application makefile, add the following code:
358 * \code
359 * include $(LUFA_PATH)/Build/lufa.avrdude.in
360 * \endcode
361 *
362 * \section SSec_BuildModule_AVRDUDE_Requirements Requirements
363 * This module requires the <tt>avrdude</tt> utility to be available in your system's <b>PATH</b>
364 * variable. The <tt>avrdude</tt> utility is distributed in the old WinAVR project releases for
365 * Windows (<a>winavr.sourceforge.net</a>) or can be installed on *nix systems via the project's
366 * source code (<a>https://savannah.nongnu.org/projects/avrdude</a>) or through the package manager.
367 *
368 * \section SSec_BuildModule_AVRDUDE_Targets Targets
369 *
370 * <table>
371 * <tr>
372 * <td><tt>avrdude</tt></td>
373 * <td>Program the device FLASH memory with the application's executable data.</td>
374 * </tr>
375 * <tr>
376 * <td><tt>avrdude</tt></td>
377 * <td>Program the device EEPROM memory with the application's EEPROM data.</td>
378 * </tr>
379 * </table>
380 *
381 * \section SSec_BuildModule_AVRDUDE_MandatoryParams Mandatory Parameters
382 *
383 * <table>
384 * <tr>
385 * <td><tt>MCU</tt></td>
386 * <td>Name of the Atmel processor model (e.g. <tt>at90usb1287</tt>).</td>
387 * </tr>
388 * <tr>
389 * <td><tt>TARGET</tt></td>
390 * <td>Name of the application output file prefix (e.g. <tt>TestApplication</tt>).</td>
391 * </tr>
392 * </table>
393 *
394 * \section SSec_BuildModule_AVRDUDE_OptionalParams Optional Parameters
395 *
396 * <table>
397 * <tr>
398 * <td><tt>AVRDUDE_PROGRAMMER</tt></td>
399 * <td>Name of the programmer or debugger tool to communicate with (e.g. <tt>jtagicemkii</tt>).</td>
400 * </tr>
401 * <tr>
402 * <td><tt>ATPROGRAM_PORT</tt></td>
403 * <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>
404 * </tr>
405 * <tr>
406 * <td><tt>ATPROGRAM_FLAGS</tt></td>
407 * <td>Additional flags to pass to avrdude when programming, applied after the automatically generated flags.</td>
408 * </tr>
409 * </table>
410 *
411 * \section SSec_BuildModule_AVRDUDE_ProvideVariables Module Provided Variables
412 *
413 * <table>
414 * <tr>
415 * <td><i>None</i></td>
416 * </tr>
417 * </table>
418 *
419 * \section SSec_BuildModule_AVRDUDE_ProvidedMacros Module Provided Macros
420 *
421 * <table>
422 * <tr>
423 * <td><i>None</i></td>
424 * </tr>
425 * </table>
426 */
427
428 /** \page Page_BuildModule_CPPCHECK The CPPCHECK build module
429 *
430 * The CPPCHECK programming utility LUFA build system module, providing targets to statically
431 * analyze C and C++ source code for errors and performance/style issues.
432 *
433 * To use this module in your application makefile, add the following code:
434 * \code
435 * include $(LUFA_PATH)/Build/lufa.cppcheck.in
436 * \endcode
437 *
438 * \section SSec_BuildModule_CPPCHECK_Requirements Requirements
439 * This module requires the <tt>cppcheck</tt> utility to be available in your system's <b>PATH</b>
440 * variable. The <tt>cppcheck</tt> utility is distributed through the project's home page
441 * (<a>http://cppcheck.sourceforge.net</a>) for Windows, and can be installed on *nix systems via
442 * the project's source code or through the package manager.
443 *
444 * \section SSec_BuildModule_CPPCHECK_Targets Targets
445 *
446 * <table>
447 * <tr>
448 * <td><tt>cppcheck</tt></td>
449 * <td>Statically analyze the project source code for issues.</td>
450 * </tr>
451 * <tr>
452 * <td><tt>cppcheck-config</tt></td>
453 * <td>Check the <tt>cppcheck</tt> configuration - scan source code and warn about missing header files and other issues.</td>
454 * </tr>
455 * </table>
456 *
457 * \section SSec_BuildModule_CPPCHECK_MandatoryParams Mandatory Parameters
458 *
459 * <table>
460 * <tr>
461 * <td><tt>SRC</tt></td>
462 * <td>List of source files to statically analyze.</td>
463 * </tr>
464 * </table>
465 *
466 * \section SSec_BuildModule_CPPCHECK_OptionalParams Optional Parameters
467 *
468 * <table>
469 * <tr>
470 * <td><tt>CPPCHECK_INCLUDES</tt></td>
471 * <td>Path of extra directories to check when attemting to resolve C/C++ header file includes.</td>
472 * </tr>
473 * <tr>
474 * <td><tt>CPPCHECK_EXCLUDES</tt></td>
475 * <td>Paths or path fragments to exclude when analyzing.</td>
476 * </tr>
477 * <tr>
478 * <td><tt>CPPCHECK_MSG_TEMPLATE</tt></td>
479 * <td>Output message template to use when printing errors, warnings and information (see <tt>cppcheck</tt> documentation).</td>
480 * </tr>
481 * <tr>
482 * <td><tt>CPPCHECK_ENABLE</tt></td>
483 * <td>Analysis rule categories to enable (see <tt>cppcheck</tt> documentation).</td>
484 * </tr>
485 * <tr>
486 * <td><tt>CPPCHECK_SUPPRESS</tt></td>
487 * <td>Specific analysis rules to suppress (see <tt>cppcheck</tt> documentation).</td>
488 * </tr>
489 * <tr>
490 * <td><tt>CPPCHECK_FAIL_ON_WARNING</tt></td>
491 * <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>
492 * </tr>
493 * <tr>
494 * <td><tt>CPPCHECK_QUIET</tt></td>
495 * <td>Set to <b>Y</b> to suppress all output except warnings and errors, <b>N</b> to show verbose output information.</td>
496 * </tr>
497 * <tr>
498 * <td><tt>CPPCHECK_FLAGS</tt></td>
499 * <td>Extra flags to pass to <tt>cppcheck</tt>, after the automatically generated flags.</td>
500 * </tr>
501 * </table>
502 *
503 * \section SSec_BuildModule_CPPCHECK_ProvideVariables Module Provided Variables
504 *
505 * <table>
506 * <tr>
507 * <td><i>None</i></td>
508 * </tr>
509 * </table>
510 *
511 * \section SSec_BuildModule_CPPCHECK_ProvidedMacros Module Provided Macros
512 *
513 * <table>
514 * <tr>
515 * <td><i>None</i></td>
516 * </tr>
517 * </table>
518 */
519
520 /** \page Page_BuildModule_DFU The DFU build module
521 *
522 * The DFU programming utility LUFA build system module, providing targets to reprogram an
523 * Atmel processor FLASH and EEPROM memories with a project's compiled binary output files.
524 * This module requires a DFU class bootloader to be running in the target, compatible with
525 * the DFU bootloader protocol as published by Atmel.
526 *
527 * To use this module in your application makefile, add the following code:
528 * \code
529 * include $(LUFA_PATH)/Build/lufa.dfu.in
530 * \endcode
531 *
532 * \section SSec_BuildModule_DFU_Requirements Requirements
533 * This module requires either the <tt>batchisp</tt> utility from Atmel's FLIP utility, or the open
534 * source <tt>dfu-programmer</tt> utility (<a>http://dfu-programmer.sourceforge.net/</a>) to be
535 * available in your system's <b>PATH</b> variable. On *nix systems the <tt>dfu-programmer</tt> utility
536 * can be installed via the project's source code or through the package manager.
537 *
538 * \section SSec_BuildModule_DFU_Targets Targets
539 *
540 * <table>
541 * <tr>
542 * <td><tt>dfu</tt></td>
543 * <td>Program the device FLASH memory with the application's executable data using <tt>dfu-programmer</tt>.</td>
544 * </tr>
545 * <tr>
546 * <td><tt>dfu-ee</tt></td>
547 * <td>Program the device EEPROM memory with the application's EEPROM data using <tt>dfu-programmer</tt>.</td>
548 * </tr>
549 * <tr>
550 * <td><tt>flip</tt></td>
551 * <td>Program the device FLASH memory with the application's executable data using <tt>batchisp</tt>.</td>
552 * </tr>
553 * <tr>
554 * <td><tt>flip-ee</tt></td>
555 * <td>Program the device EEPROM memory with the application's EEPROM data using <tt>batchisp</tt>.</td>
556 * </tr>
557 * </table>
558 *
559 * \section SSec_BuildModule_DFU_MandatoryParams Mandatory Parameters
560 *
561 * <table>
562 * <tr>
563 * <td><tt>MCU</tt></td>
564 * <td>Name of the Atmel processor model (e.g. <tt>at90usb1287</tt>).</td>
565 * </tr>
566 * <tr>
567 * <td><tt>TARGET</tt></td>
568 * <td>Name of the application output file prefix (e.g. <tt>TestApplication</tt>).</td>
569 * </tr>
570 * </table>
571 *
572 * \section SSec_BuildModule_DFU_OptionalParams Optional Parameters
573 *
574 * <table>
575 * <tr>
576 * <td><i>None</i></td>
577 * </tr>
578 * </table>
579 *
580 * \section SSec_BuildModule_DFU_ProvideVariables Module Provided Variables
581 *
582 * <table>
583 * <tr>
584 * <td><i>None</i></td>
585 * </tr>
586 * </table>
587 *
588 * \section SSec_BuildModule_DFU_ProvidedMacros Module Provided Macros
589 *
590 * <table>
591 * <tr>
592 * <td><i>None</i></td>
593 * </tr>
594 * </table>
595 */
596
597 /** \page Page_BuildModule_DOXYGEN The DOXYGEN build module
598 *
599 * The DOXYGEN code documentation utility LUFA build system module, providing targets to generate
600 * project HTML and other format documentation from a set of source files that include special
601 * Doxygen comments.
602 *
603 * To use this module in your application makefile, add the following code:
604 * \code
605 * include $(LUFA_PATH)/Build/lufa.doxygen.in
606 * \endcode
607 *
608 * \section SSec_BuildModule_DOXYGEN_Requirements Requirements
609 * This module requires the <tt>doxygen</tt> utility from the Doxygen website
610 * (<a>http://www.stack.nl/~dimitri/doxygen/</a>) to be available in your system's <b>PATH</b>
611 * variable. On *nix systems the <tt>doxygen</tt> utility can be installed via the project's source
612 * code or through the package manager.
613 *
614 * \section SSec_BuildModule_DOXYGEN_Targets Targets
615 *
616 * <table>
617 * <tr>
618 * <td><tt>doxygen</tt></td>
619 * <td>Generate project documentation.</td>
620 * </tr>
621 * </table>
622 *
623 * \section SSec_BuildModule_DOXYGEN_MandatoryParams Mandatory Parameters
624 *
625 * <table>
626 * <tr>
627 * <td><tt>LUFA_PATH</tt></td>
628 * <td>Path to the LUFA library core, either relative or absolute (e.g. <tt>../LUFA-000000/LUFA/</tt>).</td>
629 * </tr>
630 * </table>
631 *
632 * \section SSec_BuildModule_DOXYGEN_OptionalParams Optional Parameters
633 *
634 * <table>
635 * <tr>
636 * <td><tt>DOXYGEN_CONF</tt></td>
637 * <td>Name and path of the base Doxygen configuration file for the project.</td>
638 * </tr>
639 * <tr>
640 * <td><tt>DOXYGEN_FAIL_ON_WARNING</tt></td>
641 * <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>
642 * </tr>
643 * <tr>
644 * <td><tt>DOXYGEN_OVERRIDE_PARAMS</tt></td>
645 * <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>
646 * </tr>
647 * </table>
648 *
649 * \section SSec_BuildModule_DOXYGEN_ProvideVariables Module Provided Variables
650 *
651 * <table>
652 * <tr>
653 * <td><i>None</i></td>
654 * </tr>
655 * </table>
656 *
657 * \section SSec_BuildModule_DOXYGEN_ProvidedMacros Module Provided Macros
658 *
659 * <table>
660 * <tr>
661 * <td><i>None</i></td>
662 * </tr>
663 * </table>
664 */
665
666 /** \page Page_BuildModule_HID The HID build module
667 *
668 * The HID programming utility LUFA build system module, providing targets to reprogram an
669 * Atmel processor's FLASH memory with a project's compiled binary output file. This module
670 * requires a HID class bootloader to be running in the target, using a protocol compatible
671 * with the PJRC "HalfKay" protocol (<a>http://www.pjrc.com/teensy/halfkay_protocol.html</a>).
672 *
673 * To use this module in your application makefile, add the following code:
674 * \code
675 * include $(LUFA_PATH)/Build/lufa.hid.in
676 * \endcode
677 *
678 * \section SSec_BuildModule_HID_Requirements Requirements
679 * This module requires either the <tt>hid_bootloader_cli</tt> utility from the included LUFA HID
680 * class bootloader API subdirectory, or the <tt>teensy_loader_cli</tt> utility from PJRC
681 * (<a>http://www.pjrc.com/teensy/loader_cli.html</a>) to be available in your system's <b>PATH</b>
682 * variable.
683 *
684 * \section SSec_BuildModule_HID_Targets Targets
685 *
686 * <table>
687 * <tr>
688 * <td><tt>hid</tt></td>
689 * <td>Program the device FLASH memory with the application's executable data using <tt>hid_bootloader_cli</tt>.</td>
690 * </tr>
691 * <tr>
692 * <td><tt>hid-teensy</tt></td>
693 * <td>Program the device FLASH memory with the application's executable data using <tt>teensy_loader_cli</tt>.</td>
694 * </tr>
695 * </table>
696 *
697 * \section SSec_BuildModule_HID_MandatoryParams Mandatory Parameters
698 *
699 * <table>
700 * <tr>
701 * <td><tt>MCU</tt></td>
702 * <td>Name of the Atmel processor model (e.g. <tt>at90usb1287</tt>).</td>
703 * </tr>
704 * <tr>
705 * <td><tt>TARGET</tt></td>
706 * <td>Name of the application output file prefix (e.g. <tt>TestApplication</tt>).</td>
707 * </tr>
708 * </table>
709 *
710 * \section SSec_BuildModule_HID_OptionalParams Optional Parameters
711 *
712 * <table>
713 * <tr>
714 * <td><i>None</i></td>
715 * </tr>
716 * </table>
717 *
718 * \section SSec_BuildModule_HID_ProvideVariables Module Provided Variables
719 *
720 * <table>
721 * <tr>
722 * <td><i>None</i></td>
723 * </tr>
724 * </table>
725 *
726 * \section SSec_BuildModule_HID_ProvidedMacros Module Provided Macros
727 *
728 * <table>
729 * <tr>
730 * <td><i>None</i></td>
731 * </tr>
732 * </table>
733 */
734
735 /** \page Page_BuildModule_SOURCES The SOURCES build module
736 *
737 * The SOURCES LUFA build system module, providing variables listing the various LUFA source files
738 * required to be build by a project for a given LUFA module. This module gives a way to reference
739 * LUFA source files symbollically, so that changes to the library structure do not break the library
740 * makefile.
741 *
742 * To use this module in your application makefile, add the following code:
743 * \code
744 * include $(LUFA_PATH)/Build/lufa.sources.in
745 * \endcode
746 *
747 * \section SSec_BuildModule_SOURCES_Requirements Requirements
748 * None.
749 *
750 * \section SSec_BuildModule_SOURCES_Targets Targets
751 *
752 * <table>
753 * <tr>
754 * <td><i>None</i></td>
755 * </tr>
756 * </table>
757 *
758 * \section SSec_BuildModule_SOURCES_MandatoryParams Mandatory Parameters
759 *
760 * <table>
761 * <tr>
762 * <td><tt>LUFA_PATH</tt></td>
763 * <td>Path to the LUFA library core, either relative or absolute (e.g. <tt>../LUFA-000000/LUFA/</tt>).</td>
764 * </tr>
765 * <tr>
766 * <td><tt>ARCH</tt></td>
767 * <td>Architecture of the target processor (see \ref Page_DeviceSupport).</td>
768 * </tr>
769 * </table>
770 *
771 * \section SSec_BuildModule_SOURCES_OptionalParams Optional Parameters
772 *
773 * <table>
774 * <tr>
775 * <td><i>None</i></td>
776 * </tr>
777 * </table>
778 *
779 * \section SSec_BuildModule_SOURCES_ProvideVariables Module Provided Variables
780 *
781 * <table>
782 * <tr>
783 * <td><tt>LUFA_SRC_USB</tt></td>
784 * <td>List of LUFA USB driver source files.</td>
785 * </tr>
786 * <tr>
787 * <td><tt>LUFA_SRC_USBCLASS</tt></td>
788 * <td>List of LUFA USB Class driver source files.</td>
789 * </tr>
790 * <tr>
791 * <td><tt>LUFA_SRC_TEMPERATURE</tt></td>
792 * <td>List of LUFA temperature sensor driver source files.</td>
793 * </tr>
794 * <tr>
795 * <td><tt>LUFA_SRC_SERIAL</tt></td>
796 * <td>List of LUFA Serial U(S)ART driver source files.</td>
797 * </tr>
798 * <tr>
799 * <td><tt>LUFA_SRC_TWI</tt></td>
800 * <td>List of LUFA TWI driver source files.</td>
801 * </tr>
802 * <tr>
803 * <td><tt>LUFA_SRC_PLATFORM</tt></td>
804 * <td>List of LUFA architecture specific platform management source files.</td>
805 * </tr>
806 * </table>
807 *
808 * \section SSec_BuildModule_SOURCES_ProvidedMacros Module Provided Macros
809 *
810 * <table>
811 * <tr>
812 * <td><i>None</i></td>
813 * </tr>
814 * </table>
815 */