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.
I have a project on the OMAP-L138 using CCS 5.2.0.00069 and SYS/BIOS. Currently we share two buffers between the DSP and the ARM. The address for these two buffers is defined in a C header file, which is shared between the DSP and ARM project. When the location of the buffers needs to be moved I must change the address in the C header file and the DSP linker.cmd file (see below, 0x11F03DC0). It would be better if this could be done by changing the C header file only. Is there a way to reference the C header definition (i.e. #define BUFFER_ADDR 0x11F03DC0) in the linker.cmd file?
Thanks for your time!
SECTIONS{
.text:_c_int00 > 0x11800000
.fastdata > L1DSRAM
/* Note: buffer addresses must be coordinated with BUFFER_ADDR in intersys.h */
.buffers: load > 0x11F03dc0 {
*(.txbuffer)
*(.rxbuffer)
}
}