comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov>
Subject: Re: GNAT and Atmel AVR Microcontrollers
Date: 11 Dec 2001 12:28:42 -0500
Date: 2001-12-11T17:31:54+00:00	[thread overview]
Message-ID: <ud71lmzsl.fsf@gsfc.nasa.gov> (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?

Well, unfortunately, the honest answer is "it depends how good you are
at compiling and fixing gcc and similar programs".

It also depends on how weird your processor is. If it supports 8 bit
memory reads, has a flat Von Neumann memory architecture, and
hardware floating point, you're in good shape. Ada cares more about
this stuff than C does. If you don't have 8 bit reads, you won't have
the standard Character type without a lot of work. In C, you just say
"char is 16 bits" and move on.

I have not actually finished doing this for a processor, but I've
started a couple times. I'd guess six person-months for a good first
effort.

-- 
-- Stephe



  reply	other threads:[~2001-12-11 17:28 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 [this message]
2001-12-12 20:13         ` Michael Bode
2001-12-21 14:40       ` Erik Johannessen
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