hello,
I looked through the threads about this but could not find one that pertained tomy problem.
I am using CCS ver5.1.0.09. I’ve done this in CCS ver 3 without any problems.
I am creating a global variable above main() as int volatile g_query_user_flag.In the header file: F28335_example.h, I have extern int volatileg_query_user_flag so it’s visible to other .c files.
In main, I can change the value of g_query_user_flag without any problems. Icannot change the value of g_query_user_flag in other files that want to updateit. While in some other file that wantsto update the g_query_user_flag andcannot, I can force the update by hovering over it until the pop-up windowshows up and just type the new value in. I wonder if there is some sort of permission issue going on.
Do I need to change something in the Compiler setting as another member mentioned?
Thanks
Monika
Monika,
Does your code behave correctly? For example, if you pass this variable as an argument to printf, does it print the correct value to the console? I want to better understand if this is just an emulation issue in CCS 5.1, or if the application is actually failing.
Please click the Verify Answer button on this post if it answers your question.