Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 18-Apr-2025 | - | ||||
test/ | 18-Apr-2025 | - | ||||
.gitignore | A D | 18-Apr-2025 | 6 | 2 | 1 | |
README.rst | A D | 18-Apr-2025 | 608 | 16 | 11 | |
__init__.py | A D | 18-Apr-2025 | 0 | 1 | 0 | |
dtb_platdata.py | A D | 18-Apr-2025 | 46.2 KiB | 1,230 | 1,000 | |
dtoc | A D | 18-Apr-2025 | 4.6 KiB | 127 | 92 | |
fdt.py | A D | 18-Apr-2025 | 26.9 KiB | 856 | 659 | |
fdt_util.py | A D | 18-Apr-2025 | 9.4 KiB | 332 | 271 | |
main.py | A D | 18-Apr-2025 | 4.6 KiB | 127 | 92 | |
pyproject.toml | A D | 18-Apr-2025 | 731 | 27 | 23 | |
setup.py | A D | 18-Apr-2025 | 376 | 13 | 10 | |
src_scan.py | A D | 18-Apr-2025 | 29.1 KiB | 767 | 602 | |
test_dtoc.py | A D | 18-Apr-2025 | 56.2 KiB | 1,857 | 1,608 | |
test_fdt | A D | 18-Apr-2025 | 32.7 KiB | 866 | 686 | |
test_fdt.py | A D | 18-Apr-2025 | 32.7 KiB | 866 | 686 | |
test_src_scan.py | A D | 18-Apr-2025 | 21.1 KiB | 623 | 509 |
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