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

Wait for a keypress at the end of debug_stub #470

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

0xTJ
Copy link
Collaborator

@0xTJ 0xTJ commented Dec 24, 2024

This PR adds FW_INPUTCHAR and FW_CHECKINPUT (as well as their ..._C variants for symmetry) and blocks on FW_INPUTCHAR right before warmboot at the end of debug_stub.

With the second commit in the PR, there is a loop with FW_CHECKINPUT and FW_INPUTCHAR to clear the input buffer of pending characters before blocking with a final FW_INPUTCHAR.

This fixes #459.

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.

Debug stub needs to wait for keypress
1 participant