[ECOS] redirecting diag to nil

Øyvind Harboe oyvind.harboe@zylin.com
Wed Jul 21 12:03:00 GMT 2004


On Wed, 2004-07-21 at 12:52, Gary Thomas wrote:
> On Wed, 2004-07-21 at 01:54, Øyvind Harboe wrote:
> > Q: is there a builtin facility in eCos redirect diag to the
> > bit-bucket?
> > 
> > 
> > I used the attached changes to redirect diag over JTAG.
> 
> Why not just call diag_init_putc() with a function that is the bit
> bucket?  Look at how this is used in RedBoot.

Yup. Just what I need. This also dovetails nicely with my ARM DCC JTAG
code. :-)

-- 
Øyvind Harboe
http://www.zylin.com



--
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