UART in RTEMS
freakforever at gmail.com
Mon Aug 16 16:23:39 UTC 2010
I re-compiled RTEMS with CONSOLE_USE_INTERRUPTS=1 but now i don't receive
any UART messages. Can it be that LEON3 does not support interrupt mode?
On Thu, Aug 12, 2010 at 5:57 PM, João Rasta <freakforever at gmail.com> wrote:
> No problem, any help is allways very much appreciated.
> On Thu, Aug 12, 2010 at 5:45 PM, Joris van Rantwijk <jorisvr at sron.nl>wrote:
>> 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'
>> > 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users