docs: document the code generation scripts (#7604)

Co-authored-by: Peter Feerick <5500713+pfeerick@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Peter Feerick
2026-08-12 07:26:28 +10:00
committed by GitHub
co-authored by Peter Feerick Claude Opus 5
parent b6e52f5ee3
commit 4822400fe2
4 changed files with 152 additions and 3 deletions
@@ -7,6 +7,11 @@ determine a precise mapping `attribute -> [bit address, bit length]`.
This is done by using `libclang` Python bindings to parse `ModelData` and `RadioData`
as well as related structures to compute precise bit-offsets for each attribute.
!!! note
This page covers the YAML parser generator in detail. See
[Code Generation](code-generation.md) for an overview of every generated file in
the tree and when each one needs regenerating.
## Generating YAML parsers for existing radios
As the Python script used only works for now with certain versions of libclang,