This is the mail archive of the
mailing list for the eCos project.
RE: Serial VS Diagnostic interface
> Actually as it just inline code. I have already checked it is
> correctly included. Maybe I should have been more explicit: Is there
> anything to ensure the HW serial driver is correctly initialized ?
> Where should pc_serial_lookup() be called in a normal behavior ?
If you can build the serial tests and they pass, you should be in good shape.
Alternatively, if opening "/dev/ser0" succeeds, you're good to go.
> I would have another question then, I have noticed that with GCC 4.2.2
> (which is the one I use), the DEVTAB_ENTRY may be removed if the
> TABLE_END is declared before adding any additional entry. Is anybody
> else having the same issue ?
I don't use GCC 4.x having moved to EABI a while ago, so I'm afraid I can't
offer any advice here.