comp.lang.ada
 help / color / mirror / Atom feed
From: Oliver Kleinke <oliver.kleinke@c-01a.de>
Subject: Re: Interrupt-driven Usart not working in Ada, but in C working, why?
Date: Tue, 18 Mar 2014 15:08:54 +0100
Date: 2014-03-18T15:08:54+01:00	[thread overview]
Message-ID: <20140318150854.7509ea92@PC-8N-L> (raw)
In-Reply-To: 6fc641d2-54d6-4205-bd33-b0b802bd9271@googlegroups.com

Am Mon, 17 Mar 2014 13:28:13 -0700 (PDT)
schrieb "Rego, P." <pvrego@gmail.com>:

> On Monday, March 17, 2014 9:17:33 AM UTC-3, rrr.e...@gmail.com wrote:
> > AVR-Ada has both polled and interrupt driven UART packages. Both
> > work at least on atmega328. I never tried ATmega2560.
> 
> Yes, I also tried with ATmega328P and fully worked.
> 
> > As far as I remember one of the two versions exhibited a bug in the
> > FSF-gnat of the time (gcc-4.5 or gcc-4.6). It was fixed in a later
> > gcc release (4.7.1?).  You also might try a more recent gcc version.
> 
> That means I would have to build the cross-compiler, right? (it takes
> off the fun of using gnat-gpl-2012-avr-windows-bin.exe installer :)

Here's a script/instructions to build a cross-compiler:
http://arduino.ada-language.com/automating-avr-gnat-and-avr-ada-installation.html



  reply	other threads:[~2014-03-18 14:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-16 20:37 Interrupt-driven Usart not working in Ada, but in C working, why? Rego, P.
2014-03-16 22:54 ` Oliver Kleinke
2014-03-17  0:21   ` Rego, P.
2014-03-17 14:08     ` Oliver Kleinke
2014-03-24 14:36       ` rrr.eee.27
2014-03-16 23:09 ` Oliver Kleinke
2014-03-17  0:32   ` Rego, P.
2014-03-17 12:17 ` rrr.eee.27
2014-03-17 20:28   ` Rego, P.
2014-03-18 14:08     ` Oliver Kleinke [this message]
2014-03-21  2:52       ` Rego, P.
2014-03-24 14:28         ` rrr.eee.27
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox