This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Disable stdout during runtime
- From: "S. Z." <stzari at yahoo dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Tue, 10 Mar 2009 03:58:27 -0700 (PDT)
- Subject: [ECOS] Disable stdout during runtime
Hi,
is it possible to disable stdout during runtime ?
My output (printf) is displayed through UART0. On some systems however I need to use UART0 for a communication link. What I'm currently seeing is my communication data interspersed with diagnostic outputs.
Trying diag_init_putc() didn't help since this seems to only reroute diag_printf().
I also tried to understand the virtual vector Interface, but since I only have one Comm Channel there I can't see how to use this to disable printf.
I'd appreciate any pointers.
TIA
Stamatis
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss