Skip to content

Debug section should talk about opening a terminal #3

Description

@mykz-cy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions