This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Serial Port Configuration
- From: "Ricardo Andrino" <ricardo_andrino at web dot de>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Wed, 11 Feb 2004 13:38:15 +0100
- Subject: [ECOS] Serial Port Configuration
- Organization: http://freemail.web.de/
Hello,
I am working with the AT91EB40A board and i want to read a byte from a host PC connected to the serial B port from the board and then send it to a Linux Host connected to the Serial A and display it in the screen with a simply printf and vice versa.
I am using POSIX functions ( termios structure, read, write,fcntl, threads etc).
What i don't know is how i have to configure the serial driver in the configuration tool to say my program to read from the serial B and send it to the serial A:
should i configure this?
CYGPKG_IO_SERIAL_TERMIOS;
CYGPKG_IO_SERIAL_TERMIOS_TERMIOS0
CYGPKG_IO_SERIAL_TERMIOS_TERMIOS0_DEV
...
and this?
CYGPKG_IO_SERIAL_DEVICES
CYGPKG_IO_SERIAL_ARM_AT91_SERIAL0
......
I would appeciate any kind of help
Thanks
______________________________________________________________________________
Erdbeben im Iran: Zehntausende Kinder brauchen Hilfe. UNICEF hilft den
Kindern - helfen Sie mit! https://www.unicef.de/spe/spe_03.php
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss