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

Add UART REPL library and example #603

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

alhirzel
Copy link

@alhirzel alhirzel commented Apr 2, 2018

I wrote up a quick ANSI parser that works via serial. It is useful to accept basic commands and saves having to parse the backspace/delete keys and the arrow keys. Future extension is likely depending on community feedback.

Two problems, I use fixed-length buffers and everything is on the stack. Would appreciate guidelines on how to better structure this. Also, one day it would be good to parse hotkeys (such as function keys); handling these would require two callbacks. I could use community feedback on this as well.

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