Shell-like interface with Zephyr devicetree and bindings
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dtsh-0.1.0a6.tar.gz
.
File metadata
- Download URL: dtsh-0.1.0a6.tar.gz
- Upload date:
- Size: 114.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6637f4032679cdeaef0af36034f4c8c1941dfeebde0dcef08b9d7970e73ef4fd |
|
MD5 | a75ddb5bf83cbe8b3a6b2d1529d083c7 |
|
BLAKE2b-256 | 16f5cfd90fa6ba308b257a42c9ef1c2400907a29c04f70e488d032ea1ca3dee1 |
File details
Details for the file dtsh-0.1.0a6-py3-none-any.whl
.
File metadata
- Download URL: dtsh-0.1.0a6-py3-none-any.whl
- Upload date:
- Size: 123.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e873beae0f5d32b1cc2b03133c8870c61174cd77389077a968ffc2729c142138 |
|
MD5 | f14897b75734bb496ad6f925b2c28966 |
|
BLAKE2b-256 | 5c7f18bf5a75979da8690f15749352f1cdf3aa377811d68ea5cb4f9b3a3be2e3 |