[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Order of variables placed in .data and .bsssections

From: Moritz Struebe
Subject: Re: [avr-gcc-list] Order of variables placed in .data and .bsssections
Date: Wed, 21 May 2008 09:30:57 +0200
User-agent: Thunderbird (Windows/20080421)

Hi Raj,

incremental linking will run you into _a lot_ of other problems. The places where your variables go, is one of the smaller ones, as long as you don't want to add the code at runtime (I just implemented this for Nut/OS). I suggest you have a look at Dunkel's Run-Time-Linker Paper. While you probably won't want to do this, the paper gives a good overview over the Problems and options.

Also "FlexCup: A Flexible and Efficient Code Update Mechanism for Sensor Networks" might be an option for you.


Raj Sharma schrieb:
Dear Eric,

You are right. If you want to install an image via say ISP, building a completely new image is not a problem. But if we have a network of devices (built from avr processors) that communicate wirelessly, the incremental way of installing the new application in the entire network (by wirelessly transmitting the image) can help significantly to reduce energy due to radio transmissions. This is especially important in some deployment scenarios where it is impossible/very difficult to change the batteries of the devices.

Thanks for your replies,

----- Original Message ----
From: "Weddington, Eric" <address@hidden>
To: Raj Sharma <address@hidden>; Preston Wilson <address@hidden>; avr-gcc-list <address@hidden>
Sent: Tuesday, May 20, 2008 3:22:34 PM
Subject: RE: [avr-gcc-list] Order of variables placed in .data and .bsssections

> -----Original Message-----
> From: Raj Sharma [mailto:address@hidden]
> Sent: Tuesday, May 20, 2008 2:17 PM
> To: Weddington, Eric; Preston Wilson; avr-gcc-list
> Subject: Re: [avr-gcc-list] Order of variables placed in
> .data and .bsssections
> Dear Eric,
> Thanks for the reply. I am working on incremental
> compilation/linking. One of the requirements is to maintain
> maximum similarity between the old and new versions of the
> binary image.
> Thanks
> Raj

May I ask what would be the advantage of incremental compilation/linking
on the AVR target? When even the most extensive AVR application I've
seen only takes 1 minute to do a full rebuild.

_______________________________________________ AVR-GCC-list mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]