This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
In order to improve execution speed I would like to copy some library functions from Flash to RAM.
I've managed to copy the whole library from Flash to internal RAM by putting the following into the linker command file:
ramfuncs : LOAD = FLASHD,
{
C:\CCStudio_v3.3\C2000\cgtools\lib\rts2800_fpu32.lib(.text)
}
RUN = RAML0,
LOAD_START(_RamfuncsLoadStart),
LOAD_END(_RamfuncsLoadEnd),
RUN_START(_RamfuncsRunStart),
PAGE = 0
This has the following disadvantages:
So my question is, whether there is a way to specify the names of library functions which are to be copied from Flash to RAM (preferably without rebuilding the library) while the other library functions are executed from Flash.
Regards
Johannes
Johannes,
Take a look at section 7.8.7 - allocating an archive member to an output section in SPRU513
http://focus.ti.com/lit/ug/spru513c/spru513c.pdf
Lori