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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,d663b6230c9b3312 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!c77g2000hse.googlegroups.com!not-for-mail From: Rolf Newsgroups: comp.lang.ada Subject: Re: AVR GCC/GNAT port quality ? Date: Tue, 26 Jun 2007 12:04:10 -0700 Organization: http://groups.google.com Message-ID: <1182884650.757094.40890@c77g2000hse.googlegroups.com> References: NNTP-Posting-Host: 84.152.24.33 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1182884652 13965 127.0.0.1 (26 Jun 2007 19:04:12 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 26 Jun 2007 19:04:12 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: c77g2000hse.googlegroups.com; posting-host=84.152.24.33; posting-account=X6JcNAwAAACCYFUClJvh1OjD0lgttvkm Xref: g2news1.google.com comp.lang.ada:16319 Date: 2007-06-26T12:04:10-07:00 List-Id: On 25 Jun., 13:47, clubley@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley) wrote: > I'm thinking of using the AVR microcontroller along with the AVR GNAT > compiler in a project. Nice to see that someone is interested in AVR-Ada. I can only encourage you to try it out. I built a data logger (several temperatures and gas consumption) for my home based on the cheap AVR- Butterfly. And I also managed to make the first steps with the Asuro robot (http://www.arexx.com/arexx.php?cmd=goto&cparam=p_asuro.dat) > Would anyone here like to offer an opinion on the quality of the GNAT > AVR port ? The Ada compiler itself is quite good. When I started the project some years ago I had some ICE (internal compiler errors); they all seem to be ironed out by the time. But then you have to be careful what Ada constructs you want to use. Most of them require extensive support in the run time system. For most constructs I do not yet provide the necessary files in the RTS. Most notably there is no support (yet) for: - tasking - exceptions - run time dispatching (aka tagged types) On the other hand you can: - access all IO pins - attach procedures to interrupts - use some predefined routines for LCD, RS232, flash memory, eeprom, etc. - have a lot of fun sqeezing Ada programs into a few hundred bytes. I recommend you to join the mailing list at http://lists.sourceforge.net/mailman/listinfo/avr-ada-devel or send me some direct email. Rolf