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

feat(core/prodtest): Allow prodtest to exit from interactive mode #4607

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

kopecdav
Copy link

Add an option to exit from prodtest interactive mode with ".+ENTER" command.

If test script or test equipment connects to prodtest serial, it may happen that somebody already switched it to interactive mode before. To make it easier for it, it may switch back to non-interactive mode and don't deal with the colored responses etc.

Prodtest will confirm the exit command with OK in standard mode to be well machine readable.

@kopecdav kopecdav requested a review from cepetr February 11, 2025 11:55
@kopecdav kopecdav self-assigned this Feb 11, 2025
@kopecdav kopecdav requested a review from prusnak as a code owner February 11, 2025 11:55
Copy link

github-actions bot commented Feb 11, 2025

core UI changes device test click test persistence test
T2T1 Model T test(screens) main(screens) test(screens) main(screens) test(screens) main(screens)
T3B1 Safe 3 test(screens) main(screens) test(screens) main(screens) test(screens) main(screens)
T3T1 Safe 5 test(screens) main(screens) test(screens) main(screens) test(screens) main(screens)
All main(screens)

@kopecdav kopecdav removed the request for review from prusnak February 11, 2025 12:38
core/embed/rtl/cli.c Outdated Show resolved Hide resolved
@kopecdav kopecdav force-pushed the kopecdav/prodtest/cli_quit_interactive branch from 5a05b2b to 67a4ba0 Compare February 11, 2025 15:09
@kopecdav kopecdav force-pushed the kopecdav/prodtest/cli_quit_interactive branch from 67a4ba0 to 4fc9811 Compare February 12, 2025 07:25
@kopecdav kopecdav merged commit f1db0e6 into main Feb 12, 2025
94 checks passed
@kopecdav kopecdav deleted the kopecdav/prodtest/cli_quit_interactive branch February 12, 2025 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Approved
Development

Successfully merging this pull request may close these issues.

2 participants