This is the mail archive of the
ecos-devel@sourceware.org
mailing list for the eCos project.
tty.cdl
- From: Ilija Kocho <ilijak at siva dot com dot mk>
- To: eCos developers <ecos-devel at ecos dot sourceware dot org>
- Date: Sat, 26 Mar 2011 11:21:51 +0100
- Subject: tty.cdl
Hello colleagues
I need to extend tty.cdl in order to accommodate more than 4 serial
ports, currently I need 6. I can simply add 2 port entries but i would
prefer something like the snippet below. Either case I am ready to post
to Bugzilla.
Note: Similar case is with termios.cdl
Please advise.
Regards
Ilija
--- CDL snippet for tty.cdl -----------
cdl_component CYGPKG_IO_SERIAL_TTY_TTY[set ::channel] {
display "TTY mode channel #[set ::channel]"
flavor bool
default_value 0
description "
This option causes '/dev/tty[set ::channel]' to be included in
the standard
drivers."
cdl_option CYGDAT_IO_SERIAL_TTY_TTY[set ::channel]_DEV {
display "TTY mode channel #[set ::channel] device"
flavor data
default_value [ format { "\"/dev/ser%d\"" } $::channel ]
description "
This option selects the physical device to use for
'/dev/tty[set ::channel]'."
}
}
--- Snipped end -------------