avr-gcc-list
[Top][All Lists]
Advanced

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

[avr-gcc-list] How to move VTABLE to FLASH?


From: tfrancuz
Subject: [avr-gcc-list] How to move VTABLE to FLASH?
Date: Wed, 18 Nov 2009 23:19:28 +0100 (CET)
User-agent: SquirrelMail/1.4.12

Hi, I hope that it is the correct place for my problem. As you know when
programming in C++ on AVR the gcc puts the class VTABLE in SRAM, that is
ok, but wastes precious space. VTABLE is generated during compilation and
is constant during program execution, so I think it is better to put it
into FLASH memory. Of course to do that I need to patch gcc, and here is
my problem. I’m just beginner and making such modifications in gcc is just
beyond my skills. So maybe someone can do that, or give me some clues how
to start? I know that I need to change some insns, but how to start?





reply via email to

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