I am using Code Composer Essentials Version: 3.2.0.24.2 to write code for a MSP F437 and MSP F157.
I have shared functions and structures that I have put into a "library" (I did create a library using CCE and successfully linked the library to each of the two projects (one for F437 and one for F157)
The program works well, I can debug step by step but I have an issue with global variables.
In the library scheduler.h I have defined
struct schedulerT { unsigned int idle_run_count; };
extern struct schedulerT sched_stat;
and in scheduler.c
struct schedulerT sched_stat;
Bearing in mind that all works fine when the code runs I must say that when I wish to look at the content of sched_stat using the debugger I end up with the wrong content.
I have produced the map for the linker and sched_stat is put into
00000364 sched_stat