Skip to main content

Devicetree-to-C generator

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dtoc-0.0.4.tar.gz (39.4 kB view hashes)

Uploaded Source

Built Distribution

dtoc-0.0.4-py3-none-any.whl (41.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page