AnsweredAssumed Answered

How do I log text from microcontroller via debugger to Eclipse-window?

Question asked by arnold_w on Feb 6, 2017
Latest reply on Feb 6, 2017 by Clive One

I am working with the STM32F045-microcontroller and I write my source code in Eclipse and I build with GNU ARM C/C++ Cross Compiler and I debug using GDB OpenOCD Debugging with ST-LINK/V2. Is it possible to write a text string, for example "Hello World", from the microcontroller code and make that text string appear in some of the windows in Eclipse when debugging? For example:


int main(int argc, char* argv[]) { 

    printToEclipseWindowViaDebugger("Hello World");   // Write Hello World to one of the windows in Eclipse