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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f849b,20ab6e4b65d0ac97 X-Google-Attributes: gidf849b,public X-Google-Thread: 103376,20ab6e4b65d0ac97 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-12-08 01:16:39 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: rolf.ebert_nospam_@gmx.net (Rolf Ebert) Newsgroups: comp.lang.ada,comp.arch.embedded Subject: Re: [Announce] AVR-Ada V0.1 released Date: 8 Dec 2003 01:16:39 -0800 Organization: http://groups.google.com Message-ID: <46b8b50a.0312080116.4fae3543@posting.google.com> References: <46b8b50a.0312050448.654d6da4@posting.google.com> NNTP-Posting-Host: 194.97.67.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1070874999 22876 127.0.0.1 (8 Dec 2003 09:16:39 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 8 Dec 2003 09:16:39 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:3222 comp.arch.embedded:5057 Date: 2003-12-08T01:16:39-08:00 List-Id: "Jim Granville" wrote in message news:... > "Rolf Ebert" wrote in message > news:46b8b50a.0312050448.654d6da4@posting.google.com... > > We are proud to announce the first release of AVR-Ada, one of the first > > GCC based Ada compilers targeting 8-bit microcontrolers. > > Interesting. I presume this outputs C, which is then compiled ? No. Like all other language front-ends in GCC, GNAT does directly generate assembler code for the target processor. All compilers in GCC share the same code generator back end. > How does this then handle symbolic debug in the AVR source, in (eg) AVR > Studio ? AVR studio up to V4.07 uses the old COFF format which is quite limited. Get the V4.08 beta and use the extended COFF format. The easiest is to use the WinAVR distribution (winavr.sourceforge.net) to get used to GCC on Windows first. > Is anyone working on Ada for 51MX core (FAR calls etc extensions, just > starting to appear in FLASH), > and/or perhaps for the 128KF/256KF 80C51variants from Winbond, Cygnal, STm > ? > Of these, the ST and Cygnal devices have good In Circuit DEBUG support. > > There was talk a while ago of Ada for the XA51, but that has only 2 flash > models, > with smallish code size and not a wide market base. > > -jg I do not know about Ada compilers for other processors. In my project I use the AVR AT90S2313 which has only 2kB of flash for program space and 128 bytes RAM. The generated Ada code isn't any bigger as the equivalent C code. You can write lots of useful programs with a good compiler like gcc despite the size limitations. Rolf