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 all,
This question is with respect to using CCS 6.1.2.00014, TI compiler v5.2.7 for MSP432.
I've attached two screenshots to illustrate what is going on.
In the first screen shot, you can see I've created a static variable called tb_u8 inside a particular function.
In the second screen shot the only change I have made is to explicitly initialize the tb_u8 rather than relying on auto initialize.
I can easily switch back and forth between these two cases by adding/removing the explicit initialization.
Its only this particular static variable that is causing me problems (though a college of mine working on the same codebase had the same issue occur on another variable).
Any ideas what I might need to do differently to avoid this problem?
Cheers
Julian
Screenshot 1
Screenshot 2
Try the work-around in ARM compiler v5.1.5 generates incorrect address in debug information for static functions declared inside a function of building with --common=offJulian Kolodko said:Any ideas what I might need to do differently to avoid this problem?