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:
- DO not connect terminal
- Start step over from the beginning of main in either Eclipse and VSCode
- observe the problem - you get stuck at some point after few uart calls.
- 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
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: