BuildingLinkableLibraries.txt 1.3 KB

1234567891011121314151617181920212223
  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. /** \page Page_BuildLibrary Building as a Linkable Library
  7. *
  8. * The LUFA library can be built as a proper linkable library (with the extension .a) under AVR-GCC, so that
  9. * the library does not need to be recompiled with each revision of a user project. Instructions for creating
  10. * a library from a given source tree can be found in the AVR-GCC user manual included in the WinAVR install
  11. * /Docs/ directory.
  12. *
  13. * However, building the library is <b>not recommended</b>, as the static (compile-time) options will be
  14. * unable to be changed without a recompilation of the LUFA code. Therefore, if the library is to be built
  15. * from the LUFA source, it should be made to be application-specific and compiled with the static options
  16. * that are required for each project (which should be recorded along with the library).
  17. *
  18. * Normal library use has the library components compiled in at the same point as the application code, as
  19. * demonstrated in the library demos and applications. This is the preferred method, as the library is recompiled
  20. * each time to ensure that all static options for a particular application are applied.
  21. */