Hello Lisa, I tried to simplify my include path using a variable as you suggest, but I can't make it work.
My header file is at /home/errol/Dropbox/lib/include/timer.h
If I reference it as #include "/home/errol/Dropbox/lib/include/timer.h", CCS5.2 can resolve it.
If I set a variable and use a relative reference, CCS5.2 can't find it.
The variable I used is COMMON_SRC, set from Window->Preferences->General->Workspace->Linked Resources with the value /home/errol/Dropbox/lib
(COMMON_SRC then appeared at Project > Properties > Resource > Linked Resources > Path Variables)
then from Project > Properties > CCS Build > MSP430 Compiler > Include Options I added "${COMMON_SRC}/include" to the #include search path
In main.c I included timer.h as #include <timer.h> and a question mark popped up with the message Unresolved inclusion: <timer.h>
If I compile it, two warnings result ! Build variable 'COMMON_SRC' cannot be resolved and ! Invalid project path: Include path not found (/include)
Where have I gone wrong?