This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: How to add extra serial ports
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Eduardo Sabaj <esabaj at hasar dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Fri, 30 Nov 2007 17:28:42 +0100
- Subject: Re: [ECOS] How to add extra serial ports
- References: <47503142.4040002@hasar.com>
On Fri, Nov 30, 2007 at 12:50:26PM -0300, Eduardo Sabaj wrote:
>
> I'm working on an i386 architecture that has more than 2 serial ports
> available, and what I would like to know is how I can make use of them. The
> configtool program shows only the information about serial port 0 and 1 but
> doesn't let me add another serial port. Moreoever, I found the
> CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS macro (number of communication
> channels on board) but it has a limit of 3 channels and I can't change it.
Take a look at
packages/devs/serial/i386/pc/current/include/i386_pc_ser.inl. You need
to add CYGPKG_IO_SERIAL_I386_PC_SERIAL2 and 3 and modify the CDL
appropriately.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss