Skip to content
Commit b666262a authored by Jordan Yates's avatar Jordan Yates Committed by Johan Hedberg
Browse files

doc: _scripts: gen_devicetree_rest: extra folders



Add an option to specify particular folders to pull bindings from
when generating documentation. This is useful for downstream projects
that may want to document their own bindings, but don't want to pull in
every Zephyr binding.

This is not currently possible as almost every binding depends on
`base.yaml`, which exists in the Zephyr repository. This is now enabled
by adding the following to `DTS_ARGS` in the downstream `CMakeLists.txt`
file: `--dts-folder ${ZEPHYR_BASE}/dts/bindings/base`.

Signed-off-by: default avatarJordan Yates <jordan@embeint.com>
parent ae25d606
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment