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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,516fa714bab424cb X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nntp.club.cc.cmu.edu!feeder.erje.net!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!fi.sn.net!newsfeed2.fi.sn.net!news.song.fi!not-for-mail Date: Thu, 29 Jul 2010 22:19:08 +0300 From: Tero Koskinen User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.10) Gecko/20100621 Fedora/3.0.5-1.fc13 Thunderbird/3.0.5 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: GPS 2010 for AVR References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4c51d42b$0$12211$7b1e8fa0@news.nbl.fi> Organization: NBL Networks Oy NNTP-Posting-Host: 217.30.184.161 X-Trace: 1280431148 news.nbl.fi 12211 217.30.184.161:31941 X-Complaints-To: abuse@nblnetworks.fi Xref: g2news1.google.com comp.lang.ada:12682 Date: 2010-07-29T22:19:08+03:00 List-Id: 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