Supplemental Web Site: Use Brightspace for assignments, deadlines, other course information, and assignment submission
ECE 486 Code Commenting Requirements (ALL labs)
Overview
All C code submitted for ECE 486 should be commented to support the use of
Doxygen to generate
documentation directly from the source code. From the
Doxygen www site:
"Doxygen is the de facto
standard tool for generating documentation from annotated C++ sources,
but it also supports other popular programming languages such as C,
Objective-C, C#, PHP, Java, Python, IDL (Corba and Microsoft flavors),
Fortran, VHDL, Tcl, and to some extent D."
Documentation Basics for ECE 486
Comment Block Templates
Compiling the Documentation
- You can use doxygen to generate a configuration file template using the "doxywizard" GUI, or (if you're old-school), run "doxygen -g" and then edit the generated "Doxyfile". Alternatively, you can download this Doxyfile which is close to what we'll use to browse your documentation and code. (This Doxyfile generates html documentation only.)
- Put the Doxyfile in the same directory as the source (or in a parent directory), and run "doxygen". A "doc" subdirectory should be created containing the generated documentation. (To view html documentation, open "index.html" in the "doc/html/" subdirectory.
Example
As one example, you might check the
documentation
for the libece486 library that you are using for the STM32F4-Discovery labs. Viewing the source
code for the various files in the library will show the doxygen comments used to generate
the documentation. (Use the "Files" tab in the documentation to find the source listings).
ECE-486
Digital Signal Processing
Spring 2022, MWF 12:00-12:50, Barrows 119