comp.lang.ada
 help / color / mirror / Atom feed
From: Erik Johannessen <erik.johannessen@kongsberg.com>
Subject: Re: GNAT and Atmel AVR Microcontrollers
Date: 21 Dec 2001 15:40:28 +0100
Date: 2001-12-21T15:40:28+01:00	[thread overview]
Message-ID: <vn27krgy6ub.fsf_-_@sun356.fof.kog.no> (raw)
In-Reply-To: e7ebd224.0112110504.5389cdc1@posting.google.com

karlran1234@yahoo.com (Karl Ran) writes:

> Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov> wrote in message news:<u3d2jujwy.fsf@gsfc.nasa.gov>...
> 
> > > Most likely no, if there's no Ada run-time library for the Atmel AVR
> > > and its OS (haven't checked this, though).
> > 
> > However, if you are willing to use the C runtime (no tasking, no
> > dynamic allocation, possibly no exceptions), it is not hard to get a
> > subset of Ada working.
> 
> That sounds intresting!
> How much time would it take for a C&Ada programmer to get this mini AVR-Ada
> working?

Sorry, I don't know that, but here is a data point for anyone else who
would like to see gnat on AVR.  About two months ago I built a cross
gnat for AVR.  It appeared to generate correct code for a few simple
examples (I never got around to generate an actual executable).

-Erik
-- 
/d{def}def/m{mul}d/a{add}d/q{repeat}d/y 1 d 300{/x 1 d 600{/c x 600 div 4 m 2
sub d/z y 300 div 2 m 1 sub d/r 0 d/i 0 d/t 0 d{t 1 le{/n r r m i i m sub c a
d/b 2 r m i m z a d/r n d/i b d r r m i i m a 16 gt{exit}if} {exit}ifelse/t t 
.01 a d}loop t setgray x y moveto 1 1 rlineto stroke/x x 1 a d}q /y y 1 a d}q



  parent reply	other threads:[~2001-12-21 14:40 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-09 21:13 GNAT and Atmel AVR Microcontrollers Michael Bode
2001-12-09 22:51 ` Florian Weimer
2001-12-10  6:27   ` Michael Bode
2001-12-10  9:12   ` Hans-Olof Danielsson
2001-12-10 16:19   ` Stephen Leake
2001-12-11 13:04     ` Karl Ran
2001-12-11 17:28       ` Stephen Leake
2001-12-12 20:13         ` Michael Bode
2001-12-21 14:40       ` Erik Johannessen [this message]
2001-12-26 13:08         ` Karl Ran
2002-01-08 18:34           ` Erik Johannessen
2002-01-10  0:31             ` Karl Ran
2002-01-09 20:51           ` Florian Weimer
2002-01-09 21:41             ` Michael Bode
2002-01-10 23:42               ` Georg Bauhaus
2002-01-12 15:11                 ` Michael Bode
replies disabled

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