Serial Console IO
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Feb 21 08:57:13 UTC 2013
On 02/20/2013 06:59 PM, Steven Grunza wrote:
> Hello,
> I'm using the stm32f4 BSP.
>
> For console IO can I just use fprintf( stdout, ...) and fgets( ...,
> stdin )?
Provided you have configured a console driver, then you can use the above
functions. It is possible to use a thread specific stdout, stdin, and stderr
stream. Only the file descriptors 0, 1, and 2 are fixed to the "/dev/console"
device.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the users
mailing list