Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.
We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.
Thank you for your understanding.
I have retarget fgets() and fputs() to ITM_ReceiveChar and ITM_SendChar.
When i test fgets() to get a string form Debug View, i find i can not input a new line charater (0x0A). Push "Enter" just send 0x0D, not 0x0A.
How input a new line char form Debug View?
Note that there isn't actually any such thing as a newline character:
There's Line-Feed (LF) and Carriage-Return (CR), and different systems use CR and/or LF to mark the position of a newline - but there is no specific newline character as such.