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