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

update the connection code to be flexible on the prompt characters #47

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

Conversation

RobertBlackhart
Copy link
Contributor

Fixes #30

The code will now look for 3 possible prompt values:

  • The >>> standard MicroPython prompt
  • The --> aiorepl prompt
  • Any custom prompt the user has set on sys.ps1

Here's a connection to a board with no customized prompt (same behavior as before the change):
image

Here's a connection to a board that has the aiorepl demo script in its main.py:
image

If ViperIDE detects the user has a custom prompt, it will log that fact:
image

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.

Errors when attempting connect to board running aiorepl
1 participant