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

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

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


From: Stu Bell
Subject: RE: [avr-gcc-list] How to move VTABLE to FLASH?
Date: Fri, 20 Nov 2009 08:02:49 -0700

> 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?

After you've read the tutorial on C++ and GCC:
<http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=59453
>

check out the huge list of links for newbies:
<http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=70673
>

Best regards, 

Stu Bell 
DataPlay (DPHI, Inc.) 





reply via email to

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