Windrose

DTSh

dottspina · 76 GitHub stars

Interactive devicetree shell: navigate, search and export the DTS of your build with west dtsh.

DTSh

dottspina · 76 GitHub stars

Interactive devicetree shell: navigate, search and export the DTS of your build with west dtsh.

  • Follows branch zephyr: each west update will get its latest commits. To stay on one version, it is recommended to use a release tag.

Install

# From the workspace root
curl -fsSL https://kartben.github.io/windrose/m/dtsh.yaml \
     -o zephyr/submanifests/dtsh.yaml
west update dtsh
west packages -m dtsh pip --install

Details

Revision
zephyr
License
Apache-2.0
Maintainers
@dottspina
Last commit
6 mo ago
Includes
West commands, Python requirements

About

DTSh is an interactive DTS file viewer with a shell-like command line interface:

  • easily navigate and visualize the devicetree
  • find nodes based on e.g. supported bus protocols, bindings, generated IRQs, memory size, or keywords like "sensor" or "PWM"
  • redirect commands output to files (text, HTML, SVG) to document hardware configurations or simply take notes
  • contextual auto-completion, commands history, semantic highlighting, user profiles
  • script-able (aka batch modes)

This Zephyr module adds DTSh as a West extension to your Zephyr workspace.