This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: redirecting diag to nil


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]