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
I am developing a GUI application for CC2640R2 LaunchPad using GUI composer online.
The CCS version I'm using is 9.2.0, and the project in CCS is based on "SimpleLink CC2640R2 SDK - v:3.30.00.20 -> Examples -> Development Tools -> CC2640R2 LaunchPad -> blestack -> rtls_master" in Resoure Explorer.
In GUI composer I want to use "Angle Display" widget and bind a global variable for displaying.
First I added a new global variable in Application/rtls_master.c, bind it to the widget and the GUI application works normally.
Then I added another global variable in RTLSCtrl/rtls_ctrl_aoa.c and tried to bind it, but it shows "missing identifier: gTestValue, it can not be found in the target program's symbols".
How can I bind a global variable in RTLSCtrl/rtls_ctrl_aoa.c in GUI composer?
Best Regards,
chen yang said:Then I added another global variable in RTLSCtrl/rtls_ctrl_aoa.c and tried to bind it, but it shows "missing identifier: gTestValue, it can not be found in the target program's symbols".
Is it possible that the variable is getting optimized out by the compiler, hence is "not found in the target program's symbols"?
Try declaring the variable as volatile and see if that helps.