Hi
When we define a uninitialized global array variable in a C file, after compilation on CCS, default it will be moved to .far section.
But i want to move this variable into .fardata section.
Can anybody please suggest how to do it?
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.
Hi
When we define a uninitialized global array variable in a C file, after compilation on CCS, default it will be moved to .far section.
But i want to move this variable into .fardata section.
Can anybody please suggest how to do it?
Explicitly initialize it like this ...
far int array[100] = { 0 };
Thanks and regards,
-George
Thanks a lot George..
If possible, Can you please share the TI doc from where you found this information.
Please see the section titled Specifying Where to Allocate Sections in Memory in the C6000 compiler manual.
Thanks and regards,
-George