Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC — DtSh, shell-like interface with Devicetree #59863

Open
wants to merge 33 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
727f4b3
[dtsh 1/33] ci: RFC project setup
dottspina Aug 23, 2024
68d9ae9
[dtsh 2/33] dts: devicetree source definition
dottspina Aug 23, 2024
f12293d
[dtsh 3/33] model: devicetree model
dottspina Aug 23, 2024
ed48d5a
[dtsh 4/33] modelutils: devicetree model helpers
dottspina Aug 23, 2024
4ede917
[dtsh 5/33] config: devicetree shell configuration and data
dottspina Aug 23, 2024
c5a3c59
[dtsh 6/33] io: I/O streams for devicetree shells
dottspina Aug 23, 2024
359be64
[dtsh 7/33] rl: GNU Readline integration
dottspina Aug 23, 2024
7e0d9a9
[dtsh 8/33] shell: the devicetree shell
dottspina Aug 23, 2024
3d26961
[dtsh 9/33] autocomp: completion logic and base display callbacks
dottspina Aug 23, 2024
91f6c9f
[dtsh 10/33] shellutils: devicetree shell helpers
dottspina Aug 23, 2024
ac100bd
[dtsh 11/33] rich: theme: devicetree shell theme
dottspina Aug 23, 2024
13c92e0
[dtsh 12/33] rich: tui: rich console protocol
dottspina Aug 23, 2024
716350d
[dtsh 13/33] rich: text: text view factories and other helpers
dottspina Aug 23, 2024
17ad90b
[dtsh 14/33] rich: modelview: model to views
dottspina Aug 23, 2024
5d0cfdc
[dtsh 15/33] rich: svg: contents format for output redirection
dottspina Aug 23, 2024
a4b94c2
[dtsh 16/33] rich: io: rich I/O streams for devicetree shells
dottspina Aug 23, 2024
0fd2da1
[dtsh 17/33] rich: autocomp: rich auto-completion helper
dottspina Aug 23, 2024
c457c6a
[dtsh 18/33] rich: shellutils: helpers for formatted output
dottspina Aug 23, 2024
8a48ce9
[dtsh 19/33] builtin: pwd: print path of current working branch
dottspina Aug 23, 2024
eff1d3b
[dtsh 20/33] builtin: cd: change the current working branch
dottspina Aug 23, 2024
1ab0e86
[dtsh 21/33] builtin: ls: list branch contents
dottspina Aug 23, 2024
d7e856e
[dtsh 22/33] builtin: tree: list branches in tree-like format
dottspina Aug 23, 2024
12f1846
[dtsh 23/33] builtin: find: search branches for nodes
dottspina Aug 23, 2024
fb39c32
[dtsh 24/33] builtin: alias: list aliased nodes
dottspina Aug 23, 2024
31928cf
[dtsh 25/33] builtin: chosen: list chosen nodes
dottspina Aug 23, 2024
ab4af26
[dtsh 26/33] builtin: cat: concat and output info about a node
dottspina Aug 23, 2024
8ac0dd4
[dtsh 27/33] builtin: uname: print system information
dottspina Aug 23, 2024
84775d1
[dtsh 28/33] session: base devicetree shell session
dottspina Aug 23, 2024
853e4d3
[dtsh 29/33] rich: session: rich devicetree shell session
dottspina Aug 23, 2024
36a5a91
[dtsh 30/33] cli: devicetree shell CLI
dottspina Aug 23, 2024
6620471
[dtsh 31/33] west: dtsh integration as Zephyr West extension
dottspina Aug 23, 2024
1e8b87c
[dtsh 32/33] tests: initial unit test coverage
dottspina Aug 26, 2024
d86425f
[dtsh 33/33] doc: West command documentation, handbook
dottspina Aug 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3,584 changes: 3,584 additions & 0 deletions doc/develop/west/dtsh/handbook.rst

Large diffs are not rendered by default.

Binary file added doc/develop/west/dtsh/img/buses.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/develop/west/dtsh/img/catA.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/develop/west/dtsh/img/dts_ord_error.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
162 changes: 162 additions & 0 deletions doc/develop/west/dtsh/img/flash.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading