Closed githubquestions closed 4 years ago
You need to connect to the on-board seral port exposed to your operating system. sprintln
will not print to the gdb nor openocd output.
Wow thanks for very fast response and it works! Some reason serial output is not as expected though where sprintln!
output is single unicode char like sprintln!("hello world!");
appears as T
, sprintln!("Starting blink loop")
as b
edit: hooray it works was just an issue with emulator. Thank you this is getting fun!
Another beginnger question. Working my way through examples, and sprintln macro very useful to make sure working. Problem is not exactly sure how to view output.
As example, hello_world, upon running, output:
In openocd