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]

Re: STOUT redirection (was Re: Newbie question)


Carlos Sobrinho wrote:
> 
> Hi there. I know this is an old question but here goes.
> I want to put a graphical display in my AEB-1 board and a PS2 keyboard
> (that's not the main problem) but I want to send a copy of the info
> passed to the stdout and stderr to the display, like GDB packets and
> System errors from stderr and some redirection of the keyboard data to
> the buffer of the serial port.Just a "simple" copy and not a "move".The
> serial port should receive the info always to permit debugging.

You _could_ just call your appropriate screen output function in the serial
output functions in hal/arm/aeb/VERSION/src/hal_diag.c. But input is more
difficult. It would be much easier if you could create a new channel
(especially a "virtual vector" channel as used in current CVS sources)
instead.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions    http://www.redhat-techworld.com/


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