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,
I would be more than happy to get a list from TI experts or participants of this forum
how const, static and static const of variables and functions
and also of class attributes and class methods
influences the reservation of memory.
The aim is:
Detecting wheter a variable with the same name exists several
times in memory.
In order to become more sensible on this topic,
I should know how TI manages this topic.
Thanks in advance for your help!
JD
I myself use TMS320F28xx with CCStudio 3.3!
Information about how the compiler reserves memory for variables is contained in the section titled Memory Model of the C2000 compiler manual http://www.ti.com/lit/pdf/spru514 . The same name can be used for different memory locations only for static variables. This wiki article talks about seeing static variables http://processors.wiki.ti.com/index.php/Find_Static_Functions_and_Variables .
Thanks and regards,
-George
Thanks, I will have a look into the document.
const can be also used in C++ to have one name but different memory locations.
JD