This is the mail archive of the ecos-discuss@sourceware.org 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: printf/gets/etc not working


Check if hardware serial ports (such as /dev/ser0) and TTY-mode devices
(such as /dev/tty0) are included.
In configtool:
    I/O sub-system -> Serial device drivers +-> Hardware serial device
drivers
                                            +-> TTY-mode serial device
drivers
// Ilija

On 14.08.2010 03:21, Slide wrote:
> I am bringing up eCos on a custom internal board, I have diag_printf
> working just fine, but I can't seem to get printf or gets to work
> correctly. I only have one serial port on the board, I setup the
> default console to be /dev/ttydiag, which I thought would be the same
> as what diag_printf does, but I don't see anything come out with
> printf. I looked through the archives and saw something about
> /dev/haldiag, but I am not sure if I can use that as the default
> console, and if it would give me bidirectional communication.
>
> Thanks,
>
> slide
>


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