[ECOS] Redirect stdout and stderr to diag_printf

Keith Ross kross@elands.co.nz
Fri Jan 25 20:59:00 GMT 2008


 >...I would like to see all stdout and stderr output on my console, 
which I am intercepting with diag_init_putc.  How can I do this?  I'm 
using eCos 2.0.

Update ecos to latest code from cvs or snapshots.

I redirected my diag_printf to the dcc channel in ARM which connected 
through the JTAG to the PC. My code is attached.

Keith Ross
E-Lands Communiactions Ltd, NZ
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: eld_debug.c
URL: <http://sourceware.org/pipermail/ecos-discuss/attachments/20080125/f633ee8f/attachment.c>
-------------- next part --------------
-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


More information about the Ecos-discuss mailing list