* [ECOS] printf output problem
@ 2006-12-12 15:22 tathagata
2006-12-26 12:22 ` [ECOS] lwip stack problem with printf Tathagata Das
0 siblings, 1 reply; 2+ messages in thread
From: tathagata @ 2006-12-12 15:22 UTC (permalink / raw)
To: ecos-discuss
Hi ,
I am trying to write a serial driver on a new platform of MIPS
architecture.
diag_printf is working properly.
But printf is not working, system is not hanged but I can not see any
output.
Here is my configuration
DEVTAB_ENTRY( test_serial_iol,
"/dev/tty0",
"/dev/ser0",
&test_serial_devio,
test_serial_init,
test_serial_lookup, // Serial driver may need
initializing
&test_serial_channel
);
CYGDAT_IO_SERIAL_TTY_CONSOLE = "/dev/tty0"
CYGPKG_IO_SERIAL_TTY_TTY0 = 1
CYGPKG_IO_SERIAL_DEVICES = 1
Thanks in advance.
Tathagata
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 2+ messages in thread
* [ECOS] lwip stack problem with printf
2006-12-12 15:22 [ECOS] printf output problem tathagata
@ 2006-12-26 12:22 ` Tathagata Das
0 siblings, 0 replies; 2+ messages in thread
From: Tathagata Das @ 2006-12-26 12:22 UTC (permalink / raw)
To: ecos-discuss
Hi,
I am using lwip stack. I have successfully compiled ecos source code
with lwip_eth template.
But when I am trying to compile my application, I am getting following
errors:
1. undefined reference to `printf'
2. undefined reference to `strcmp'
I have found that there is no LIBC support in lwip_eth template. So I
have added those packages.
But in that case my system hangs when it is trying to execute printf
function.
Please tell me how to solve this problem.
Thanks in advance.
Tathagata
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-12-26 12:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-12 15:22 [ECOS] printf output problem tathagata
2006-12-26 12:22 ` [ECOS] lwip stack problem with printf Tathagata Das
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).