From: R R <rrr.eee.27@gmail.com>
Subject: Re: Interruption Handling using zfp compilation flag
Date: Sun, 9 Dec 2012 07:57:38 -0800 (PST)
Date: 2012-12-09T07:57:38-08:00 [thread overview]
Message-ID: <844a1ce4-3256-46b4-9f4f-57ab776ce820@j4g2000yqh.googlegroups.com> (raw)
In-Reply-To: c74afa1b-7756-4bea-b1c0-eabd60f27ff5@googlegroups.com
On Dec 9, 2:08 am, Vinícius Franchini <viniciu...@gmail.com> 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.
>
> 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
next prev parent reply other threads:[~2012-12-09 15:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-07 0:41 Interruption Handling using zfp compilation flag Vinícius Franchini
2012-12-07 7:45 ` Rolf
2012-12-07 20:24 ` Vinícius Franchini
2012-12-08 15:49 ` Rolf
2012-12-09 1:08 ` Vinícius Franchini
2012-12-09 15:57 ` R R [this message]
2012-12-09 20:34 ` Brian Drummond
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox