public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: sabine moulayes <moulayes_sabine@hotmail.com>
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] serial ports on eCos...
Date: Fri, 28 May 2004 08:04:00 -0000	[thread overview]
Message-ID: <20040528064822.GH2615@lunn.ch> (raw)
In-Reply-To: <Sea1-F15J59J2W1gC7M0002bd58@hotmail.com>

On Fri, May 28, 2004 at 08:37:34AM +0200, sabine moulayes wrote:
> hello,
> 
> I would like to communicate with the serial ports on eCos, but I don't know 
> what are there names...
> On linux the names are /dev/ttyS0 or /dev/ttyS2 and so on...

The name depends on your hardware platform. Generally the device names
are based on what the label says on the hardware. Read the ecos.ecc
file. Look for CYGPKG_IO_SERIAL_*. Its also worth RTFMing to find out
about the layering of serial devices used by eCos.

> But what are they on eCos??
> Can I use the fonction fopen like on linux???

Yes.

        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

  reply	other threads:[~2004-05-28  6:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-28  6:42 sabine moulayes
2004-05-28  8:04 ` Andrew Lunn [this message]
2004-05-28  8:04   ` Jani Monoses
2004-05-28  6:45 sabine moulayes
2004-05-28  7:18 eibach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040528064822.GH2615@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=ecos-discuss@ecos.sourceware.org \
    --cc=moulayes_sabine@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).