Skip to main content

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.3): 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.

Download files

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

Source Distribution

dtsh-0.2.3.tar.gz (204.5 kB view details)

Uploaded Source

Built Distribution

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

dtsh-0.2.3-py3-none-any.whl (191.4 kB view details)

Uploaded Python 3

File details

Details for the file dtsh-0.2.3.tar.gz.

File metadata

  • Download URL: dtsh-0.2.3.tar.gz
  • Upload date:
  • Size: 204.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.18

File hashes

Hashes for dtsh-0.2.3.tar.gz
Algorithm Hash digest
SHA256 f7d67d1940b5fe86cfbc360fb19441cc99cbe35d19f96ff386cd5ab472213abc
MD5 3f7d390776d4d4a68c01eceff018e351
BLAKE2b-256 647e282d91b51bf82274f67f3dcd8c7ff34a4fddf4f9cb351933492979e5d4ea

See more details on using hashes here.

File details

Details for the file dtsh-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: dtsh-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 191.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.18

File hashes

Hashes for dtsh-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3bb6f54a85bfe67ba5fc28b6cb43fd27dd6e332ed9d70dfc2d6b6b21424542cf
MD5 d41e71b24b202b3d3a8de4f4cd9300cc
BLAKE2b-256 c62d8a19a91e206c4c165d0b8af1a68aa33439d4b08ba107a8261cad2d575527

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.5

2 files

0.2.4

2 files

0.2.3.1

2 files

This release

0.2.3 This release

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page