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.

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.0a4.tar.gz (62.2 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.0a4-py3-none-any.whl (72.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dtsh-0.1.0a4.tar.gz
  • Upload date:
  • Size: 62.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for dtsh-0.1.0a4.tar.gz
Algorithm Hash digest
SHA256 cdde9be548e8a7c1f64a121b163197633afc618759fb2d75b1239073c1f5f513
MD5 271af6533fe8961832b64d0f87afcb70
BLAKE2b-256 a9090944630da402ed5f6701dad0bab7c3f14a3a403073a16fa06d0422d59028

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dtsh-0.1.0a4-py3-none-any.whl
  • Upload date:
  • Size: 72.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for dtsh-0.1.0a4-py3-none-any.whl
Algorithm Hash digest
SHA256 a40dfd19fa272169f0d1c4113a5cba5fe76aa8e7a0b0de91f75035d7eb77f82f
MD5 7bd22d8c7b3904e507766871085aed31
BLAKE2b-256 f0b6ecb1512c976677a65d1256355892a3c206d81b60b42f24b1b18ea2128e4f

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.0a4 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