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,516fa714bab424cb X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!193.201.147.71.MISMATCH!xlned.com!feeder3.xlned.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!.POSTED!not-for-mail From: Warren Newsgroups: comp.lang.ada Subject: Re: GPS 2010 for AVR Date: Thu, 29 Jul 2010 19:36:36 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <4c51d42b$0$12211$7b1e8fa0@news.nbl.fi> Injection-Date: Thu, 29 Jul 2010 19:36:36 +0000 (UTC) Injection-Info: mx01.eternal-september.org; posting-host="9f8M0iN5t54V+4DF/iqO8g"; logging-data="17282"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19VVLNnCxkGczAdsdb9QuE8nHaPXnPqzAw=" User-Agent: Xnews/5.04.25 X-Face: &6@]C2>ZS=NM|HE-^zWuryN#Z/2_.s9E|G&~DRi|sav9{E}XQJb*\_>=a5"q]\%A;5}LKP][1mA{gZ,Q!j Cancel-Lock: sha1:H9ulUzhMt468E8BJ0NLJqAwspxE= Xref: g2news1.google.com comp.lang.ada:12684 Date: 2010-07-29T19:36:36+00:00 List-Id: Tero Koskinen expounded in news:4c51d42b$0$12211$7b1e8fa0@news.nbl.fi: > 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 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. .. > 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. I've looked at that project and wondered which toolset to invest my time in (time is my shortest commodity). I was drawn to GPS because it looked like it would require minimal setup. But me thinks this is not the case. While I prefer Linux, I generally use Cygwin and XP because of my company provided laptop and the fact that my music recording software only runs Windows at home. On my to do list is to see if I can get my home PC to boot from an external USB drive. If so, I'll put Linux there. I may try to get this win-avr toolset to work from cygwin, by using a driver script to modify the path temporarily etc. I prefer command lines and makefiles anyway. ;-) One nice addition, which is perhaps in the works, is a way to set up simple tasking, even if it is non-preemptive with a Yield() call. Certainly this is first on my to-do list, once I can get something simple to work on the hardware. Thanks, Warren