Using external .dll (for example FlashAPI) you need to allocate about 1,5 kb of RAM.
i.e.:
Flash28_API:
{
-lFlash28335_API_V210.lib(.econst)
-lFlash28335_API_V210.lib(.text)
} LOAD = FLASHD,
RUN = RAML0,
LOAD_START(_Flash28_API_LoadStart),
LOAD_END(_Flash28_API_LoadEnd),
RUN_START(_Flash28_API_RunStart),
PAGE = 0
....
// Copy the Flash API functions to SARAM
Example_MemCopy(&Flash28_API_LoadStart, &Flash28_API_LoadEnd, &Flash28_API_RunStart);
Unfortunately you can't use identical identificators in RUN_START instruction.
Is that any ways to re-use (Flash28_API_LoadEnd – Flash28_API_LoadStart) memory space and improve memory management?