This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Problem with scanf and printf
Hi ,
my scanf function is not working. Printf is working but after
cyg_thread_delay call it is not working too.
Here is my configuration :
CYGDAT_LIBC_STDIO_DEFAULT_CONSOLE = "/dev/ser0"
CYGPKG_IO_SERIAL_TTY = 1
CYGPKG_IO_SERIAL_TTY_TTY0 = 0
In Serial driver DEVTAB_ENTRY is like this
DEVTAB_ENTRY( test_serial_iol,
"/dev/ser0",
0,
&cyg_io_serial_devio,
tes_serial_init,
test_serial_lookup, // Serial driver may need initializing
&test_serial_channel );
If anyone has any idea please give me.
Thanks in advance.
Regards,
Tatha
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss