This is the mail archive of the
ecos-devel@sources.redhat.com
mailing list for the eCos project.
CDL values
- From: Gary Thomas <gary at mlbassoc dot com>
- To: eCos development <ecos-devel at ecos dot sourceware dot org>
- Date: Tue, 05 Apr 2005 09:11:52 -0600
- Subject: CDL values
- Organization: MLB Associates
I'd like to have a CDL variable, flavor data, whose value
is specified as a single character. I've not found any way
to write this, other than using the ASCII HEX equivalent.
If I write this:
cdl_option XYZ {
flavor data
default_value 'a'
}
I always get a syntax error.
Ideas? Is this possible?
n.b. this is used in some C code where I'd like to say
a = ch - XYZ;
instead of
a = ch = 'a';
Thanks
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------