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.
Hello e2e,
I came across a post, http://e2e.ti.com/support/development_tools/compiler/f/343/t/239407.aspx , where Archaeologist suggests moving .cinit to slow memory since it is only read once. (I want to do this since I'm filling up my L2).
However, I have not been able to successfully move .cinit. Here's what I wrote in a custom linker file "myLink.cmd":
SECTIONS { .cinit: load > MSMCSRAM }
After building my project with this new .cmd file, my map file still shows .cinit in L2SRAM.
Could it be that I have a setting in my project properties preventing this change? I couldn't find an issue like this in e2e so that makes me think I'm missing something basic :)
Thank you!
You are using BIOS. This means BIOS configuration controls (among many other things) how sections are allocated to memory. Please see this forum post for details on how to control the allocation of a section like .cinit.
Thanks and regards,
-George