u-boot/tools/dtoc
Tom Rini 2fc363c700 dtoc: Switch to setuptools
With the distutils module having been removed with Python 3.12, switch
to using setuptools instead.

Signed-off-by: Tom Rini <trini@konsulko.com>
2025-02-21 08:24:08 -06:00
..
test dtoc: Make properties dirty when purging them 2023-08-02 12:05:57 -06:00
.gitignore
__init__.py tools: Add init files for Python tools 2022-01-24 16:03:27 -05:00
dtb_platdata.py Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
dtoc dtoc: Rename the main module 2020-04-26 14:25:21 -06:00
fdt.py dtoc: Change dst to self in debug message 2024-01-04 16:48:00 -05:00
fdt_util.py tools: dtoc: Allow passing optional input directories 2024-12-19 09:10:34 -06:00
main.py dtoc: Move the main code into a function 2023-03-08 11:40:49 -08:00
pyproject.toml tools: Move python tools to version 0.0.6 2023-12-13 18:39:06 -05:00
README.rst dtoc: Add support for building a dtoc PyPi package 2023-03-08 11:40:49 -08:00
setup.py dtoc: Switch to setuptools 2025-02-21 08:24:08 -06:00
src_scan.py dtoc: avoid invalid escape sequence '\s' 2024-03-01 09:53:47 -05:00
test_dtoc.py Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
test_fdt dtoc: Add some tests for the fdt module 2018-07-09 09:11:00 -06:00
test_fdt.py fdt: Allow copying phandles into templates 2023-08-02 12:05:57 -06:00
test_src_scan.py patman: Move library functions into a library directory 2023-03-08 11:40:49 -08:00

.. SPDX-License-Identifier: GPL-2.0+

Devicetree-to-C generator
=========================

This is a Python program and associated utilities, which supports converting
devicetree files into C code. It generates header files containing struct
definitions, as well as C files containing the data. It does not require any
modification of the devicetree files.

Some high-level libraries are provided for working with devicetree. These may
be useful in other projects.

This package also includes some U-Boot-specific features, such as creating
`struct udevice` and `struct uclass` entries for devicetree nodes.