I'm trying to debug my stm32f0 with eclipse(CDT), gdb and openocd. Is there any way (like you do in for example visual studio) to have a var print to the console. Something like console.writeline or debug.writeline?
thanks
I'm trying to debug my stm32f0 with eclipse(CDT), gdb and openocd. Is there any way (like you do in for example visual studio) to have a var print to the console. Something like console.writeline or debug.writeline?
thanks
Attach USB2TTL converter to the PA9 and PA10 pins and use serial port to print any debug information.
On Linux you may use screen
to view any serial port. For example:
screen /dev/ttyUSB0 115200
Try to run my template project: