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
Fix print of "soft reboot" when the user presses ^D #7652
Conversation
The logic of the main loop was changed between version 7 and 8. [Commit](9307b62) Something is wrong with the existing version 8 logic so the serial write of "soft reboot" is never executed when the user does a soft reboot. A consequence of this is that tools like `tools/pyboard.py`, `ampy` and `mpremote` are not able to activate the raw REPL since they execute a soft reboot and wait for this to be printed to the console.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi - a suggestion to try.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally. Thank for you for this fix! Couldyou change the base to 8.0.x
soit will get in the next stable 8.0.x release? We will have an 8.0.4 soon -- there is at least one other thing we want to fix on the stable line.
Shoot. I may have screwed that up by checking the "Copy the main branch only" checkbox when I created my CircuitPython fork. So I don't have the 8.0.x branch. I've been looking but I can't find how to add this branch to my fork after the fact. Do you know? |
I have found this more difficult recently, not sure why. |
Fix print of "soft reboot" when the user presses ^D
Fix print of "soft reboot" when the user presses ^D
8.0.x Backport of #7652 ("soft reboot" printing); update frozen libraries
The logic of the main loop was changed between version 7 and 8 (Commit). Something is wrong with the existing version 8 logic so the serial write of "soft reboot" is never executed when the user does a soft reboot.
A consequence of this is that tools like
tools/pyboard.py
,ampy
andmpremote
are not able to activate the raw REPL since they execute a soft reboot and wait for this to be printed to the console.