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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.52.28.116 with SMTP id a20mr8791243vdh.2.1395088093868; Mon, 17 Mar 2014 13:28:13 -0700 (PDT) X-Received: by 10.182.213.41 with SMTP id np9mr153098obc.3.1395088093500; Mon, 17 Mar 2014 13:28:13 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!w5no5555217qac.0!news-out.google.com!gi6ni227igc.0!nntp.google.com!l13no7639210iga.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 17 Mar 2014 13:28:13 -0700 (PDT) In-Reply-To: <01818147-3406-414e-8481-7dc875ef213c@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=189.77.226.1; posting-account=TRgI1QoAAABSsYi-ox3Pi6N-JEKKU0cu NNTP-Posting-Host: 189.77.226.1 References: <2528b8c4-93a8-4fb8-a6a5-192493d5d616@googlegroups.com> <01818147-3406-414e-8481-7dc875ef213c@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <6fc641d2-54d6-4205-bd33-b0b802bd9271@googlegroups.com> Subject: Re: Interrupt-driven Usart not working in Ada, but in C working, why? From: "Rego, P." Injection-Date: Mon, 17 Mar 2014 20:28:13 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:18829 Date: 2014-03-17T13:28:13-07:00 List-Id: On Monday, March 17, 2014 9:17:33 AM UTC-3, rrr.e...@gmail.com wrote: > AVR-Ada has both polled and interrupt driven UART packages. Both work at least on atmega328. I never tried ATmega2560. Yes, I also tried with ATmega328P and fully worked. > As far as I remember one of the two versions exhibited a bug in the FSF-gnat of the time (gcc-4.5 or gcc-4.6). It was fixed in a later gcc release (4.7.1?). You also might try a more recent gcc version. That means I would have to build the cross-compiler, right? (it takes off the fun of using gnat-gpl-2012-avr-windows-bin.exe installer :)