Skip to content

Figures

Every figure on this site is drawn by a Python module from facts extracted from the code, so it is rebuilt, not redrawn, when the code changes. CI runs hardfoc-docs figures --check and fails when a committed figure no longer matches the code. Each figure below lists the files it is drawn from.

One umbrella, one submodule per chip

Layer diagram: board HALs and products build on hf-core, whose handlers use the device drivers in hf-core-drivers/external and the platform layer in hf-core-drivers/internal, which drive the chips.Layer diagram: board HALs and products build on hf-core, whose handlers use the device drivers in hf-core-drivers/external and the platform layer in hf-core-drivers/internal, which drive the chips.
One umbrella, one submodule per chip
Figure description and sources

From top to bottom. Board HALs and products build on hf-core, whose handlers adapt each driver to the platform. hf-core-drivers holds the device drivers under external/ (one per repository, names read from .gitmodules) and the platform layer under internal/. The drivers talk to the chips through interfaces that the platform layer implements for the MCU.

Drawn from: .gitmodules submodule paths; figure module docs/diagrams/figures/umbrella.py.

Figure module: docs/diagrams/figures/umbrella.py

Drawn from: