[ECOS] Clarification on serial port drivers
Sergei Gavrikov
sergei.gavrikov@gmail.com
Thu May 20 13:21:00 GMT 2010
On Thu, 20 May 2010, Manuel Borchers wrote:
[snip]
> But when I link my simple serial demo application, which tries to
> use /dev/haldiag, /dev/ser0 and printf directly, /dev/haldiag works
> fine. /dev/ser0 isnt't found and printf rises the assertion "
> Cyg_StdioStream::write() Stream object is not a valid stream!".
>
> So I used arm-eabi-nm to see if the serial routines have been linked in.
> And there I saw, that the netx_serial* functions aren't in there. only
> the general serial functions are there, but the serial_init() is never
> being called.
Hi Manuel,
You must enable next CDL component: CYGPKG_IO_SERIAL_DEVICES to built-in
your serial driver.
HIH
Sergei
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list