Repository navigation
Add hw hardware-report CLI command (iteration branch)
#1
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
Open
ptr727
wants to merge
85
commits into
dev
Choose a base branch
from
work/hw-cli
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
85 commits
Select commit
Hold shift + click to select a range
1ae9d2a
RTC discovery: expose what the boot probe found
ptr727 2f5873e
Capture the reset cause at boot instead of consuming it
ptr727 e6a61a3
Add the `hw` CLI command: what hardware this firmware actually found
ptr727 06207ab
Document the `hw` command and what it will not infer
ptr727 6c3f0b1
Review round 1: stop three reports from claiming more than is known
ptr727 439277d
Review round 2: cover every I2C bus, and honour the documented usage …
ptr727 912670b
Document the I2C coverage guarantee and its one gap
ptr727 786b1a5
Review round 3: the empty-scan message claimed more than was known
ptr727 d84acfb
rak4631: declare the RTC descriptors so a fitted RAK12002 is used
ptr727 05c9c6b
Review round 4: reset per-candidate probe state on every probe
ptr727 1820b90
Hardware validation: two redundant fields in the summary
ptr727 b86ec0f
Review round 6: derive the bus string the way Zephyr names devices
ptr727 8dd7a83
Add the Heltec WiFi LoRa 32 V4-R8 board
ptr727 aecbc42
Companion CLI: mark a truncated reply instead of cutting it silently
ptr727 96bbb83
Review round 7: bound the resume marker, validate two snprintfs, fix …
ptr727 a897450
Review round 8: fix stale board identity in comments, and one I broke…
ptr727 50aa8b6
Review round 9: the summary was claiming a fact discovery never estab…
ptr727 7f93422
Review round 10: the docs contradicted themselves about scan coverage
ptr727 f1130d4
Review round 11: make the page-index ceiling match the comment explai…
ptr727 22b0f38
Review round 12: the scan could drop a present chip, under a comment …
ptr727 fe9b346
Restore the original line endings my edits had silently rewritten
ptr727 eed6c3a
Merge dev into work/hw-cli
ptr727 041cb82
hw: build against current dev, and drop a header-only scan line
ptr727 fcd0f20
hw: page to what the transport carries, and report only what is known
ptr727 1dd6dc8
rak4631: declare only the RAK12002 RTC, not every RTC candidate
ptr727 0aa6b62
hw: say autodiscovery is disabled only when something is declared
ptr727 24728a0
hw: move past a line too long for a whole page
ptr727 69001b7
hw rtc: absent only when nothing answered
ptr727 fa7dedd
docs: say what hw rtc's absent and present mean on each driver
ptr727 69ae19f
docs: correct where hw rtc's absent and present are ambiguous
ptr727 99f8cf8
rtc: reset the adopted chip with the rest of each probe's outcome
ptr727 4c8e906
hw: leave room for a local reply prefix in the companion frame
ptr727 581fe6c
rtc: do not adopt a chip on a status read that failed
ptr727 35ea3e2
Merge dev (upstream 5b77947) into work/hw-cli
ptr727 45729a5
hw i2c scan: stop a bus that times out instead of probing every address
ptr727 0aa174d
hw i2c scan: print what a stopped bus found before saying it stopped
ptr727 7a9d049
hw: dispatch only on the whole word, and say why a cut line sets no m…
ptr727 959cc96
hw: compile the report only where CommonCLI is, and say it is local o…
ptr727 a4fdb4a
hw gps: say a disabled GNSS node is disabled, not configured
ptr727 d0fd45f
hw gps: say the disabled check is the devicetree half of HAS_GPS_UART
ptr727 cf743ca
hw: mark a line longer than the render buffer as cut
ptr727 e1950de
hw: leave room for a local reply prefix on every role, not only compa…
ptr727 9f62d10
docs: list a bus that was not ready as an unprobed RTC case
ptr727 a097ab1
hw: answer a start index past the last line instead of an empty reply
ptr727 08c1ca4
Merge dev (upstream f9d01cf) into work/hw-cli
ptr727 515dd95
hw i2c scan: name every declaration at a shared address
ptr727 1dc07d6
Move the upstream defect fixes out of the hw CLI iteration branch
ptr727 7b090db
docs: say which RTC is adopted, and that hw sensors reads each sensor
ptr727 acbacfd
hw: make three header comments true of the code
ptr727 ff92086
hw: state the reply cap a caller passes, and drop a stale scan note
ptr727 ad70d15
docs: the RTC count with autodiscovery off, and the local prefix
ptr727 8585b87
Merge dev (108b96d) into work/hw-cli
ptr727 76a27a7
hw rtc: publish probe outcomes at the end; correct the merged docs
ptr727 14e6968
hw rtc: read discovery's outcome as one snapshot
ptr727 db69172
rtc: clear the RV3028 12-hour bit at boot
ptr727 2eb8a8e
t096: shared PWM brightness for the heartbeat/TX LED (unpersisted)
bb49aa1
t096: fold LED brightness into set/get leds instead of a new command
c8c456b
t096: split leds.brightness from leds on|off (final Option 1 syntax)
4905191
wt2: shared PWM brightness for the status LED (heartbeat/TX/flashes)
ec2a07d
leds: persist brightness across reboots and firmware updates
50ca150
board: extend TX/RX LED pin-share arbitration to PWM-shared boards
0a15194
board: wire V4.3's existing PWM LED node into the brightness/mode system
c92c9ff
leds: default brightness 100%, matching pre-existing hardware behavior
f04546d
prefs: encode led_brightness too, not just decode; fix pinned test la…
263171b
tests: sync catalog.json labels with f8a4992 prefs size bump
ad2e17e
prefs: move led_brightness after wifi_pwd; enable PWM in board.conf
5425ce8
cli: restore cliOnOff() for "set leds"
fc0723a
led: one shared PWM write helper, shorter comments
e5e927e
leds: drop unused esp32s3_pwm_led.conf, fix stale WT2 comment
6b9d205
leds: do not reclaim a PWM-shared pin as plain GPIO in main()
c1d2185
Merge pull request #106 from ptr727/rv3028-boot-24h
liquidraver 6acefe6
md updates
liquidraver 119d124
Merge pull request #79 from bisbille/pr-led-brightness-pwm
liquidraver c60b5e1
pwm cleanup
liquidraver 3518a4d
robot instructions update
liquidraver c69b3c6
md updates
liquidraver 1b3d378
enable MCU temp for ESP
liquidraver 5ac3156
observer lightsleep + companion opt-in
liquidraver 12eba39
add erase and reboot to observers
liquidraver e00b128
observer TLS fix
liquidraver 7dc00bb
west bump
liquidraver 75543d4
enable lightsleep for all
liquidraver 8bcc79c
Merge upstream dev (75543d4) into work/hw-cli
ptr727 c167178
hw: probe the I2C scan by reading, and trim to upstream's rules
ptr727 06de0ca
hw: drop the remaining impossible guards, reuse toHex, one I2C predicate
ptr727 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -89,3 +89,4 @@ __pycache__/ | |
| .DS_Store | ||
| Thumbs.db | ||
| desktop.ini | ||
| zephcore/lib/zcpfs/SPEC.md | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.