■ FIGURE 12. Doxygen_test compressed HTML Help file.
■ FIGURE 14. Individual
functions as .c files.
expand this to full
screen. This has the
same information in
it as the HTML files
but it is now all in
one file (half the
size of the original
html) and the Help
the HTML version
in a browser.
You now have
one simple way to
■ FIGURE 15. Verify that you’ve created the objects.
■ FIGURE 13. Add the .c files.
documents for your source code and you have an
introduction to a tool (doxygen) that has many other
features you may want to explore.
It might seem logical to keep a bunch of related
functions in a single text file like we do with SPI.c that
we used for our doxygen test. However, there is a
problem with this in that when we write a program that
only uses a few of the SPI functions, if we include the
entire SPI.c file, the compiler will create a single object
module for it and all the functions whether used or not
will get linked into our program, increasing our code
size unnecessarily. We don’t want that. We want to
■ FIGURE 16. Find the Command Prompt.