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,b4945ea154eefb5f X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.204.131.75 with SMTP id w11mr11890bks.0.1334182406941; Wed, 11 Apr 2012 15:13:26 -0700 (PDT) Path: h15ni112836bkw.0!nntp.google.com!news1.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: "Rego, P." Newsgroups: comp.lang.ada Subject: Re: Building gnat-gpl-2011-avr-windows from scratch in GPS Date: Wed, 11 Apr 2012 15:06:38 -0700 (PDT) Organization: http://groups.google.com Message-ID: <11114179.137.1334181998473.JavaMail.geo-discussion-forums@ynej18> References: <20256137.216.1333941508115.JavaMail.geo-discussion-forums@vbpp14> NNTP-Posting-Host: 201.7.145.1 Mime-Version: 1.0 X-Trace: posting.google.com 1334182406 7373 127.0.0.1 (11 Apr 2012 22:13:26 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 11 Apr 2012 22:13:26 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=201.7.145.1; posting-account=TRgI1QoAAABSsYi-ox3Pi6N-JEKKU0cu User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-04-11T15:06:38-07:00 List-Id: Em segunda-feira, 9 de abril de 2012 04h23min07s UTC-3, Simon Wright escreveu: > That looks like an incompatibility between -mmcu=avr6 which you've set > in package Linker and the default options used elsewhere. > > I _think_ that there may be a way of saying this sort of thing globally, > but as is frequently the case the GPR documentation isn't easy to get to > grips with (I guess that people don't post bug reports about it enough > to let AdaCore know how difficult it can be to use? I know I didn't when > I worked for a paying customer). I agree. GPR documentation sometimes is a bit difficult to understand. > Is there a worked example with the toolchain? No. I could not find any example that I could run yet. But googling today I found this tutorial by Maciej Kucia: http://student.agh.edu.pl/~mkucia/wiki/doku.php?id=avrada which looks to be very interesting. The tutorial requires GNAT AVR + GPS + WinAVR GNU gcc tools and libraries for AVR + Atmel AVR Studio 5. I use all of them frequently, so that's no problem, but I'd expect that I could use just GNAT AVR + GPS to build the .hex. However sure it can be a very good starting point. I will try it.