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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,327a42486109b512 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 Received: by 10.68.197.201 with SMTP id iw9mr2380945pbc.6.1355605083686; Sat, 15 Dec 2012 12:58:03 -0800 (PST) Path: 6ni46791pbd.1!nntp.google.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!news.mi.ras.ru!goblin2!goblin.stu.neva.ru!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Brian Drummond Newsgroups: comp.lang.ada Subject: Re: Interruption Handling using zfp compilation flag Date: Sun, 9 Dec 2012 20:34:28 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <71687703-4ed2-4cbb-8996-ff973474f586@googlegroups.com> <5eecb2cc-086c-47c9-84c9-00dd5b90f9a1@googlegroups.com> <594369dc-9021-4809-bd57-3db2dfddde92@googlegroups.com> <950a55fd-9025-40af-a918-90887d75a2a9@googlegroups.com> Mime-Version: 1.0 Injection-Date: Sun, 9 Dec 2012 20:34:28 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="dfff62e1e537b55df42008571c03e0fe"; logging-data="14749"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18GmTtcUe8H6Lz55uT8do3SHu75ucWwbmA=" User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) Cancel-Lock: sha1:JLI4rvZpCumMxkHuU6hKnuQTQyo= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: 2012-12-09T20:34:28+00:00 List-Id: On Sat, 08 Dec 2012 17:08:58 -0800, Vinícius Franchini wrote: > Thanks Rolf. I let the "Off by one" go. > > I tried to use the Avr-Ada, but the size of the .hex increase very much. > Maybe this happened because I did something wrong when including the > lib. So I decided to "translate" my C routines into Ada. I know I'm > reinventing the wheel, but this is aiding me to learn Ada. Be aware that AVR-Ada 1.2 includes options to select between interrupt driven and polling (SW delay) UART - 1.1 only had the polling UART and (when using RS232) gave smaller executables than 1.2. (about 1.2k in my case versus 1.6k) I believe that the polling UART option in 1.2 would bring the executable size back down but have not yet tried it... - Brian