comp.lang.ada
 help / color / mirror / Atom feed
From: "b.robinson.jp@gmail.com" <b.robinson.jp@gmail.com>
Subject: Re: USB Boarduino on AVR-Ada Tutorial
Date: Wed, 25 Aug 2010 17:26:14 -0700 (PDT)
Date: 2010-08-25T17:26:14-07:00	[thread overview]
Message-ID: <c08aae86-f497-483e-b236-d5d588851c54@x42g2000yqx.googlegroups.com> (raw)
In-Reply-To: 4d1d662b-f476-41e4-938c-0564ad90d74e@d17g2000yqb.googlegroups.com

Warren,

Thanks for taking the time to share your notes.  I tried to get AVR-
Ada working for my AVR project earlier this but I never made any
progress and ended up sticking with C.  I really would like to have a
go at Ada on my AVR as I do enjoy Ada programming.  Thank you for your
efforts.

To all,

I've followed the notes and I've made it through getting the C version
of Blinky to run on my hardware.  I'm running into an issue with the
GNAT project file, however.  I created a directory "C:\AVR\Projects
\Blinky" that has blinky.adb, blinky.gpr and the regular Makefile from
Warren's notes.  The files are exactly the same except the MCU setting
is different.  When I run the make in that directory, I get the
following error:

C:\AVR\Projects\Blinky> make
avr-gnatmake -g -XMCU=at90usb646 -f blinky.gpr
avr-gcc -c -g -x ada blinky.gpr
blinky.gpr:1:06: identifier expected
blinky.gpr:2:01: compilation unit expected
avr-gnatmake: "blinky.gpr" compilation error
make: *** [all] Error 4

The line it is referring to is:
  > with "avr.gpr";

Should avr-gcc be running on blinky.gpr?  I had expected blinky.adb,
but not blinky.gpr.  Then again I'm new to GNAT...  Any suggestions
for getting past this error?  Do I need to specify a path to avr.gpr
from C:\AVR\AvrAda1_1_0\lib\gnat somewhere?

I'd really appreciate any pointers or advice.  Thank you.



  parent reply	other threads:[~2010-08-26  0:26 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-04  2:50 USB Boarduino on AVR-Ada Tutorial Warren
2010-08-04 10:52 ` Brian Drummond
2010-08-04 12:42   ` Warren
2010-08-04 13:13   ` Warren
2010-08-04 21:26     ` Brian Drummond
2010-08-05  0:59       ` Warren
2010-08-22 22:41       ` Brian Drummond
2010-08-23  9:29         ` Tero Koskinen
2010-08-24 11:37           ` Brian Drummond
2010-08-24 12:25             ` Ludovic Brenta
2010-08-23 15:28         ` Warren
2010-08-23 22:08           ` Brian Drummond
2010-08-24  9:07             ` David Sauvage
2010-08-24 11:15           ` Brian Drummond
2010-08-24 13:40             ` Warren
2010-08-24 12:12         ` Brian Drummond
2010-08-05 14:53 ` Brian Drummond
2010-08-16 14:16   ` Warren
2010-08-23 22:10     ` Brian Drummond
2010-08-26  0:26 ` b.robinson.jp [this message]
2010-08-26  7:48   ` David Sauvage
2010-08-26 12:59     ` Warren
2010-08-27  1:44     ` b.robinson.jp
2010-08-27 12:51       ` Warren
2010-09-02  3:39         ` b.robinson.jp
2010-09-02 16:11           ` Charmed Snark
replies disabled

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