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

Debug section should talk about opening a terminal #3

Open
mykz-cy opened this issue Sep 15, 2023 · 0 comments
Open

Debug section should talk about opening a terminal #3

mykz-cy opened this issue Sep 15, 2023 · 0 comments

Comments

@mykz-cy
Copy link

mykz-cy commented Sep 15, 2023

With this code example you cannot go past several printf until the buffer gets full - you need to have the terminal enabled, because the HAL enables flow control. Frustration of a newbie guaranteed.
Steps to repro:

  1. DO not connect terminal
  2. Start step over from the beginning of main in either Eclipse and VSCode
  3. observe the problem - you get stuck at some point after few uart calls.
  4. change hal init uart call to have NC instead of flow control and observe the problem is gone. ALternatively open the port in the terminal
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