UART in RTEMS

Joris van Rantwijk jorisvr at sron.nl
Thu Aug 12 16:45:24 UTC 2010


On Thursday 12 August 2010 18:24:16 João Rasta wrote:
> Including leonuart.h results in a compilation error:
> 
> ../src/comms/packet_lib/leonuart.h:57: warning: type defaults to 'int' in
> declaration of 'amba_apb_device'
> ../src/comms/packet_lib/leonuart.h:57: error: expected ';', ',' or ')'
> before '*' token

Right, sorry.
I just looked at the gaisler.com version of RTEMS, and it appears that
the interface to the AMBA bus has been redesigned. The leonuart driver
will not work on your version of RTEMS.

> Calling apbuart_register() also results an error: apbuart_register not
> found. I have included apbuart.h.

There seems to be a function called apbuart_register_drv() but I'm not
sure how it works. It turns out that you are running a version of RTEMS
that I have no experience with. Sorry for the confusion.

Regards, Joris.




More information about the users mailing list