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)




Jonathan Larmour wrote:

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

"virtual vector" ? any info about that? Maybe a little example?
Thanks in advance

> instead.
> 
> Jifl



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