How to add serial driver to RTEMS?

Jay Monkman jtm-list-rtems at smoothsmoothie.com
Wed Sep 1 03:09:56 UTC 2004


On Wed, Sep 01, 2004 at 11:39:51AM +0800, Yanjun Luo wrote:
> I changed Console_Port_Tbl table in uarts.c, added another 4 ports.
> How can I register to system and get a name? I mean, ttyS0, ttyS1...

Set sDeviceName in Console_Port_Tbl to the name you want
(e.g. "/dev/ttyS1"). What do the sections you ad look like.

> I know DBGU's name is "/dev/console", but where it registered by
> rtems_io_register_name? I write some code to open "/dev/console",
> it failed(return -1).

I'll try this out and get back to you.

> And I'll send a patch when I finished this job.

That would be appreciated.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.rtems.org/pipermail/users/attachments/20040831/a37a51e6/attachment-0001.bin>


More information about the users mailing list