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: a07f3367d7,327a42486109b512 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Received: by 10.224.111.140 with SMTP id s12mr9390635qap.5.1355068658659; Sun, 09 Dec 2012 07:57:38 -0800 (PST) MIME-Version: 1.0 Received: by 10.49.94.143 with SMTP id dc15mr2479784qeb.32.1355068658630; Sun, 09 Dec 2012 07:57:38 -0800 (PST) Path: gf5ni48613681qab.0!nntp.google.com!c8no2202185qao.0!postnews.google.com!j4g2000yqh.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 9 Dec 2012 07:57:38 -0800 (PST) Complaints-To: groups-abuse@google.com Injection-Info: j4g2000yqh.googlegroups.com; posting-host=93.203.210.32; posting-account=mOyWBQoAAAD7S-NBmMUOr9hRClcL0vqR NNTP-Posting-Host: 93.203.210.32 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> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.2; rv:17.0) Gecko/20100101 Firefox/17.0,gzip(gfe) Message-ID: <844a1ce4-3256-46b4-9f4f-57ab776ce820@j4g2000yqh.googlegroups.com> Subject: Re: Interruption Handling using zfp compilation flag From: R R Injection-Date: Sun, 09 Dec 2012 15:57:38 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-12-09T07:57:38-08:00 List-Id: On Dec 9, 2:08=A0am, Vin=EDcius 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. S= o I decided to "translate" my C routines into Ada. I know I'm reinventing t= he wheel, but this is aiding me to learn Ada. > > Att, Executable size is paramount on little microcontrollers. Just guessing on your environment I can imagine two possible causes: 1. You use your own build environment without the gpr-files from AVR- Ada. You then might miss stripping off all unused routines and data at link time (--gc-sections) 2. avr-uart.adb requires manual setting of a boolean constant. If not, the code for polled and interrupt driven UART communication ends up in the hex file Please send me direct email to rolf dot ebert dot gcc at gmx dot de