Re: printf/gets/etc not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




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



[Linux Embedded]     [U-Boot V2]     [Linux Kernel]     [Linux MIPS]     [Linux ARM]     [Linux for the Blind]     [Linux Resources]     [Photo]     [Yosemite]     [ISDN Cause Codes]     [ECOS Home]

Add to Google Powered by Linux