From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,fcd0ac136c3a2795 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!x42g2000yqx.googlegroups.com!not-for-mail From: "b.robinson.jp@gmail.com" Newsgroups: comp.lang.ada Subject: Re: USB Boarduino on AVR-Ada Tutorial Date: Wed, 25 Aug 2010 17:26:14 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <4d1d662b-f476-41e4-938c-0564ad90d74e@d17g2000yqb.googlegroups.com> NNTP-Posting-Host: 98.124.107.116 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1282782375 18620 127.0.0.1 (26 Aug 2010 00:26:15 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 26 Aug 2010 00:26:15 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: x42g2000yqx.googlegroups.com; posting-host=98.124.107.116; posting-account=ebuo9QkAAAA0kzM9P_xqJLx9heyefZNO User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-us) AppleWebKit/533.17.8 (KHTML, like Gecko) Version/5.0.1 Safari/533.17.8,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:13748 Date: 2010-08-25T17:26:14-07:00 List-Id: 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.