This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Simple serial program
- To: "Trenton D. Adams" <tadams at extremeeng dot com>
- Subject: Re: [ECOS] Simple serial program
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Tue, 12 Jun 2001 19:41:39 +0100
- Cc: 'eCos' <ecos-discuss at sources dot redhat dot com>
- Organization: Red Hat UK Ltd.
- References: <000a01c0f36d$da5f7e10$090110ac@BURN>
"Trenton D. Adams" wrote:
>
> What is /dev/ser0 then? Is it not really a serial port, or is it just
> the first serial port and the same as /dev/ser1?
It doesn't exist for the edb7xxx (and cyg_io_lookup() should return an
error when you ask for it). The idea is to make the serial port numbers in
eCos be able to correspond to any physical markings on the board, in this
case UART 1 and UART 2 on the silkscreen.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions http://www.redhat-techworld.com/