Simplest way to print messages in terminal
Posted: Tue Aug 27, 2013 3:34 pm
Hi,
I have a STM32F4 discovery board and am using it on linux with command line tools (st-util, gdb). I'm wondering what the easiest way to print debug messages in the st-util terminals is? I saw chprintf, but i wasn't 100% clear on how to create a stream linked to the terminal.
Is this easy / feasible, am i going about things completely the wrong way...??
Any help would be much appreciated!
I have a STM32F4 discovery board and am using it on linux with command line tools (st-util, gdb). I'm wondering what the easiest way to print debug messages in the st-util terminals is? I saw chprintf, but i wasn't 100% clear on how to create a stream linked to the terminal.
Is this easy / feasible, am i going about things completely the wrong way...??
Any help would be much appreciated!