Tool/software: Code Composer Studio
Hi TI,
How to avoid the use of global variables pointer when coding?
And how to realize structrual and modularized software design?
Can you send me some docs or demo for learning?
Best regard
Frank
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.
Tool/software: Code Composer Studio
Hi TI,
How to avoid the use of global variables pointer when coding?
And how to realize structrual and modularized software design?
Can you send me some docs or demo for learning?
Best regard
Frank
Frank Lee96 said:How to avoid the use of global variables pointer when coding?
I'm not sure what you mean. The article Data blocking in the C2000 MCU compiler explained talks about how the compiler avoids loads of the DP register, which is used to access global variables.
Frank Lee96 said:And how to realize structrual and modularized software design?
That's a very general programming topic. Unfortunately, TI has no documents on it.
Thanks and regards,
-George