Firmware (Source)

Reference of the firmware source, generated from the documentation comments in src/: every file’s purpose, and every function’s behaviour, arguments and return value. The comments are written in the Google style (Args: / Returns:) and extracted with Hawkmoth, which parses the sources with libclang using the firmware’s own flags (freestanding GNU C23 for mipsel). Hawkmoth only reads the code; the firmware itself is built with GCC.

The assembly files, boot.S and vectors.S of each BVNC, cannot be parsed; their comments are extracted by a small directive in conf.py and shown on the page boot.S and vectors.S — Assembly.

For how the pieces fit together, see Firmware (Overview).