* [ECOS] How to add a 4th termios driver?
@ 2007-02-16 15:17 Tim Hatton
2007-02-16 15:24 ` Gary Thomas
0 siblings, 1 reply; 3+ messages in thread
From: Tim Hatton @ 2007-02-16 15:17 UTC (permalink / raw)
To: ecos-discuss
Hi,
I am currently in the process of building an application witht eCos (2.0.43)
running on our own hardware which uses an ATMEL AT91RM9200 CPU. I am trying
to add a 4th termios tty driver (i.e. /dev/termios3) but haven't really
succeeded.
I thought this would be a simple case of editing some CDL files but I can't
work out where the current CYGPKG_IO_SERIAL_TERMIOS_TERMIOSn and
CYGDAT_IO_SERIAL_TERMIOS_TERMIOSn_DEV definitions are.
If anyone could provide some ideas I'd be grateful.
Best regards
Tim Hatton
--
View this message in context: http://www.nabble.com/How-to-add-a-4th-termios-driver--tf3239973.html#a9006150
Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS] How to add a 4th termios driver?
2007-02-16 15:17 [ECOS] How to add a 4th termios driver? Tim Hatton
@ 2007-02-16 15:24 ` Gary Thomas
2007-02-16 15:47 ` Tim Hatton
0 siblings, 1 reply; 3+ messages in thread
From: Gary Thomas @ 2007-02-16 15:24 UTC (permalink / raw)
To: Tim Hatton; +Cc: ecos-discuss
Tim Hatton wrote:
> Hi,
> I am currently in the process of building an application witht eCos (2.0.43)
> running on our own hardware which uses an ATMEL AT91RM9200 CPU. I am trying
> to add a 4th termios tty driver (i.e. /dev/termios3) but haven't really
> succeeded.
>
> I thought this would be a simple case of editing some CDL files but I can't
> work out where the current CYGPKG_IO_SERIAL_TERMIOS_TERMIOSn and
> CYGDAT_IO_SERIAL_TERMIOS_TERMIOSn_DEV definitions are.
>
> If anyone could provide some ideas I'd be grateful.
> Best regards
> Tim Hatton
% find /work2/ecos/packages -name "*.cdl" -or -name "*.h" | xargs grep CYGPKG_IO_SERIAL_TERMIOS
/work2/ecos/packages/io/serial/current/cdl/termios.cdl:cdl_component CYGPKG_IO_SERIAL_TERMIOS_TERMIOS0 {
/work2/ecos/packages/io/serial/current/cdl/termios.cdl:cdl_component CYGPKG_IO_SERIAL_TERMIOS_TERMIOS1 {
/work2/ecos/packages/io/serial/current/cdl/termios.cdl:cdl_component CYGPKG_IO_SERIAL_TERMIOS_TERMIOS2 {
/work2/ecos/packages/io/serial/current/cdl/termios.cdl:cdl_component CYGPKG_IO_SERIAL_TERMIOS_TERMIOS3 {
/work2/ecos/packages/io/serial/current/cdl/io_serial.cdl: cdl_component CYGPKG_IO_SERIAL_TERMIOS {
You'll also need to change /work2/ecos/packages/io/serial/current/src/common/termiostty.c
where the TERMIOS structures are [manually] enumerated.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS] How to add a 4th termios driver?
2007-02-16 15:24 ` Gary Thomas
@ 2007-02-16 15:47 ` Tim Hatton
0 siblings, 0 replies; 3+ messages in thread
From: Tim Hatton @ 2007-02-16 15:47 UTC (permalink / raw)
To: ecos-discuss
OK, got it working. Thanks for that (don't know why my Windows search didn't
find that file).
Tim
--
View this message in context: http://www.nabble.com/How-to-add-a-4th-termios-driver--tf3239973.html#a9006716
Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-02-16 15:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-16 15:17 [ECOS] How to add a 4th termios driver? Tim Hatton
2007-02-16 15:24 ` Gary Thomas
2007-02-16 15:47 ` Tim Hatton
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).