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

TODO: serial console #4

Open
robertlipe opened this issue Feb 11, 2021 · 0 comments
Open

TODO: serial console #4

robertlipe opened this issue Feb 11, 2021 · 0 comments

Comments

@robertlipe
Copy link
Owner

Current workarounds include the tiny display on longan nano and using gdb to p msgbuf on a crash or interrupt, but at time point we'll need to type things at the system and that needs input. Pick one or more options from:

SEGGER's version of SemiHosting
Use the real serial pins. (Abstract it to K210 and GD32V) Writing more tty drivers. Ugh.
For GD32V, I think we could treat it like a CDC(ACM) device so it would show up as a USB serial port. The libraries from GD are quite good, but that's a terrifying quantity of code to be spinning through that could be called pre-boot or during a panic handler,

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

No branches or pull requests

1 participant