Skip to content

Warn about a disagreeing Tab5 hint on the recovery-candidate path - #344

Merged
lovyan03 merged 1 commit into
m5stack:developfrom
ainyan03:tab5_candidate_warn
Oct 9, 2026
Merged

lovyan03 merged 1 commit into
m5stack:developfrom
ainyan03:tab5_candidate_warn

Conversation

@ainyan03

@ainyan03 ainyan03 commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #343. When the Tab5 IO expanders do not answer, the Tab5 / Tab5X recovery candidate chosen from the chip revision is what the caller uses, but only the confirmed path logged a saved hint that disagrees with the revision. Log it on the failed-confirm path as well.

Changes

  • One helper selects Tab5 / Tab5X from the chip revision, another logs a disagreeing Tab5 / Tab5X hint; signature() and confirm() share them.
  • No change in which board is chosen.

Tested

  • Tab5 (chip v1.0): detected as Tab5 with the display, as before.
  • Builds for the versions in the upstream CI. The failed-confirm path itself (IO expanders not answering) was reviewed in code only.

When the IO expanders do not answer, the Tab5 / Tab5X candidate chosen
from the chip revision is what the caller uses, but only the confirmed
path logged a saved hint that disagrees with the revision. Log it on the
failed-confirm path as well, through one helper shared with confirm().
@lovyan03
lovyan03 merged commit 328057a into m5stack:develop Oct 9, 2026
26 checks passed
@ainyan03
ainyan03 deleted the tab5_candidate_warn branch October 9, 2026 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants