|
From: | Peter Bosscha |
Subject: | [avr-gcc-list] SRAM Usage |
Date: | Fri, 09 Feb 2001 15:54:30 +0200 |
Hi,
I'm using the windows port of AVR-GCC (Volker Oth) and have completed a few
projects.
Only recently I've discovered that the linker seems to be
rather generous with SRAM.
Looking at the map file I find that between modules of a project
there is always a fill until the next 0 nibble, I could define a single
byte in a module which then actually wastes another 15 bytes. The same
happens when I mix bytes and arrays of chars, again there is an allignment, this
time within the module, to the next nibble.
Anyone any ideas ? I would expect that one can adjust the linker to do this
differently ?
Thanks in advance
Peter Bosscha
|
[Prev in Thread] | Current Thread | [Next in Thread] |