Tool/software:
Hi,
I am trying to load flash api's onto the RAM using the following Linker script command. However I would like to this to be loaded into a specific memorysection of RAM defined under MEMORY in linker script. Could anyone tell me how I can specify that?
MEMORY
{
.flashAPI (RWX) : origin=0x0806F000 length=(0x00001000)
}
flashAPI:
{
.\Boot\Fapi_UserDefinedFunctions.obj (.text)
.\Boot\bl_flash.obj (.text, .data)
--library= "c:\ti\Hercules\F021 Flash API\02.01.01\F021_API_CortexR4_LE_L2FMC.lib" (.text, .data)
} palign=8 load = FLASH0 |FLASH1, run = RAM, LOAD_START(apiLoadStart), RUN_START(apiRunStart), SIZE(apiLoadSize)
Here I would like the linker script to generate apiRunStart and other flash addresses that lie within flashAPI memory section defined above.
Thanks,
Ravi