This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Clarification on serial port drivers


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]