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.0b1.tar.gz (116.7 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.0b1-py3-none-any.whl (126.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for dtsh-0.1.0b1.tar.gz
Algorithm Hash digest
SHA256 a08f3eab8d45829e315a9e67e7df6cc21114f5efcd9a6ec7b3504d400b4b687c
MD5 cc581252d9e172589fb0fb9b77852331
BLAKE2b-256 851deeaa0a2ee59bea2fba03d24f876329abd0c7976991354f86fe524c5f7f7b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for dtsh-0.1.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 add47586f8f35149f863353626bedf12acd79bfe7f86bf5dc65c85f51984b0d3
MD5 45f4393fb749519988355efe001d909f
BLAKE2b-256 c8b9f1845dca013a7281d8862e980be9157fc5b21ed91ceb90ccc5eabab0f963

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