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.0a3): 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.0a3.tar.gz (57.6 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.0a3-py3-none-any.whl (66.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for dtsh-0.1.0a3.tar.gz
Algorithm Hash digest
SHA256 36bd3a00bdc95aca3aaa23de41cbd5ddebfa8f284f749d49f243d8be4dc90321
MD5 61608f1ad265c2edd184cb896e833ac6
BLAKE2b-256 f5eba514051f07b503122243d20d8acf7d21cdf3610c5caef5df48474a9f6686

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for dtsh-0.1.0a3-py3-none-any.whl
Algorithm Hash digest
SHA256 d83e8765d94913d7edf0660620ab52171b0052660e8319814ee05b95688cc63e
MD5 621bafba8972266749e0b7eff5ba63bf
BLAKE2b-256 ac8074c3a4f38fa8fa8d14c62770dab136875bcfc5d647e1c6a33f1597b2b731

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