Hello,
I am using the CLA on the above mentioned DSP.
- After reading blogs and datasheets, my understanding is that CLAscratch is a legacy section and the linker is now using .scratchpad.
- It is not necessary to specify a size for the .scratchpad section.
Therefore, I can get rid of the following lines in my linker:
CLA_SCRATCHPAD_SIZE = 0x100;
--undef_sym=__cla_scratchpad_end
--undef_sym=__cla_scratchpad_start
CLAscratch :
{ *.obj(CLAscratch)
. += CLA_SCRATCHPAD_SIZE;
*.obj(CLAscratch_end) } > RAMLS1, PAGE = 0
and keep
.scratchpad : > RAMLS1, PAGE = 0
Am I correct? Are those true statements?
(It's a bit confusing and not very well documented, I think!)
Laurent