DTSh
DTSh is a Devicetree Source (DTS) files viewer with a shell-like command line interface:
navigate and visualize the devicetree
search for devices, bindings, buses or interrupts with flexible criteria
redirect command output to files (text, HTML, SVG) to document hardware configurations or illustrate notes
rich Textual User Interface, command line auto-completion, command history, user themes
$ dtsh build/zephyr/zephyr.dts
dtsh (0.2.5): A Devicetree Shell
How to exit: q, or quit, or exit, or press Ctrl-D
/
> cd &flash_controller
/soc/flash-controller@4001e000
> tree -l
Description
─────────────────────────────────────────────────────────────────
flash-controller@4001e000 Nordic NVMC (Non-Volatile Memory Controller)
└── flash@0 Flash node
└── partitions This binding is used to describe fixed partitions of a flash (or…
├── partition@0 Each child node of the fixed-partitions node represents…
├── partition@c000 Each child node of the fixed-partitions node represents…
├── partition@82000 Each child node of the fixed-partitions node represents…
└── partition@f8000 Each child node of the fixed-partitions node represents…
You can use it with:
all DTS files generated by Zephyr at build-time (aka build/zephyr/zephyr.dts)
arbitrary DTS files with bindings compatible with Zephyr’s Devicetre bindings syntax
Status
DTSh 0.2.x mirror and package the code base that serves as a proposal to upstream DTSh as a new Zephyr extension to West: RFC - DTSh, shell-like interface with Devicetree
This is the stable and maintained branch: if you have DTSh 0.1.x installed, please upgrade with e.g. pip install -U dtsh.
Please refer to the DTSh project documentation.
Metadata
Release files for dtsh 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dtsh-0.2.5.tar.gz | 225.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dtsh-0.2.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 438.0 kB
Release files / dtsh-0.2.5.tar.gz
| Download URL | dtsh-0.2.5.tar.gz |
|---|---|
| Size | 225.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
463610b32a25c3fe6de6de5d3a8e735413bdaaf7202f3392c3fef359d8427a8c
|
|
BLAKE2b-256 checksum How to use checksums |
26facf99439597b005bb3944472ebfc1d63983c443e6941a6bfe6ac230e5e87f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.11
|
Release files / dtsh-0.2.5-py3-none-any.whl
| Download URL | dtsh-0.2.5-py3-none-any.whl |
|---|---|
| Size | 212.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
83e95b1d75548116683462db8159f97ca1d002e6b53a5ed823ce7495cfa0836d
|
|
BLAKE2b-256 checksum How to use checksums |
40ff49fa45265a9541befe4abf44047299b1c4a01bf3dbbc16a94e6ef5c19cd6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.11
|