Skip to content

Improve reboot and enter REPL reliability#34

Open
tschundler wants to merge 2 commits intoadafruit:masterfrom
tschundler:master
Open

Improve reboot and enter REPL reliability#34
tschundler wants to merge 2 commits intoadafruit:masterfrom
tschundler:master

Conversation

@tschundler
Copy link
Copy Markdown

The previous code did not work when the microcontroller is already in REPL mode, and soft reboot did not work at all with latest CircuitPython.

Tested with RP2040 Feather

The previous code did not work when the microcontroller is already in REPL mode, and soft reboot did not work at all with latest CircuitPython.
raise BoardError(f"cannot write to board: {serial_error}")


def read_until(self, msg):
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could remove this, or make it into read_until(self, *msgs)

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.

1 participant