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.7.tar.gz (39.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dtoc-0.0.7-py3-none-any.whl (41.5 kB view details)

Uploaded Python 3

File details

Details for the file dtoc-0.0.7.tar.gz.

File metadata

  • Download URL: dtoc-0.0.7.tar.gz
  • Upload date:
  • Size: 39.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for dtoc-0.0.7.tar.gz
Algorithm Hash digest
SHA256 340f7a0b39c8c63aa9c36224f0026926427f7a2fa4413094131c0582cb15f823
MD5 1479f46ed383a4379bc04630f950e475
BLAKE2b-256 e5e5fe8d36f6f1b5182bcc56cf91fa32560415d63f915ae64bbe7495af65f5a1

See more details on using hashes here.

File details

Details for the file dtoc-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: dtoc-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 41.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for dtoc-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 adbd6a1b2707a171bde18d1a84ce61877138d701ac9e3856a4d557608c95d634
MD5 c23241038d6f2309516e8c66f0374193
BLAKE2b-256 542ca03d5c015c20e595a3e3426337427e2576b3405200653b2bfc9394f1de0a

See more details on using hashes here.

Supported by

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