Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Author:

Chris Duf

dtsh is an interactive shell-like interface with a devicetree and its bindings:

  • browse the devicetree through a familiar hierarchical file-system metaphor

  • retrieve nodes and bindings with accustomed command names and command line syntax

  • generate simple documentation artifacts by redirecting commands output to files (text, HTML, SVG)

  • common command line interface paradigms (auto-completion, history) and keybindings

$ dtsh build/gzephyr/zephyr.dts
dtsh (0.1.0a4): Shell-like interface to a devicetree
Help: man dtsh
How to exit: q, or quit, or exit, or press Ctrl-D

/
> tree -L 1 -l
/
├──  chosen
├──  aliases
├──  soc
├──  pin-controller   The nRF pin controller is a singleton node responsible for controlling…
├──  entropy_bt_hci   Bluetooth module that uses Zephyr's Bluetooth Host Controller Interface as…
├──  cpus
├──  sw-pwm           nRFx S/W PWM
├──  leds             This allows you to define a group of LEDs. Each LED in the group is…
├──  pwmleds          PWM LEDs parent node
├──  buttons          GPIO KEYS parent node
├──  connector        GPIO pins exposed on Arduino Uno (R3) headers…
└──  analog-connector ADC channels exposed on Arduino Uno (R3) headers…

This software was created as a Proof of Concept for a:

  • simple tool that could assist newcomers to Zephyr in understanding what a devicetree is, and how bindings describe and constrain its content

  • an on hand DTS file viewer

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.1.0b2.tar.gz (116.8 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.1.0b2-py3-none-any.whl (126.5 kB view details)

Uploaded Python 3

File details

Details for the file dtsh-0.1.0b2.tar.gz.

File metadata

  • Download URL: dtsh-0.1.0b2.tar.gz
  • Upload date:
  • Size: 116.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for dtsh-0.1.0b2.tar.gz
Algorithm Hash digest
SHA256 4d3b1d7a66595e201186ef019effe75ed12a3ca8e4bdf94cd29dbf2a300a80e1
MD5 38851b163b860b6c7e9356149dffe7a1
BLAKE2b-256 5e84bd813d81b73da45cb1a5f61dfcdcc03da9045331ef0188236e895e723620

See more details on using hashes here.

File details

Details for the file dtsh-0.1.0b2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for dtsh-0.1.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 cb2dbf89f6f07cacd90ddbe3e936329d62af3fe116bc0c7f119323ffad544046
MD5 3fea382da799e7744f1b600464d9d556
BLAKE2b-256 b90d12983e2c6ac44eb17f9ce3782ec2b0fdcac327157b1eb6ab6f5904a9a692

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

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

This release

0.1.0b2 This release

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