From: Tero Koskinen <tero.koskinen@iki.fi>
Subject: Re: GPS 2010 for AVR
Date: Thu, 29 Jul 2010 22:19:08 +0300
Date: 2010-07-29T22:19:08+03:00 [thread overview]
Message-ID: <4c51d42b$0$12211$7b1e8fa0@news.nbl.fi> (raw)
In-Reply-To: <Xns9DC499AD614B1WarrensBlatherings@81.169.183.62>
On 07/29/2010 10:06 PM, Warren wrote:
> I'm trying to do a simple project build for avr (not
> expecting to run the code).
..
> I'll be doing some more RTFM, but any hints on
> this is appreciated. It would be cool to do some
> Arduino work in Ada, this coming winter.
I haven't tried AVR programming with GPS or GNAT GPL toolchain, but I
have been using AVR-Ada 1.0 and 1.1 from http://avr-ada.sf.net/
for Arduino. So far it has worked pretty well on OpenBSD, Fedora Linux,
and Windows XP.
Quick tutorial for Windows XP:
1. Install Win-AVR somewhere
2. Install AVR-Ada into same location
3. Set PATH to point Win-AVR's bin directory.
4. Compile with avr-gnatmake.
I have used following Hello World example (Mercurial repository) with
AVR-Ada 1.0 (and 1.1) to test the setup:
http://bitbucket.org/tkoskine/arduino-hello
For AVR-Ada 1.1 you can use command:
avr-gnatmake -XMCU=atmega328p -Phello.gpr
to compile the source files for Arduino.
>
> Warren
-Tero
next prev parent reply other threads:[~2010-07-29 19:19 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-29 19:06 GPS 2010 for AVR Warren
2010-07-29 19:19 ` Tero Koskinen [this message]
2010-07-29 19:36 ` Warren
2010-07-30 13:40 ` Warren
2010-07-30 15:43 ` sjw
2010-07-30 16:33 ` Warren
2010-07-30 19:36 ` Simon Wright
2010-07-30 20:56 ` Warren
2010-07-30 18:13 ` Warren
2010-07-29 20:08 ` Simon Wright
2010-07-30 9:12 ` sjw
2010-07-30 13:22 ` Warren
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox