Tool/software: Code Composer Studio
Hello,
To gain insight into my question I created a simple file. The file contains two #defines and an empty function.
Each of the #defines is merely used to rename an existing #define from TI include files to shorten the name for convenience.
For example:
#define CTOM_STS1 IPC_CTOMIPCSTS_IPC1 // rename for bits in the status register
IPC_CTOMIPCSTS_IPC1 is #defined in \...\v207\MWare\inc\hw_ipc.h. I am not including that file in my source code and yet it compiles without errors.
Include File browser shows no include files for my source. But mouse hovering over IPC_CTOMIPCSTS_IPC1 and pressing F3 to Open Declaration finds and opens the hw_ipc.h file every time.
How does CCS know where to find a #define when the file it's located within is NOT included? It seems like any other time I would get some warning or error from the tools.
Thank you and best regards,
Steve C.
