Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 19-Aug-2025 | - | ||||
test/ | 19-Aug-2025 | - | ||||
.gitignore | A D | 19-Aug-2025 | 6 | 2 | 1 | |
README.rst | A D | 19-Aug-2025 | 608 | 16 | 11 | |
__init__.py | A D | 19-Aug-2025 | 0 | 1 | 0 | |
dtb_platdata.py | A D | 19-Aug-2025 | 46.1 KiB | 1,227 | 997 | |
dtoc | A D | 19-Aug-2025 | 4.6 KiB | 128 | 93 | |
fdt.py | A D | 19-Aug-2025 | 32.4 KiB | 1,007 | 774 | |
fdt_util.py | A D | 19-Aug-2025 | 9.5 KiB | 335 | 274 | |
main.py | A D | 19-Aug-2025 | 4.6 KiB | 128 | 93 | |
pyproject.toml | A D | 19-Aug-2025 | 734 | 27 | 23 | |
setup.py | A D | 19-Aug-2025 | 372 | 13 | 10 | |
src_scan.py | A D | 19-Aug-2025 | 29.1 KiB | 767 | 602 | |
test_dtoc.py | A D | 19-Aug-2025 | 56.1 KiB | 1,855 | 1,606 | |
test_fdt | A D | 19-Aug-2025 | 37.7 KiB | 1,003 | 779 | |
test_fdt.py | A D | 19-Aug-2025 | 37.7 KiB | 1,003 | 779 | |
test_src_scan.py | A D | 19-Aug-2025 | 21 KiB | 624 | 510 |
README.rst
1.. SPDX-License-Identifier: GPL-2.0+ 2 3Devicetree-to-C generator 4========================= 5 6This is a Python program and associated utilities, which supports converting 7devicetree files into C code. It generates header files containing struct 8definitions, as well as C files containing the data. It does not require any 9modification of the devicetree files. 10 11Some high-level libraries are provided for working with devicetree. These may 12be useful in other projects. 13 14This package also includes some U-Boot-specific features, such as creating 15`struct udevice` and `struct uclass` entries for devicetree nodes. 16