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,cce9c2e2e20f4889 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.238.65 with SMTP id vi1mr3501949pbc.7.1338375552116; Wed, 30 May 2012 03:59:12 -0700 (PDT) Path: pr3ni65680pbb.0!nntp.google.com!news2.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: "Rego, P." Newsgroups: comp.lang.ada Subject: Re: gnat 2011 - avr-elf-windows Date: Wed, 30 May 2012 03:57:22 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <21ace9f2-5d23-48d1-ac1b-d7d58fbf859b@b1g2000vbb.googlegroups.com> <83946372-da9c-462b-aa25-46392a2b6b56@m8g2000yqo.googlegroups.com> NNTP-Posting-Host: 201.7.145.1 Mime-Version: 1.0 X-Trace: posting.google.com 1338375550 31128 127.0.0.1 (30 May 2012 10:59:10 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 30 May 2012 10:59:10 +0000 (UTC) In-Reply-To: <83946372-da9c-462b-aa25-46392a2b6b56@m8g2000yqo.googlegroups.com> 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 Content-Transfer-Encoding: quoted-printable Date: 2012-05-30T03:57:22-07:00 List-Id: > a. I am having trouble generating the spec for the Arduino part I am=20 > using - ATmega328.=20 >=20 > gen_avr fails with the message:=20 >=20 > bad XML document, AVRPART expected=20 I'm assuming you are using the http://student.agh.edu.pl/~mkucia/wiki/doku.= php?id=3Davrada (Do you have other reference?). If so, I do not get this me= ssage. Did you run the gen using=20 main.exe ATmega328P.xml > atmega328p.ads?=20 The xml you can get from AS5.=20 Still I do not get any error message at this point.=20 > Any pointers on how I can modify the xml to get this processed?=20 I don't think you need to modify the xml. But the ads it generated came wit= h with several redundancies, so it did not compile. Have to take them out. = So it looks more practical to generate the ads by hand, without the xml, so= you can put just what you want to use.=20 > b. I am also looking for a source for crt1-atmega328.S The examples=20 > dir has a crt1-atmega2560.S=20 >=20 > Any ideas on where this crt1-atmega2560.S originated?=20 I did not use this. Is this included on GNAT-AVR library?=20 Actually you can use the CRT from WinAVR installation, at avr\lib\avr5\crtm= 328p.o (rename it to crtm328p._o).=20 Regards.