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

Reworking the board connection mechanism #34

Open
vshymanskyy opened this issue Sep 17, 2024 · 0 comments
Open

Reworking the board connection mechanism #34

vshymanskyy opened this issue Sep 17, 2024 · 0 comments

Comments

@vshymanskyy
Copy link
Owner

vshymanskyy commented Sep 17, 2024

I think of reworking the board connection mechanism:

  1. Upon connection verify if user code is running (send Enter, see if REPL responds)
    • If REPL responds, automatically load system info and FS structure
  2. If no REPL responce, check if user have selected the Interrupt Running Code setting
    • If no interruption is needed, stay in Terminal mode, disable FS and Editor temporarily until the code exits or is interrupted by the developer
    • If interrupting is needed, interrupt code, load FS contents

Also, I think auto-restart setting would be useful, that would soft-reset board when:

  • initial connection interrupted the app execution
  • user saves any file

But before that, I want to play a bit with aiorepl: #30

👉 feedback is welcome 👈

@vshymanskyy vshymanskyy pinned this issue Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant