Commit c7bbc5f
"humility spi" should take an optional device + "humility doc" (#110)
This adds a device parameter to the "humility spi" command, allowing
for a CS other than that associated with device 0 to be used. By
default, the device is 0.
Broadly unrelated, this also adds a "humility doc" command that
provides more in-depth documentation for a specified command. This
documentation is provided in situ in the command itself in the form of
rustdoc, which is both used to create the input for the "humility doc"
command and to create the documentation in README.md. This also fixes
#15.
Note that "humility doc" requires the installation of "cargo-readme",
which in turn hit an annoying GH CI issue. Thank you @sunshowers
for pointing us in the right direction!
https://twitter.com/sunshowers6/status/1504174123005603841
Co-authored-by: Steve Klabnik <[email protected]>1 parent a561031 commit c7bbc5f
File tree
17 files changed
+680
-58
lines changed- .github
- buildomat/jobs
- workflows
- cmd
- doc
- src
- gpio/src
- probe/src
- sensors/src
- spi/src
- vsc7448/src
- humility-cmd/src
- src
17 files changed
+680
-58
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
25 | 29 | | |
26 | 30 | | |
27 | 31 | | |
| |||
41 | 45 | | |
42 | 46 | | |
43 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
44 | 52 | | |
45 | 53 | | |
46 | 54 | | |
| |||
61 | 69 | | |
62 | 70 | | |
63 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
64 | 76 | | |
65 | 77 | | |
66 | 78 | | |
| |||
82 | 94 | | |
83 | 95 | | |
84 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
85 | 101 | | |
86 | 102 | | |
87 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
55 | 60 | | |
56 | 61 | | |
57 | 62 | | |
| |||
62 | 67 | | |
63 | 68 | | |
64 | 69 | | |
| 70 | + | |
65 | 71 | | |
66 | 72 | | |
67 | 73 | | |
| |||
0 commit comments