I have a question about linker files and allocating object code to specific memory locations. I found a post that had a similar question but was never fully answered:
http://e2e.ti.com/support/dsp/tms320c6000_floating-point_dsps/f/115/p/12423/48593.aspx#48593
My question is how can I tell the linker to put libraries or parts of libraries in a particular memory output section? For example, I have tried this:
SECTIONS {
.text:
{
ti.pspiom.uart.a674(.text)
} > L3_CBA_RAM
}
or this
SECTIONS {
ti.pspiom.uart.a674 > L3_CBA_RAM
}
but they don't work. Has anyone gotten this to work successfully? There was some reference to spru186q in the above mentioned post, but I don't see a clear example in there of what I'm trying to do. My goal is to be able to allocate some sections of libraries to L3 memory and other sections to L2. Is this possible without needing to redefine allocations done by the DSP/BIOS generated cmd file?
thanks,
Mike