This is the mail archive of the
mailing list for the eCos project.
Re: Serial VS Diagnostic interface
On Wed, Jan 14, 2009 at 2:24 PM, Chris Zimman <firstname.lastname@example.org> wrote:
>> 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.
opening /dev/ser0 results in an error. Now that I know it should
normally work, I can start to instrument a little bit to find out why
it doesn't work for me.
>> 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.